- Add the
JsonTypeConverter2
mixin. It behaves similar to the existing json type converters, but can use a different SQL and JSON type. - Add
isInValues
andisNotInValues
methods to columns with type converters. They can be used to compare the column against a list of Dart expressions that will be mapped through a type converter. - Add
TableStatements.insertAll
to atomically insert multiple rows. - Add
singleClientMode
toremote()
andDriftIsolate
connections to make the common case with one client more efficient. - Fix a concurrency issue around transactions.
- Add
NativeDatabase.createInBackground
as a drop-in replacement forNativeDatabase()
. It creates a drift isolate behind the scenes, avoiding all of the boilerplate usually involved with drift isolates. - Experimental: Add a modular generation mode in which drift will generate multiple smaller files instead of one very large one with all tables and generated queries.