Tags: LucasHBG/drift
Tags
- Fix `TableStatements.insertAll` to only apply a database-specific p… …ragma for SQLite databases. - Don't attempt to roll-back transactions that failed to begin. - Fix unhandled exception when cancelling transactions. - Fix deadlock when drift databases are used in a `fake_async` Zone and then closed outside that zone.
- Generate typed reference-resolving queries through the manager API … …when modular code-generation is enabled. Previously, this feature was only enabled for monolithic generation modes.
- Allow providing a custom temporary directory. - Allow providing a custom database directory, making it easier to swap out the default `getApplicationDocumentsDirectory()`.
- Allow building compound select statements in Dart. - Support `NULLS FIRST` and `NULLS LAST` in manager API.
- Fix custom companion names on `@DataClassName` not being recognized. - Improve schema exports to resolve default values instead of embedding their source. - Update dependencies to support latest `dart_style` version. - Fix generating dialect-specific code when only a single dialect (that isn't `sqlite3`) is enabled.
- Fix generating Dart expressions without an inferred type.
- Fix generated SQL for `insertFromSelect` statements with upserts. - Fix `alterTable` for databases where `legacy_alter_table` is not writable. - Allow `package:drift/web.dart` to be imported into Dart apps compiled with dart2wasm.
- Add support for the `dbstat` module. - Prioritize null propagation in type resolver, leading to more accurate analysis on which columns are nullable.
- Add `sqliteAny()` method to tables to declare `ANY` columns. - Add missing parentheses around adjacent expressions of the same precedence. - Fix creating tables that are both `STRICT` and `WITHOUT ROWID`. - WASM: Report worker failures to make them easier to diagnose. - Allow closing stream queries synchronously, making drift easier to use in widget tests.
PreviousNext