Tags: LucasHBG/drift
Tags
- Fix infinite loop in isolate server lookups when using `shareAcross… …Isolates` across hot restarts.
- CLI options dealing with schemas now support views defined in Dart ([… …simolus3#3285](simolus3#3285)). - Pass language version to dart formatter when generating code. - Deprecate `package:drift_dev/api/migrations.dart` in favor of `package:drift_dev/api/migrations_native.dart`. - Support [runtime schema verification](https://drift.simonbinder.eu/migrations/tests/#verifying-a-database-schema-at-runtime) on the web. - Fix generated code missing question marks for nullable types in some instances. - Add (opt-in) `row_class_constructor_all_required` builder option. - Support the `dbstat` table in drift-file queries when enabling the `dbstat` module. - Fix `make-migrations` using invalid import URIs in generated test on Windows.
- Fix test template generated by `make-migrations` to not assume the … …name of the database class.
- Fix false-positive lint for a parameter count mismatch on `bm25()`. - Fix type interference around `fts5` function calls.
- Fix generated code missing question marks for nullable types in som… …e instances.
0.39.1 - Improve recovery in parser when encountering syntax errors.
2.21.0 - To infer whether serialization is required for inter-isolate communication, drift now sends a test message instead serializing by default. - The manager API now ignores references whose target column is a foreign key itself. - The DevTools extension can now clear drift databases. - `View.from` is now declared to return a `JoinedSelectStatement`, the type it returns at runtime.
0.2.1 - Enable serialization between background isolates where necessary.
2.21.0 - Fix Dart-defined `check` constraints not being considered in exported schemas. - Columns can now be defined with `late final` fields. Defining columns with getters `=>` is still supported too. ```dart class MyTable extends Table { // Before: IntColumn get id => integer().autoIncrement()(); // After: late final id = integer().nullable()(); } ``` - Make `build.yaml` definitions pass `build_runner doctor`. - Fix `generate_manager` option not consistently being applied to modular builds. - Add the `make-migrations` command which combines the existing schema commands into a single tool.
drift 2.20.0 - Fix a deadlock when using nested transactions concurrently with a remote isolate or web worker. This issue has been introduced in version 2.20.0.