brick_sqlite_generators 4.1.0
brick_sqlite_generators: ^4.1.0 copied to clipboard
Code generation library for the SQLite providers, models, and adapters in Brick
4.1.0 #
- Support
analyzer>=8.0.0 <10.0.0 - Support
build>=3.0.0 <5.0.0 - Support
source_gen>=3.0.0 <5.0.0
4.0.1 #
- Fix:
@Sqlite(enumAsString:)generates a varchar column instead of an integer
4.0.0 #
- Dart minimum SDK is updated to
3.4.0 - All dependency restrictions are updated to include the minimum released version.
- Update
analyzerconstraint to>=6.11.0 <7.0.0
3.3.1 #
- Fix: nullable maps are not cast to a default value on serialization (#531)
3.3.0 #
- Upgrade
brick_coreto1.3.0 - Update analysis to modern lints
3.2.2 #
- Revert
.getDisplayString()change due to Flutter 3.22 being restricted to analyzer <6.4.1.metais pinned to1.12in this version of Flutter, andanalyzer >=6.5.0, where the change was made, requiresmeta >= 1.15. This change will eventually be re-reverted.
3.2.1 #
- Use
SharedChecker.withoutNullabilityinstead of stripping null suffixes manually - Standardize
_finalTypeForFieldtoSharedChecker#withoutNullResultType - (test) remove analysis options override for non-standard library prefixes
3.2.0 #
- Update
analyzerconstraints to>=6.0.0 <7.0.0 - Format CHANGELOG.md
3.1.0 #
- Apply standardized lints
- Upgrade minimum Dart to 2.18
- Add
SqliteSerialize#uniqueValueForFieldfor advanced control of unique field genertion
3.0.2 #
- Fix discovery path for injecting new migration
partinto schema from legacybrick_sqlite_abstracttobrick_sqlite/db
3.0.1 #
- Support Dart 3
3.0.0 #
- Replace
brick_sqlite_abstract/db.dartwithbrick_sqlite/db.dart - Remove
brick_sqlite_abstractdependency - Update minimum
analyzerconstraint to5.0.0
2.4.1 #
- Update replacement RegEx for
migrations =andschema =to account for whitespace and removed type names
2.2.0 #
- If a field is annotated
@Sqlite(ignore: true)do not create a column for it.
2.1.4 #
- Remove
FallThroughErrorafter Dart beta deprecation
2.1.3 #
- Respect enum
fromSqliteconstructors andtoSqlitemethods
2.1.2 #
- Upgrade analyzer to version 4
2.1.1 #
- Return
nullfor nullable iterable fields instead of defaulting to an empty list or set
2.1.0 #
- When updating associations from a parent, remove the association in the joins table but do not delete the instance. This now applies to final fields as well. (modifies addition from #119)
- Respect declared non-nullability for Dart-primitive
Sets when serializing
2.0.3 #
- Fix serializing iterable
toJsonclasses to SQLite - Fix migration generation for iterable
toJsonclasses
2.0.2 #
- Loosen dependency restrictions to major versions
- Remove type from
MapontoJsonfields
2.0.1 #
- If
.fromJsonis defined on a field's class, the field will be recognized in the adapter and.fromJsonwill be used when deserializing. - If
#toJsonis defined on a field's class, the field will be recognized in the adapter and#toJsonwill be used when serializing. The column created to hold the field's value will be a varchar.
2.0.0 #
- Use
brick_builds newmanuallyUpsertBrickFilemethod instead ofmanuallyUpsertAppFile
2.0.0-rc.3 #
- Include
1.3.0changes
2.0.0-rc.2 #
- Use
brick_builds newmanuallyUpsertBrickFilemethod instead ofmanuallyUpsertAppFile
2.0.0-rc.1 #
- Expose
SqliteSerdesGeneratoringenerators.dart - Upgrade
analyzerdependency to3.2.0 - Update enum discovery from
ConstantReaderto utilize new Analyzer methods (index instead of string)
1.3.0 #
- Expose
SqliteSerdesGeneratoringenerators.dart - Upgrade
analyzerdependency to3.2.0 - Update enum discovery from
ConstantReaderto utilize new Analyzer methods (index instead of string)
1.2.0 #
- Supports
ignoreFrom,ignoreTo, andenumAsString
1.1.4 #
- Fix casting when deserializing enums. The analyzer does not alert for
caston a list that could contain nullable values; if the field type is non-nullable, null types must be removed before the cast. - Remove unnecessary import in
schema.g.dart
1.1.3 #
- Bump
brick_build - Explicitely override
checkerForFieldfunction in order to have SQLite maintain member field typing as it's source of truth over any constructor definitions
1.1.2 #
- Always cast when using
toListand deserializing
1.1.1+1 #
- Fix adapter when deserializing single siblings
1.1.1 #
- Update to use new
brick_buildAPI forgetAssociationMethodandrepositoryHasBeenForceCast
1.1.0+1 #
- Apply
constfor individual migrations inschema.g.dart
1.1.0 #
- Fix analyzer's nullable warning when serializing non-final iterables (#185)
- Expose
SqliteSchemaGenerator#schemaColumnfor calling super in sub classes - Prepend
constbeforeRuntimeSqliteColumnDefinition - Use
constwhen declaring migrations at the top ofschema.g.dart - Add Dart Lints
1.0.0+5 #
- Fix nullable warning when serializing non-nullable maps (#187)
1.0.0+4 #
- Fix pubspec dependencies
1.0.0+3 #
- Fix deserialization for associations, enum, and DateTime in Dart >=2.12
- Fix serialization for associations, afterSave, enum, core types, booleans, and DateTime in Dart >=2.12
1.0.0+2 #
- Remove
source_gen_testdependency
1.0.0+1 #
- Loosen
brick_buildpubspec restriction
1.0.0 #
- Null safety
0.0.1 #
- Fix sibling set serialization
- Do not create joins tables for ignored fields
- Type arguments are stripped from fields when building the
fieldsToSqliteColumnsdefinition (#31) - Fixes a bug where sets were not serialized by SQLite
- Single siblings are upserted to SQLite as they're received; previously only iterable siblings were upserted
- Fix deserializing for null sibling arrays
- Booleans are serialized as 1s or 0s
- Foreign keys are no longer serialized in a JSON array and stored as a string
- Support
columnTypefrom SQLite annotations - Reconcile changes for non-final associations (#112)