github simolus3/drift drift-1.5.0
Drift 1.5.0

latest releases: drift-2.24.0, drift_dev-2.24.0, sqlparser-0.41.0...
3 years ago
  • Add DataClassName.extending to control the superclass of generated row classes.
  • Add setup parameter to the constructors of WebDatabase too.
  • Don't write variables for expressions in CREATE VIEW statements.
  • Improve stack traces for errors on a remote isolate.
  • Add MultiExecutor.withReadPool constructor to load-balance between multiple reading executors. This can be used in a multi-isolate approach if some queries are expensive.

drift_dev also has new features:

  • Add validateDatabaseSchema extension to package:drift_dev/api/migrations.dart. It validates that the schema of a database at runtime matches what one would expect. This can be used to test the correctness of migrations at runtime without special testing code.
  • New features in sqlite 3.38 are supported in analyzed queries and drift files when changing the dialect version in the build options.

Don't miss a new drift release

NewReleases is sending notifications on new releases.