drift_dev 2.2.0
drift_dev: ^2.2.0 copied to clipboard
Dev-dependency for users of drift. Contains a the generator and development tools.
2.2.0 #
- Potentially breaking bug-fix: Fix the nullability of columns generated for Dart-defined views.
- Serialize
uniqueKeysoverrides into a database schema. - Support latest version of the
analyzerpackage.
2.1.0 #
- Analysis support
fts5tables with external content tables. - Analysis support for the
rtreemodule. - Prepare for an upcoming breaking analyzer change around how classes are mapped to elements.
2.0.2 #
- Generate public typedefs for the signatures of
scoped_dart_components, making it easier to re-use them for own methods.
2.0.1 #
- Recognize options for an applied
not_sharedbuilder when exporting schemas.
2.0.0 #
- Removes the following build options, which are always turned on now:
null_aware_type_convertersnew_sql_code_generationcompact_query_methods- Starting from this version, drift only supports generating non-nullable Dart code. You'll have to at least opt your database code into null-safety to use this and upcoming drift releases.
These changes help reduce complexity in the generator.
1.7.1 #
- Support the latest versions of the
analyzerandanalyzer_pluginpackages.
1.7.0 #
- Support for new drift 1.7 features like
int64columns. - Analysis support for upcoming sqlite 3.39 features in
.driftfiles.
1.6.0 #
- Write Dart references into schema files.
- Support new drift features from version 1.6.0, like
checkanduniquecolumn constraints in Dart tables.
1.5.2 #
- Fix crash when reading dynamic type converters.
1.5.1 #
- Support migrations from
moor_fluttertodrift_sqflitein themigratecommand.
1.5.0 #
- Add
validateDatabaseSchemaextension toapi/migrations.dart. It validates that the schema of a database at runtime matches what one would expect. - Allow cascade operators in the query for Dart-defined views.
1.4.0 #
- Generator support for the
LIST()feature introduced in drift 1.4. - Fix imported views in
.driftfiles not being available in all cases.
1.3.0 #
- Support
driftversion1.3.x.
1.2.1 #
- Support the latest
analyzerandanalyzer_pluginpackages.
1.2.0 #
- Generate code needed to support streams of views.
1.1.1 #
- Improve error handling around custom row classes.
1.1.0 #
- Consider
drift-named files when generating schema migrations (#1486) - Emit correct SQL code when using arrays with the
new_sql_code_generationoption in specific scenarios. - Transform
.moor.dartpart files in themigratecommand.
1.0.2 #
- Also transform
analysis_options.yamlfiles in thedrift_dev migratecommand.