brick_sqlite_generators
Code generation library for the SQLite providers, models, and adapters in Brick
4.1.0
7.8K downloads/mo
#3268 most downloaded on pub.dev
GetDutchie/brick
What this package is like to depend on
Last release 9 months ago
01 Nov 2025
Release timing varies
gaps range from 9 days to 11 months
Most releases are documented
notes for 38 of 46 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
55 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
55 releases · Feb 2021 to Nov 2025Releases
latest 55-
4.1.001 Nov 2025Release notes
Open source →- 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
- Support
-
4.0.108 Jul 2025Release notes
Open source →- Fix:
@Sqlite(enumAsString:)generates a varchar column instead of an integer
- Fix:
-
4.0.024 Feb 2025Release notes
Open source →- 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
- Dart minimum SDK is updated to
-
3.3.127 Jan 2025Release notes
Open source →- Fix: nullable maps are not cast to a default value on serialization (#531)
-
3.3.024 Dec 2024 -
3.3.0+102 Jan 2025Nothing published for this version
-
3.2.206 Sep 2024Release notes
Open source →- 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.
- Revert
-
3.2.127 Aug 2024Release notes
Open source →- Use
SharedChecker.withoutNullabilityinstead of stripping null suffixes manually - Standardize
_finalTypeForFieldtoSharedChecker#withoutNullResultType - (test) remove analysis options override for non-standard library prefixes
- Use
-
3.2.027 Aug 2024 -
3.1.027 May 2024Release notes
Open source →- Apply standardized lints
- Upgrade minimum Dart to 2.18
- Add
SqliteSerialize#uniqueValueForFieldfor advanced control of unique field genertion
-
3.0.226 Jun 2023Release notes
Open source →- Fix discovery path for injecting new migration
partinto schema from legacybrick_sqlite_abstracttobrick_sqlite/db
- Fix discovery path for injecting new migration
-
3.0.123 May 2023 -
3.0.010 Mar 2023Release notes
Open source →- Replace
brick_sqlite_abstract/db.dartwithbrick_sqlite/db.dart - Remove
brick_sqlite_abstractdependency - Update minimum
analyzerconstraint to5.0.0
- Replace
-
3.0.0-pre.505 Mar 2023 pre-releaseNothing published for this version
-
3.0.0-pre.405 Mar 2023 pre-releaseNothing published for this version
-
3.0.0-pre.303 Mar 2023 pre-releaseNothing published for this version
-
3.0.0-pre.213 Feb 2023 pre-releaseNothing published for this version
-
3.0.0-pre.113 Feb 2023 pre-releaseNothing published for this version
-
2.4.107 Feb 2023Release notes
Open source →- Update replacement RegEx for
migrations =andschema =to account for whitespace and removed type names
- Update replacement RegEx for
-
2.4.020 Jan 2023Nothing published for this version
-
2.1.404 Jan 2023 -
2.1.304 Oct 2022 -
2.1.209 Sep 2022 -
2.1.126 Aug 2022Release notes
Open source →- Return
nullfor nullable iterable fields instead of defaulting to an empty list or set
- Return
-
2.1.001 Aug 2022Release notes
Open source →- 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.1.0+109 Sep 2022Nothing published for this version
-
2.0.305 Apr 2022Release notes
Open source →- Fix serializing iterable
toJsonclasses to SQLite - Fix migration generation for iterable
toJsonclasses
- Fix serializing iterable
-
2.0.226 Feb 2022Release notes
Open source →- Loosen dependency restrictions to major versions
- Remove type from
MapontoJsonfields
-
2.0.125 Feb 2022Release notes
Open source →- 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.
- If
-
2.0.1+125 Feb 2022Nothing published for this version
-
2.0.1+225 Feb 2022Nothing published for this version
-
2.0.1+325 Feb 2022Nothing published for this version
-
2.0.1+425 Feb 2022Nothing published for this version
-
2.0.1+525 Feb 2022Nothing published for this version
-
2.0.016 Feb 2022Release notes
Open source →- Use
brick_builds newmanuallyUpsertBrickFilemethod instead ofmanuallyUpsertAppFile
- Use
-
2.0.0-rc.307 Feb 2022 pre-release -
2.0.0-rc.202 Feb 2022 pre-releaseRelease notes
Open source →- Use
brick_builds newmanuallyUpsertBrickFilemethod instead ofmanuallyUpsertAppFile
- Use
-
2.0.0-rc.102 Feb 2022 pre-releaseRelease notes
Open source →- Expose
SqliteSerdesGeneratoringenerators.dart - Upgrade
analyzerdependency to3.2.0 - Update enum discovery from
ConstantReaderto utilize new Analyzer methods (index instead of string)
- Expose
-
1.3.007 Feb 2022Release notes
Open source →- Expose
SqliteSerdesGeneratoringenerators.dart - Upgrade
analyzerdependency to3.2.0 - Update enum discovery from
ConstantReaderto utilize new Analyzer methods (index instead of string)
- Expose
-
1.2.020 Jan 2022 -
1.1.422 Dec 2021Release notes
Open source →- 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
- Fix casting when deserializing enums. The analyzer does not alert for
-
1.1.324 Sep 2021Release notes
Open source →- 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
- Bump
-
1.1.219 Sep 2021 -
1.1.110 Sep 2021Release notes
Open source →- Update to use new
brick_buildAPI forgetAssociationMethodandrepositoryHasBeenForceCast
- Update to use new
-
1.1.1+110 Sep 2021 -
1.1.009 Sep 2021Release notes
Open source →- 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.1.0+110 Sep 2021 -
1.0.005 Apr 2021 -
1.0.0+105 Apr 2021 -
1.0.0+216 Apr 2021 -
1.0.0+318 Apr 2021Release notes
Open source →- 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+418 Apr 2021 -
1.0.0+528 Jul 2021 -
1.0.0-nullsafety.021 Mar 2021 pre-releaseNothing published for this version
-
0.0.121 Feb 2021Release notes
Open source →- 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)