brick_sqlite_generators 2.0.0-rc.3 brick_sqlite_generators: ^2.0.0-rc.3 copied to clipboard
Code generation library for the SQLite providers, models, and adapters in Brick
Unreleased #
2.0.0-rc.3 #
- Include
1.3.0
changes
2.0.0-rc.2 #
- Use
brick_build
s newmanuallyUpsertBrickFile
method instead ofmanuallyUpsertAppFile
2.0.0-rc.1 #
- Expose
SqliteSerdesGenerator
ingenerators.dart
- Upgrade
analyzer
dependency to3.2.0
- Update enum discovery from
ConstantReader
to utilize new Analyzer methods (index instead of string)
1.3.0 #
- Expose
SqliteSerdesGenerator
ingenerators.dart
- Upgrade
analyzer
dependency to3.2.0
- Update enum discovery from
ConstantReader
to 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
cast
on 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
checkerForField
function 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
toList
and deserializing
1.1.1+1 #
- Fix adapter when deserializing single siblings
1.1.1 #
- Update to use new
brick_build
API forgetAssociationMethod
andrepositoryHasBeenForceCast
1.1.0+1 #
- Apply
const
for individual migrations inschema.g.dart
1.1.0 #
- Fix analyzer's nullable warning when serializing non-final iterables (#185)
- Expose
SqliteSchemaGenerator#schemaColumn
for calling super in sub classes - Prepend
const
beforeRuntimeSqliteColumnDefinition
- Use
const
when 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_test
dependency
1.0.0+1 #
- Loosen
brick_build
pubspec 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
fieldsToSqliteColumns
definition (#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
columnType
from SQLite annotations - Reconcile changes for non-final associations (#112)