NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4028 most downloaded on pub.dev
Code generation library for the SQLite providers, models, and adapters in Brick
Last release 11 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
One column per quarter.
Support analyzer >=8.0.0 <10.0.0
analyzer >=8.0.0 <10.0.0build >=3.0.0 <5.0.0source_gen >=3.0.0 <5.0.0Fix: @Sqlite(enumAsString:) generates a varchar column instead of an integer
@Sqlite(enumAsString:) generates a varchar column instead of an integerDart minimum SDK is updated to 3.4.0
3.4.0analyzer constraint to >=6.11.0 <7.0.0Fix: nullable maps are not cast to a default value on serialization
Update analysis to modern lints
brick_core to 1.3.0Nothing published for this version
Revert .getDisplayString() change due to Flutter 3.22 being restricted to analyzer <6.4.1. meta is pinned to 1.12 in this version of Flutter, and anal
.getDisplayString() change due to Flutter 3.22 being restricted to analyzer <6.4.1. meta is pinned to 1.12 in this version of Flutter, and analyzer >=6.5.0, where the change was made, requires meta >= 1.15. This change will eventually be re-reverted.Use SharedChecker.withoutNullability instead of stripping null suffixes manually
SharedChecker.withoutNullability instead of stripping null suffixes manually_finalTypeForField to SharedChecker#withoutNullResultTypeUpdate analyzer constraints to >=6.0.0 <7.0.0
analyzer constraints to >=6.0.0 <7.0.0Add SqliteSerialize#uniqueValueForField for advanced control of unique field genertion
SqliteSerialize#uniqueValueForField for advanced control of unique field genertionFix discovery path for injecting new migration part into schema from legacy brick_sqlite_abstract to brick_sqlite/db
part into schema from legacy brick_sqlite_abstract to brick_sqlite/db- Support Dart 3
Replace brick_sqlite_abstract/db.dart with brick_sqlite/db.dart
brick_sqlite_abstract/db.dart with brick_sqlite/db.dartbrick_sqlite_abstract dependencyanalyzer constraint to 5.0.0Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Update replacement RegEx for migrations = and schema = to account for whitespace and removed type names
migrations = and schema = to account for whitespace and removed type namesNothing published for this version
Remove FallThroughError after Dart beta deprecation
FallThroughError after Dart beta deprecationRespect enum fromSqlite constructors and toSqlite methods
fromSqlite constructors and toSqlite methods- Upgrade analyzer to version 4
Return null for nullable iterable fields instead of defaulting to an empty list or set
null for nullable iterable fields instead of defaulting to an empty list or setWhen updating associations from a parent, remove the association in the joins table but do not delete the instance. This now applies to final fields a
Sets when serializingNothing published for this version
Fix serializing iterable toJson classes to SQLite
toJson classes to SQLitetoJson classesLoosen dependency restrictions to major versions
Map on toJson fieldsIf .fromJson is defined on a field's class, the field will be recognized in the adapter and .fromJson will be used when deserializing.
.fromJson is defined on a field's class, the field will be recognized in the adapter and .fromJson will be used when deserializing.#toJson is defined on a field's class, the field will be recognized in the adapter and #toJson will be used when serializing. The column created to hold the field's value will be a varchar.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Use brick_builds new manuallyUpsertBrickFile method instead of manuallyUpsertAppFile
brick_builds new manuallyUpsertBrickFile method instead of manuallyUpsertAppFile- Include 1.3.0 changes
1.3.0 changesUse brick_builds new manuallyUpsertBrickFile method instead of manuallyUpsertAppFile
brick_builds new manuallyUpsertBrickFile method instead of manuallyUpsertAppFileExpose SqliteSerdesGenerator in generators.dart
SqliteSerdesGenerator in generators.dartanalyzer dependency to 3.2.0ConstantReader to utilize new Analyzer methods (index instead of string)Expose SqliteSerdesGenerator in generators.dart
SqliteSerdesGenerator in generators.dartanalyzer dependency to 3.2.0ConstantReader to utilize new Analyzer methods (index instead of string)Supports ignoreFrom, ignoreTo, and enumAsString
ignoreFrom, ignoreTo, and enumAsStringFix 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-null
cast on a list that could contain nullable values; if the field type is non-nullable, null types must be removed before the cast.schema.g.dartExplicitely override checkerForField function in order to have SQLite maintain member field typing as it's source of truth over any constructor defini
brick_buildcheckerForField function in order to have SQLite maintain member field typing as it's source of truth over any constructor definitionsAlways cast when using toList and deserializing
toList and deserializingUpdate to use new brick_build API for getAssociationMethod and repositoryHasBeenForceCast
brick_build API for getAssociationMethod and repositoryHasBeenForceCastFix adapter when deserializing single siblings
Fix analyzer's nullable warning when serializing non-final iterables
SqliteSchemaGenerator#schemaColumn for calling super in sub classesconst before RuntimeSqliteColumnDefinitionconst when declaring migrations at the top of schema.g.dartApply const for individual migrations in schema.g.dart
const for individual migrations in schema.g.dart- Null safety
Loosen brick_build pubspec restriction
brick_build pubspec restrictionRemove source_gen_test dependency
source_gen_test dependencyFix deserialization for associations, enum, and DateTime in Dart >=2.12
- Fix pubspec dependencies
Fix nullable warning when serializing non-nullable maps
Nothing published for this version
Do not create joins tables for ignored fields
fieldsToSqliteColumns definition (#31)columnType from SQLite annotationsYour coding agent can read these notes before it upgrades. Set up the MCP server →