platform/angel_orm_generator/CHANGELOG.md

89 lines
2.6 KiB
Markdown
Raw Normal View History

2019-10-13 00:48:07 +00:00
# 2.1.0-beta.2
* Support for custom SQL expressions.
2019-10-09 19:39:25 +00:00
# 2.1.0-beta.1
* `OrmBuildContext` caching is now local to a `Builder`, so `watch`
*should* finally always run when required. Should resolve
[#85](https://github.com/angel-dart/orm/issues/85).
2019-10-09 18:10:02 +00:00
# 2.1.0-beta
2019-10-09 16:06:40 +00:00
* Relationships have always generated subqueries; now these subqueries are
available as `Query` objects on generated classes.
* Support explicitly-defined join types for relations.
2019-07-04 21:08:20 +00:00
# 2.0.5
* Remove `ShimFieldImpl` check, which broke relations.
2019-07-04 21:52:44 +00:00
* Fix bug where primary key type would not be emitted in migrations.
* Fix `ManyToMany` ignoring primary key types.
2019-07-04 21:08:20 +00:00
2019-04-30 15:21:05 +00:00
# 2.0.4
* Fix `reviveColumn` and element finding to properly detect all annotations now.
2019-04-25 22:48:03 +00:00
# 2.0.3
* Remove `targets` in `build.yaml`.
2019-04-23 23:24:58 +00:00
# 2.0.2
* Change `build_config` range to `">=0.3.0 <0.5.0"`.
2019-04-20 21:30:48 +00:00
# 2.0.1
* Gracefully handle `null` in enum fields.
2019-04-20 22:01:42 +00:00
* Add `take` to wherever `skip` is used.
2019-04-20 21:30:48 +00:00
2019-04-18 15:24:24 +00:00
# 2.0.0+2
* Widen `analyzer` dependency range.
2019-04-17 01:33:33 +00:00
# 2.0.0+1
* Restore `build.yaml`, which at some point, got deleted.
2019-04-08 19:02:27 +00:00
# 2.0.0
2019-04-08 18:33:15 +00:00
* `parse` -> `tryParse` where used.
2019-04-03 09:57:27 +00:00
# 2.0.0-dev.7
* Handle `@ManyToMany`.
* Handle cases where the class is not a `Model`.
* Stop assuming things have `id`, etc.
* Resolve a bug where the `indexType` of `@Column` annotations. would not be found.
2019-04-04 20:35:40 +00:00
* Add `cascade: true` to drops for hasOne/hasMany/ManyToMany migrations.
2019-04-04 20:41:27 +00:00
* Support enum default values in migrations.
2019-04-03 09:57:27 +00:00
2019-02-08 03:38:45 +00:00
# 2.0.0-dev.6
* Fix bug where an extra field would be inserted into joins and botch the result.
2019-02-08 03:38:56 +00:00
* Narrow analyzer dependency.
2019-02-08 03:38:45 +00:00
2019-01-27 04:14:20 +00:00
# 2.0.0-dev.5
* Implement cast-based `double` support.
* Finish `ListSqlExpressionBuilder`.
2019-01-24 17:20:34 +00:00
# 2.0.0-dev.4
* List generation support.
2019-01-23 00:47:53 +00:00
# 2.0.0-dev.3
* Add JSON/JSONB support for Maps.
2018-12-31 12:22:05 +00:00
# 2.0.0-dev.2
* Changes to work with `package:angel_orm@2.0.0-dev.15`.
2018-12-09 17:44:16 +00:00
# 2.0.0-dev.1
* Generate migration files.
2018-12-08 23:15:36 +00:00
# 2.0.0-dev
* Dart 2 updates, and more.
2017-12-08 17:48:19 +00:00
# 1.0.0-alpha+6
* `DateTime` is now `CAST` on insertion and update operations.
# 1.0.0-alpha+3
Implemented `@hasOne`, with tests. Still missing `@hasMany`.
`belongsToMany` will likely be scrapped.
2017-07-15 15:11:57 +00:00
# 1.0.0-alpha+2
* Added support for `belongsTo` relationships. Still missing `hasOne`, `hasMany`, `belongsToMany`.
2017-07-14 23:03:39 +00:00
# 1.0.0-alpha+1
* Closed #12. `insertX` and `updateX` now use `rc.camelCase`, instead of `rc.snakeCase`.
* Closed #13. Added `limit` and `offset` properties to `XQuery`.
* Closed #14. Refined the `or` method (it now takes an `XQueryWhere`), and removed `and` and `not`.
* Closed #16. Added `sortAscending` and `sortDescending` to `XQuery`.
* Closed #17. `delete` now uses `toSql` from `XQuery`.
2019-04-18 15:24:24 +00:00
* Closed #18. `XQuery` now supports `union` and `unionAll`.