Repository navigation
Drift 2.22.0
·
714 commits
to develop
since this release
Core drift package:
- Add
sqliteAny()method to tables to declareANYcolumns. - Add missing parentheses around adjacent expressions of the same precedence.
- Fix creating tables that are both
STRICTandWITHOUT ROWID. - WASM: Report worker failures to make them easier to diagnose.
- Allow closing stream queries synchronously, making drift easier to use in widget tests.
Generator improvements
- Add support for the
dbstatmodule. - Prioritize null propagation in type resolver, leading to more accurate analysis on which columns are nullable.
- CLI options dealing with schemas now support views defined in Dart (#3285).
- Pass language version to dart formatter when generating code.
- Deprecate
package:drift_dev/api/migrations.dartin favor ofpackage:drift_dev/api/migrations_native.dart. - Support runtime schema verification on the web.
- Fix generated code missing question marks for nullable types in some instances.
- Add (opt-in)
row_class_constructor_all_requiredbuilder option. - Support the
dbstattable in drift-file queries when enabling thedbstatmodule. - Fix
make-migrationsusing invalid import URIs in generated test on Windows.
drift_flutter 0.2.2
- Fix infinite loop in isolate server lookups when using
shareAcrossIsolates
across hot restarts.