2022-11-28 03:09:36 -08:00
|
|
|
## 2.4.0-dev
|
2022-11-28 02:59:00 -08:00
|
|
|
|
|
|
|
- Add the support for `textEnum`.
|
2022-11-27 08:05:16 -08:00
|
|
|
## 2.3.0
|
|
|
|
|
|
|
|
- Support drift 2.3.x
|
|
|
|
- Re-implement drift's internal analyzer to make the build process more efficient.
|
|
|
|
- Add an optional, modular build mode in which drift generates code for each
|
|
|
|
file declaring tables instead of emitting a large file just for the entrypoint.
|
2022-11-28 02:59:00 -08:00
|
|
|
|
2022-10-06 13:56:25 -07:00
|
|
|
## 2.2.0+1
|
2022-09-08 13:54:43 -07:00
|
|
|
|
2022-09-27 12:30:12 -07:00
|
|
|
- __Potentially breaking bug-fix__: Fix the nullability of columns generated for
|
|
|
|
Dart-defined views.
|
|
|
|
- Serialize `uniqueKeys` overrides into a database schema.
|
|
|
|
- Support latest version of the `analyzer` package.
|
2022-09-08 13:54:43 -07:00
|
|
|
|
2022-08-29 13:27:35 -07:00
|
|
|
## 2.1.0
|
|
|
|
|
|
|
|
- Analysis support `fts5` tables with external content tables.
|
|
|
|
- Analysis support for the `rtree` module.
|
|
|
|
- Prepare for an upcoming breaking analyzer change around how classes are mapped
|
|
|
|
to elements.
|
|
|
|
|
2022-08-21 04:47:00 -07:00
|
|
|
## 2.0.2
|
|
|
|
|
|
|
|
- Generate public typedefs for the signatures of `scoped_dart_components`,
|
|
|
|
making it easier to re-use them for own methods.
|
|
|
|
|
2022-08-16 07:05:08 -07:00
|
|
|
## 2.0.1
|
|
|
|
|
2022-08-16 08:43:23 -07:00
|
|
|
- Recognize options for an applied `not_shared` builder when exporting schemas.
|
2022-08-16 07:05:08 -07:00
|
|
|
|
2022-08-13 13:11:20 -07:00
|
|
|
## 2.0.0
|
2022-06-22 14:56:15 -07:00
|
|
|
|
2022-07-03 12:53:17 -07:00
|
|
|
- Removes the following build options, which are always turned on now:
|
|
|
|
- `null_aware_type_converters`
|
|
|
|
- `new_sql_code_generation`
|
2022-09-05 04:54:47 -07:00
|
|
|
- `compact_query_methods`
|
2022-07-01 12:34:02 -07:00
|
|
|
- Starting from this version, drift only supports generating non-nullable Dart code.
|
|
|
|
You'll have to at least opt your database code into null-safety to use this and
|
|
|
|
upcoming drift releases.
|
|
|
|
|
|
|
|
These changes help reduce complexity in the generator.
|
2022-06-22 14:56:15 -07:00
|
|
|
|
2022-08-09 14:17:59 -07:00
|
|
|
## 1.7.1
|
|
|
|
|
|
|
|
- Support the latest versions of the `analyzer` and `analyzer_plugin` packages.
|
|
|
|
|
2022-06-07 05:39:45 -07:00
|
|
|
## 1.7.0
|
|
|
|
|
|
|
|
- Support for new drift 1.7 features like `int64` columns.
|
|
|
|
- Analysis support for upcoming sqlite 3.39 features in `.drift` files.
|
|
|
|
|
2022-05-04 12:20:08 -07:00
|
|
|
## 1.6.0
|
2022-04-04 13:32:07 -07:00
|
|
|
|
|
|
|
- Write Dart references into schema files.
|
2022-05-04 12:20:08 -07:00
|
|
|
- Support new drift features from version 1.6.0, like `check` and `unique`
|
|
|
|
column constraints in Dart tables.
|
2022-04-04 13:32:07 -07:00
|
|
|
|
2022-03-15 11:41:45 -07:00
|
|
|
## 1.5.2
|
|
|
|
|
|
|
|
- Fix crash when reading dynamic type converters.
|
|
|
|
|
2022-03-14 13:27:36 -07:00
|
|
|
## 1.5.1
|
|
|
|
|
|
|
|
- Support migrations from `moor_flutter` to `drift_sqflite` in the `migrate`
|
|
|
|
command.
|
|
|
|
|
2022-03-13 07:54:45 -07:00
|
|
|
## 1.5.0
|
2022-03-01 09:10:19 -08:00
|
|
|
|
|
|
|
- Add `validateDatabaseSchema` extension to `api/migrations.dart`. It validates
|
|
|
|
that the schema of a database at runtime matches what one would expect.
|
2022-03-13 07:54:45 -07:00
|
|
|
- Allow cascade operators in the query for Dart-defined views.
|
2022-03-01 09:10:19 -08:00
|
|
|
|
2022-02-09 07:47:22 -08:00
|
|
|
## 1.4.0
|
2022-01-19 11:53:25 -08:00
|
|
|
|
2022-02-09 07:47:22 -08:00
|
|
|
- Generator support for the `LIST()` feature introduced in drift 1.4.
|
2022-01-19 11:53:25 -08:00
|
|
|
- Fix imported views in `.drift` files not being available in all cases.
|
|
|
|
|
2022-01-14 10:19:14 -08:00
|
|
|
## 1.3.0
|
|
|
|
|
|
|
|
- Support `drift` version `1.3.x`.
|
|
|
|
|
2022-01-10 07:26:50 -08:00
|
|
|
## 1.2.1
|
|
|
|
|
|
|
|
- Support the latest `analyzer` and `analyzer_plugin` packages.
|
|
|
|
|
2021-12-30 08:28:56 -08:00
|
|
|
## 1.2.0
|
|
|
|
|
|
|
|
- Generate code needed to support streams of views.
|
|
|
|
|
2021-12-23 08:38:49 -08:00
|
|
|
## 1.1.1
|
2021-12-19 10:45:20 -08:00
|
|
|
|
|
|
|
- Improve error handling around custom row classes.
|
|
|
|
|
2021-12-11 04:17:37 -08:00
|
|
|
## 1.1.0
|
2021-10-14 12:44:44 -07:00
|
|
|
|
2022-03-13 07:52:15 -07:00
|
|
|
- Consider `drift`-named files when generating schema migrations ([#1486](https://github.com/simolus3/drift/issues/1486))
|
2021-10-19 09:15:53 -07:00
|
|
|
- Emit correct SQL code when using arrays with the `new_sql_code_generation`
|
|
|
|
option in specific scenarios.
|
2021-11-24 14:11:59 -08:00
|
|
|
- Transform `.moor.dart` part files in the `migrate` command.
|
2021-10-14 12:44:44 -07:00
|
|
|
|
2021-10-13 13:08:38 -07:00
|
|
|
## 1.0.2
|
2021-10-12 08:36:10 -07:00
|
|
|
|
|
|
|
- Also transform `analysis_options.yaml` files in the `drift_dev migrate` command.
|
|
|
|
|
2021-10-12 05:26:53 -07:00
|
|
|
## 1.0.1
|
2021-10-11 06:55:01 -07:00
|
|
|
|
|
|
|
This is the initial release of the `drift_dev` package (formally known as `moor_generator`).
|
|
|
|
For an overview of old `moor` releases, see its [changelog](https://pub.dev/packages/moor_generator/changelog).
|