drift 1.1.1
drift: ^1.1.1 copied to clipboard
Drift is a reactive library to store relational data in Dart and Flutter applications.
1.1.1 #
- Rollback transactions when a commit fails.
- Revert a change from 1.1.0 to stop serializing messages over isolates.
Instead, please set the
serializeparameter tofalseon theDriftIsolatemethods.
1.1.0 #
- Add the
referencesmethod toBuildColumnto reference a column declared in another Dart table. - Add the
generateInsertableoption to@UseRowClass. When enabled, the generator will emit an extension to use the row class as anInsertable. Thanks to @westito. - Allow the generator to emit correct SQL code when using arrays with the
new_sql_code_generationoption in specific scenarios. - Add support for strict tables in
.driftfiles. - Add the
generatedAsmethod to declare generated columns for Dart tables. - Add
OrderingTerm.randomto fetch rows in a random order. - Improved support for pausing query stream subscriptions. Instead of buffering events, query streams will suspend fetching data if all listeners are paused.
- Drift isolates no longer serialize messages into a primitive format. This will reduce the overhead of using isolates with Drift.



