PackageTrack
Sign in Get early access

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 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 55
  1. 4.1.0 01 Nov 2025
    Release notes
    • 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
    Open source →
  2. 4.0.1 08 Jul 2025
    Release notes
    • Fix: @Sqlite(enumAsString:) generates a varchar column instead of an integer
    Open source →
  3. 4.0.0 24 Feb 2025
    Release notes
    • Dart minimum SDK is updated to 3.4.0
    • All dependency restrictions are updated to include the minimum released version.
    • Update analyzer constraint to >=6.11.0 <7.0.0
    Open source →
  4. 3.3.1 27 Jan 2025
    Release notes
    • Fix: nullable maps are not cast to a default value on serialization (#531)
    Open source →
  5. 3.3.0 24 Dec 2024
    Release notes
    • Upgrade brick_core to 1.3.0
    • Update analysis to modern lints
    Open source →
  6. 3.3.0+1 02 Jan 2025

    Nothing published for this version

  7. 3.2.2 06 Sep 2024
    Release notes
    • 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 analyzer >=6.5.0, where the change was made, requires meta >= 1.15. This change will eventually be re-reverted.
    Open source →
  8. 3.2.1 27 Aug 2024
    Release notes
    • Use SharedChecker.withoutNullability instead of stripping null suffixes manually
    • Standardize _finalTypeForField to SharedChecker#withoutNullResultType
    • (test) remove analysis options override for non-standard library prefixes
    Open source →
  9. 3.2.0 27 Aug 2024
    Release notes
    • Update analyzer constraints to >=6.0.0 <7.0.0
    • Format CHANGELOG.md
    Open source →
  10. 3.1.0 27 May 2024
    Release notes
    • Apply standardized lints
    • Upgrade minimum Dart to 2.18
    • Add SqliteSerialize#uniqueValueForField for advanced control of unique field genertion
    Open source →
  11. 3.0.2 26 Jun 2023
    Release notes
    • Fix discovery path for injecting new migration part into schema from legacy brick_sqlite_abstract to brick_sqlite/db
    Open source →
  12. 3.0.1 23 May 2023
    Release notes
    • Support Dart 3
    Open source →
  13. 3.0.0 10 Mar 2023
    Release notes
    • Replace brick_sqlite_abstract/db.dart with brick_sqlite/db.dart
    • Remove brick_sqlite_abstract dependency
    • Update minimum analyzer constraint to 5.0.0
    Open source →
  14. 3.0.0-pre.5 05 Mar 2023 pre-release

    Nothing published for this version

  15. 3.0.0-pre.4 05 Mar 2023 pre-release

    Nothing published for this version

  16. 3.0.0-pre.3 03 Mar 2023 pre-release

    Nothing published for this version

  17. 3.0.0-pre.2 13 Feb 2023 pre-release

    Nothing published for this version

  18. 3.0.0-pre.1 13 Feb 2023 pre-release

    Nothing published for this version

  19. 2.4.1 07 Feb 2023
    Release notes
    • Update replacement RegEx for migrations = and schema = to account for whitespace and removed type names
    Open source →
  20. 2.4.0 20 Jan 2023

    Nothing published for this version

  21. 2.1.4 04 Jan 2023
    Release notes
    • Remove FallThroughError after Dart beta deprecation
    Open source →
  22. 2.1.3 04 Oct 2022
    Release notes
    • Respect enum fromSqlite constructors and toSqlite methods
    Open source →
  23. 2.1.2 09 Sep 2022
    Release notes
    • Upgrade analyzer to version 4
    Open source →
  24. 2.1.1 26 Aug 2022
    Release notes
    • Return null for nullable iterable fields instead of defaulting to an empty list or set
    Open source →
  25. 2.1.0 01 Aug 2022
    Release notes
    • 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
    Open source →
  26. 2.1.0+1 09 Sep 2022

    Nothing published for this version

  27. 2.0.3 05 Apr 2022
    Release notes
    • Fix serializing iterable toJson classes to SQLite
    • Fix migration generation for iterable toJson classes
    Open source →
  28. 2.0.2 26 Feb 2022
    Release notes
    • Loosen dependency restrictions to major versions
    • Remove type from Map on toJson fields
    Open source →
  29. 2.0.1 25 Feb 2022
    Release notes
    • If .fromJson is defined on a field's class, the field will be recognized in the adapter and .fromJson will be used when deserializing.
    • If #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.
    Open source →
  30. 2.0.1+1 25 Feb 2022

    Nothing published for this version

  31. 2.0.1+2 25 Feb 2022

    Nothing published for this version

  32. 2.0.1+3 25 Feb 2022

    Nothing published for this version

  33. 2.0.1+4 25 Feb 2022

    Nothing published for this version

  34. 2.0.1+5 25 Feb 2022

    Nothing published for this version

  35. 2.0.0 16 Feb 2022
    Release notes
    • Use brick_builds new manuallyUpsertBrickFile method instead of manuallyUpsertAppFile
    Open source →
  36. 2.0.0-rc.3 07 Feb 2022 pre-release
    Release notes
    • Include 1.3.0 changes
    Open source →
  37. 2.0.0-rc.2 02 Feb 2022 pre-release
    Release notes
    • Use brick_builds new manuallyUpsertBrickFile method instead of manuallyUpsertAppFile
    Open source →
  38. 2.0.0-rc.1 02 Feb 2022 pre-release
    Release notes
    • Expose SqliteSerdesGenerator in generators.dart
    • Upgrade analyzer dependency to 3.2.0
    • Update enum discovery from ConstantReader to utilize new Analyzer methods (index instead of string)
    Open source →
  39. 1.3.0 07 Feb 2022
    Release notes
    • Expose SqliteSerdesGenerator in generators.dart
    • Upgrade analyzer dependency to 3.2.0
    • Update enum discovery from ConstantReader to utilize new Analyzer methods (index instead of string)
    Open source →
  40. 1.2.0 20 Jan 2022
    Release notes
    • Supports ignoreFrom, ignoreTo, and enumAsString
    Open source →
  41. 1.1.4 22 Dec 2021
    Release notes
    • 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
    Open source →
  42. 1.1.3 24 Sep 2021
    Release notes
    • 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
    Open source →
  43. 1.1.2 19 Sep 2021
    Release notes
    • Always cast when using toList and deserializing
    Open source →
  44. 1.1.1 10 Sep 2021
    Release notes
    • Update to use new brick_build API for getAssociationMethod and repositoryHasBeenForceCast
    Open source →
  45. 1.1.1+1 10 Sep 2021
    Release notes
    • Fix adapter when deserializing single siblings
    Open source →
  46. 1.1.0 09 Sep 2021
    Release notes
    • Fix analyzer's nullable warning when serializing non-final iterables (#185)
    • Expose SqliteSchemaGenerator#schemaColumn for calling super in sub classes
    • Prepend const before RuntimeSqliteColumnDefinition
    • Use const when declaring migrations at the top of schema.g.dart
    • Add Dart Lints
    Open source →
  47. 1.1.0+1 10 Sep 2021
    Release notes
    • Apply const for individual migrations in schema.g.dart
    Open source →
  48. 1.0.0 05 Apr 2021
    Release notes
    • Null safety
    Open source →
  49. 1.0.0+1 05 Apr 2021
    Release notes
    • Loosen brick_build pubspec restriction
    Open source →
  50. 1.0.0+2 16 Apr 2021
    Release notes
    • Remove source_gen_test dependency
    Open source →
  51. 1.0.0+3 18 Apr 2021
    Release notes
    • 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
    Open source →
  52. 1.0.0+4 18 Apr 2021
    Release notes
    • Fix pubspec dependencies
    Open source →
  53. 1.0.0+5 28 Jul 2021
    Release notes
    • Fix nullable warning when serializing non-nullable maps (#187)
    Open source →
  54. 1.0.0-nullsafety.0 21 Mar 2021 pre-release

    Nothing published for this version

  55. 0.0.1 21 Feb 2021
    Release notes
    • 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)
    Open source →

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