PackageTrack
Sign in Get early access

brick_core

Interfaces and shared helpers for implementing models, adapters, providers, and repositories in Brick, an intuitive way to work with persistent data in Dart.

2.1.0 8.5K downloads/mo #3135 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 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

1 release in the last 12 months

see the full history below

Release timeline

21 releases · Jan 2020 to Nov 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 21
  1. 2.1.0 01 Nov 2025
    Release notes
    • Add support for #isIn and Compare.inIterable to Where queries (#602)
    • Add additional API documentation discouraging SingleProviderRepository usage in practical implementations.
    Open source →
  2. 2.0.0 18 Feb 2025
    Release notes
    • BREAKING CHANGE Query(providerArgs:) is no longer accepted. See 1.3.0 for migration steps.
    • BREAKING CHANGE Query#copyWith no longer accepts providerArgs. See 1.3.0 for migration steps.
    • BREAKING CHANGE FieldSerializable#nullable is removed. See 1.4.0 for migration steps.
    • Dart minimum SDK is updated to 3.4.0
    Open source →
  3. 1.4.0 02 Jan 2025
    Release notes
    • DEPRECATION remove FieldSerializable#nullable. Builders should evaluate the nullable suffix of the field instead
    Open source →
  4. 1.3.1 27 Dec 2024
    Release notes
    • constantize Where.exactly and OrderBy.{desc|asc}
    • Add deprecation annotation to Query#copyWith#providerArgs
    Open source →
  5. 1.3.0 24 Dec 2024
    Release notes
    • DEPRECATION Query(providerArgs: {'limit':}) is now Query(limit:) #510
    • DEPRECATION Query(providerArgs: {'offset':}) is now Query(offset:) #510
    • DEPRECATION Query(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)]. #510
    • DEPRECATION providerArgs will be removed in the next major release #510
    • OrderBy will support association ordering and multiple values
    • Query is constructed with const
    • Query#offset no longer requires companion limit parameter
    Open source →
  6. 1.2.1 27 Aug 2024
    Release notes
    • Add FieldRename to FieldSerializable
    Open source →
  7. 1.2.0 27 May 2024
    Release notes
    • Apply standardized lints
    • Upgrade minimum Dart to 2.18
    Open source →
  8. 1.1.2 23 May 2023
    Release notes
    • Support Dart 3
    • Loosen dependency restrictions to major versions
    Open source →
  9. 1.1.1 27 Jan 2022
    Release notes
    • Add subscribe to QueryAction
    Open source →
  10. 1.1.0 20 Jan 2022
    Release notes
    • Add Dart lints
    • Add enumAsString
    Open source →
  11. 1.0.0 15 Mar 2021
    Release notes
    • Null safety
    • BREAKING CHANGE: because required is now a first-class Dart keyword, required in WherePhrase, WhereCondition, And, Or, and Where has been renamed to isRequired.
    • Add optional method 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.
    Open source →
  12. 1.0.0+1 05 Apr 2021
    Release notes
    • Null safety cleanup and refactor
    Open source →
  13. 1.0.0-nullsafety.1 04 Mar 2021 pre-release

    Nothing published for this version

  14. 1.0.0-nullsafety.0 04 Mar 2021 pre-release

    Nothing published for this version

  15. 0.0.6 13 Jun 2020
    Release notes
    • Add a doesNotContain enum to Compare for Where queries
    Open source →
  16. 0.0.5 24 Jan 2020
    Release notes
    • Rename Query#params to Query#providerArgs, reflecting the much narrower purpose of the member
    Open source →
  17. 0.0.4 21 Jan 2020
    Release notes
    • 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.
    Open source →
  18. 0.0.3 17 Jan 2020
    Release notes
    • Add And and Or Where subclasses
    • Removes Type argument from Where
    • Adds semantic methods to Where such as isExactly and
    • BREAKING Revise Where syntax. This removes the second positional argument in favor of using it in a semantic method.
    • Adds Where.exact factory to preserve previous, short syntax
    • Move query-related files to src/query and make them accessible from a barrel file in the lib root
    Open source →
  19. 0.0.3+1 17 Jan 2020
    Release notes
    • Moves generator placeholders to FieldSerializable form OfflineFirst
    • Removes query validation that ensures all Where conditions have a non-null value
    Open source →
  20. 0.0.2 13 Jan 2020
    Release notes
    • Fix linter hints
    • Adds initialize method to ModelRepository. This is enforces a predictable, overridable method for sub classes
    Open source →
  21. 0.0.1 10 Jan 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive