NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #3507 most downloaded on pub.dev
Interfaces and shared helpers for implementing models, adapters, providers, and repositories in Brick, an intuitive way to work with persistent data in Dart.
Last release 11 months ago
01 Nov 2025
Release timing varies
gaps range from 9 days to 1.3 years
Nearly every release is documented
notes for 18 of 19 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
21 releases · first in 2020
One column per quarter.
Add support for #isIn and Compare.inIterable to Where queries
#isIn and Compare.inIterable to Where queries (#602)SingleProviderRepository usage in practical implementations.BREAKING CHANGE Query(providerArgs:) is no longer accepted. See 1.3.0 for migration steps.
Query(providerArgs:) is no longer accepted. See 1.3.0 for migration steps.Query#copyWith no longer accepts providerArgs. See 1.3.0 for migration steps.FieldSerializable#nullable is removed. See 1.4.0 for migration steps.3.4.0DEPRECATION remove FieldSerializable#nullable. Builders should evaluate the nullable suffix of the field instead
FieldSerializable#nullable. Builders should evaluate the nullable suffix of the field insteadAdd deprecation annotation to Query#copyWith#providerArgs
constantize Where.exactly and OrderBy.{desc|asc}Query#copyWith#providerArgsDEPRECATION Query(providerArgs: {'limit':}) is now Query(limit:) #510
Query(providerArgs: {'limit':}) is now Query(limit:) #510Query(providerArgs: {'offset':}) is now Query(offset:) #510Query(providerArgs: {'orderBy':}) is now Query(orderBy:). orderBy is now defined by a class that permits multiple commands. For example, 'orderBy': 'name ASC' becomes [OrderBy('name', ascending: true)]. #510providerArgs will be removed in the next major release #510OrderBy will support association ordering and multiple valuesQuery is constructed with constQuery#offset no longer requires companion limit parameterAdd FieldRename to FieldSerializable
FieldRename to FieldSerializable- Apply standardized lints - Upgrade minimum Dart to 2.18
Loosen dependency restrictions to major versions
- Add subscribe to QueryAction
subscribe to QueryAction- Add Dart lints - Add enumAsString
enumAsStringNull safety cleanup and refactor
BREAKING CHANGE: because required is now a first-class Dart keyword, required in WherePhrase, WhereCondition, And, Or, and Where has been renamed to i…
required is now a first-class Dart keyword, required in WherePhrase, WhereCondition, And, Or, and Where has been renamed to isRequired.Provider#exists. Whether a model instance is present. null is returned when existence is unknown. The model instance is not hydrated in the function output; a bool variant (e.g. List<bool>, Map<_Model, bool>) should be returned.Nothing published for this version
Nothing published for this version
Add a doesNotContain enum to Compare for Where queries
doesNotContain enum to Compare for Where queriesRename Query#params to Query#providerArgs, reflecting the much narrower purpose of the member
Query#params to Query#providerArgs, reflecting the much narrower purpose of the memberFieldSerializable#defaultValue changes from dynamic to String. As this is injected directly into the adapter, it does not need to be dynamic and shoul
FieldSerializable#defaultValue changes from dynamic to String. As this is injected directly into the adapter, it does not need to be dynamic and should better reflect its purpose.Moves generator placeholders to FieldSerializable form OfflineFirst
FieldSerializable form OfflineFirstAdd And and Or Where subclasses
And and Or Where subclassesWhereWhere such as isExactly andWhere syntax. This removes the second positional argument in favor of using it in a semantic method.Where.exact factory to preserve previous, short syntaxsrc/query and make them accessible from a barrel file in the lib rootAdds initialize method to ModelRepository. This is enforces a predictable, overridable method for sub classes
initialize method to ModelRepository. This is enforces a predictable, overridable method for sub classesNothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →