platform/angel_orm/CHANGELOG.md

131 lines
3.3 KiB
Markdown
Raw Normal View History

2019-08-17 21:46:47 +00:00
# 2.1.0
* Split the formerly 600+ line `src/query.dart` up into
separate files.
* **BREAKING**: Add a required `QueryExecutor` argument to `transaction`
callbacks.
* Make `JoinBuilder` take `to` as a `String Function()`. This will allow
ORM queries to reference their joined subqueries.
* Removed deprecated `Join`, `toSql`, `sanitizeExpression`, `isAscii`.
* Always put `ORDER BY` before `LIMIT`.
2019-08-17 21:46:47 +00:00
2019-07-04 21:31:18 +00:00
# 2.0.1
* Apply `package:pedantic` fixes.
* `@PrimaryKey()` no longer defaults to `serial`, allowing its type to be
inferenced.
2019-04-08 18:33:15 +00:00
# 2.0.0
* Add `isNull`, `isNotNull` getters to builders.
2019-04-02 23:30:42 +00:00
# 2.0.0-dev.24
* Fix a bug that caused syntax errors on `ORDER BY`.
2019-04-03 09:57:27 +00:00
* Add `pattern` to `like` on string builder. `sanitize` is optional.
2019-04-04 20:15:57 +00:00
* Add `RawSql`.
2019-04-02 23:30:42 +00:00
2019-04-02 23:06:19 +00:00
# 2.0.0-dev.23
* Add `@ManyToMany` annotation, which builds many-to-many relations.
2019-03-14 09:21:53 +00:00
# 2.0.0-dev.22
* `compileInsert` will explicitly never emit a key not belonging to the
associated query.
2019-02-13 05:00:30 +00:00
# 2.0.0-dev.21
* Add tableName to query
2019-02-08 03:38:45 +00:00
# 2.0.0-dev.20
* Join updates.
2019-01-27 04:14:20 +00:00
# 2.0.0-dev.19
* Implement cast-based `double` support.
* Finish `ListSqlExpressionBuilder`.
2019-01-24 17:20:34 +00:00
# 2.0.0-dev.18
* Add `ListSqlExpressionBuilder` (still in development).
2019-01-23 22:05:58 +00:00
# 2.0.0-dev.17
* Add `EnumSqlExpressionBuilder`.
2019-01-23 00:46:49 +00:00
# 2.0.0-dev.16
* Add `MapSqlExpressionBuilder` for JSON/JSONB support.
# 2.0.0-dev.15
* Remove `Column.defaultValue`.
* Deprecate `toSql` and `sanitizeExpression`.
* Refactor builders so that strings are passed through
2018-12-08 23:13:10 +00:00
# 2.0.0-dev.14
* Remove obsolete `@belongsToMany`.
# 2.0.0-dev.13
* Push for consistency with orm_gen @ `2.0.0-dev`.
2018-12-03 23:13:11 +00:00
# 2.0.0-dev.12
* Always apply `toSql` escapes.
# 2.0.0-dev.11
* Remove `limit(1)` except on `getOne`
# 2.0.0-dev.10
* Add `withFields` to `compile()`
2018-12-03 16:50:43 +00:00
# 2.0.0-dev.9
* Permanent preamble fix
# 2.0.0-dev.8
* Escapes
# 2.0.0-dev.7
* Update `toSql`
* Add `isTrue` and `isFalse`
2018-12-03 13:41:14 +00:00
# 2.0.0-dev.6
* Add `delete`, `insert` and `update` methods to `Query`.
2018-12-01 19:12:07 +00:00
# 2.0.0-dev.4
* Add more querying methods.
* Add preamble to `Query.compile`.
2018-12-01 18:27:42 +00:00
# 2.0.0-dev.3
* Brought back old-style query builder.
* Strong-mode updates, revised `Join`.
2018-08-24 14:17:12 +00:00
# 2.0.0-dev.2
* Renamed `ORM` to `Orm`.
2018-08-24 14:19:39 +00:00
* `Orm` now requires a database type.
2018-08-24 14:17:12 +00:00
2018-08-24 12:32:07 +00:00
# 2.0.0-dev.1
2018-08-24 12:30:38 +00:00
* Restored all old PostgreSQL-specific annotations. Rather than a smart runtime,
having a codegen capable of building ORM's for multiple databases can potentially
provide a very fast ORM for everyone.
2018-08-24 12:32:07 +00:00
# 2.0.0-dev
* Removed PostgreSQL-specific functionality, so that the ORM can ultimately
target all services.
* Created a better `Join` model.
* Created a far better `Query` model.
2018-05-04 03:57:45 +00:00
* Removed `lib/server.dart`
2017-11-23 22:38:34 +00:00
# 1.0.0-alpha+10
* Split into `angel_orm.dart` and `server.dart`. Prevents DDC failures.
2017-07-15 18:17:45 +00:00
# 1.0.0-alpha+7
* Added a `@belongsToMany` annotation class.
* Resolved [#20](https://github.com/angel-dart/orm/issues/20). The
`PostgreSQLConnectionPool` keeps track of which connections have been opened now.
2017-07-15 15:11:57 +00:00
# 1.0.0-alpha+6
* `DateTimeSqlExpressionBuilder` will no longer automatically
insert quotation marks around names.
2017-07-14 23:11:12 +00:00
# 1.0.0-alpha+5
* Corrected a typo that was causing the aforementioned test failures.
`==` becomes `=`.
# 1.0.0-alpha+4
* Added a null-check in `lib/src/query.dart#L24` to (hopefully) prevent it from
crashing on Travis.
2017-07-14 22:06:28 +00:00
# 1.0.0-alpha+3
2017-07-14 22:04:58 +00:00
* Added `isIn`, `isNotIn`, `isBetween`, `isNotBetween` to `SqlExpressionBuilder` and its
subclasses.
2019-03-14 09:21:53 +00:00
* Added a dependency on `package:meta`.