2019-11-13 12:14:38 -08:00
|
|
|
## 2.1.0
|
2019-10-11 08:43:48 -07:00
|
|
|
|
|
|
|
- Accept inheritance in table definitions (e.g. if an abstract class declared as `IntColumn get foo => integer()()`,
|
|
|
|
tables inheriting from that class will also have a `foo` column)
|
2019-10-16 12:33:13 -07:00
|
|
|
- New `use_data_class_name_for_companions` option that will make the name of the companion
|
|
|
|
based on the data class name (uses table name by default).
|
2019-10-17 12:44:20 -07:00
|
|
|
- New `use_column_name_as_json_key_when_defined_in_moor_file` option to use the column name
|
|
|
|
instead of the Dart getter name as json key for columns declared in moor files
|
2019-10-11 08:43:48 -07:00
|
|
|
|
2019-10-11 04:17:50 -07:00
|
|
|
## 2.0.1
|
2019-10-09 10:48:52 -07:00
|
|
|
|
|
|
|
- Escape `\r` characters in generated Dart literals
|
|
|
|
- Fix for [an analyzer bug on constant expressions](https://dartbug.com/38658) in generated code
|
2019-10-11 04:17:50 -07:00
|
|
|
- Small adaptions in generated code for moor version 2.0.1
|
2019-10-09 10:48:52 -07:00
|
|
|
|
2019-10-03 06:39:32 -07:00
|
|
|
## 2.0.0
|
|
|
|
- Rewritten generator with looser coupling to the build package
|
|
|
|
- Implementation of an SQL IDE as analyzer plugin
|
|
|
|
- Support `sqlparser` 0.3.0 and updated grammar for `moor` files
|
|
|
|
|
2019-08-23 13:03:49 -07:00
|
|
|
## 1.7.1
|
|
|
|
- Drop support for analyzer versions `<0.36.4`. They weren't supported in version 1.7.0 either, but
|
|
|
|
the `pubspec.yaml` did not specify this correctly.
|
2019-08-25 13:44:28 -07:00
|
|
|
- Support for moor version 1.7.1, which contains a fix for integer columns declared as primary key
|
2019-08-23 13:03:49 -07:00
|
|
|
|
2019-08-22 03:27:39 -07:00
|
|
|
## 1.7.0
|
|
|
|
- Support type converters that were introduced in moor 1.7
|
|
|
|
- Support parsing and generating code for `.moor` files (see [docs](https://moor.simonbinder.eu/docs/using-sql/custom_tables/)).
|
|
|
|
|
2019-07-20 14:10:58 -07:00
|
|
|
## 1.6.0+2
|
2019-07-12 01:52:42 -07:00
|
|
|
- Generate code to expand array variables
|
|
|
|
|
2019-07-20 14:10:58 -07:00
|
|
|
_The +1 release has no changes to 1.6.0, there were issues while uploading to pub. +2 fixes
|
|
|
|
delivers on the promise of supporting the analyze 0.37_
|
2019-07-20 14:10:58 -07:00
|
|
|
|
2019-06-30 13:16:58 -07:00
|
|
|
## 1.5.0
|
|
|
|
- Parse custom queries and write generated mapping code.
|
|
|
|
- Refactorings and minor improvements in the generator
|
|
|
|
|
|
|
|
For more details on the new features, check out changelog of the
|
|
|
|
[moor](https://pub.dev/packages/moor#-changelog-tab-) package.
|
|
|
|
|
2019-06-09 03:27:24 -07:00
|
|
|
## 1.4.0
|
|
|
|
- Added the `RealColumn`, which stores floating point values
|
|
|
|
- Better configuration for the serializer with the `JsonKey` annotation and the ability to
|
|
|
|
use a custom `ValueSerializer`
|
|
|
|
|
2019-04-14 07:47:15 -07:00
|
|
|
## 1.3.0
|
|
|
|
- Moor now supports table joins
|
|
|
|
- Added table aliases
|
|
|
|
- Default values for columns: Just use the `withDefault` method when declaring a column
|
|
|
|
- added expressions that resolve to the current date or time
|
|
|
|
- Fixed a crash that would occur if the first operation was a transaction
|
|
|
|
- Better support for custom expressions as part of a regular query
|
|
|
|
- Faster hashcode implementation in generated data classes
|
|
|
|
|
2019-03-10 11:45:32 -07:00
|
|
|
## 1.2.0
|
|
|
|
- Blob data type
|
2019-03-10 12:04:32 -07:00
|
|
|
- Generated classes now use lazy getters instead of recalculating fields on each access
|
2019-03-27 10:56:14 -07:00
|
|
|
- Custom Constraints
|
|
|
|
- Data classes can be converted from and to json
|
2019-03-10 11:45:32 -07:00
|
|
|
|
2019-03-10 04:54:50 -07:00
|
|
|
## 1.1.0
|
|
|
|
- The generated data classes now implement `toString()`
|
|
|
|
|
2019-02-03 04:56:31 -08:00
|
|
|
## 1.0.0
|
2019-08-16 07:30:41 -07:00
|
|
|
- Initial version of the Moor generator
|