PackageTrack
Sign in Get early access

typed_sql

Package for doing SQL with some type safety.

0.1.13 6.9K downloads/mo #3438 most downloaded on pub.dev google/dart-neats

What this package is like to depend on

Last release 1 months ago

07 Jul 2026

Release timing varies

gaps range from 9 days to 5 months

Nearly every release is documented

notes for 12 of 13 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

13 releases · first in 2025

8 releases in the last 12 months

see the full history below

Release timeline

13 releases · Feb 2025 to Jul 2026
2026
Release Pre-release

Releases

latest 13
  1. 0.1.13 07 Jul 2026
    Release notes
    • Support CREATE INDEX DDLs through @Index annotations.
    Open source →
    Release notes
    • Support CREATE INDEX DDLs through @Index annotations.
    Open source →
  2. 0.1.12 25 Jun 2026
    Release notes
    • Fixed code generator bug that affected onConflict clauses with non-default naming.
    Open source →
    Release notes
    • Fixed code generator bug that affected onConflict clauses with non-default naming.
    Open source →
  3. 0.1.11 18 Jun 2026
    Release notes
    • Allow nullable boolean in .where(...) clauses.
    • Allow nullable boolean in JOIN .on(...) conditions.
    • Support for combining Expr<bool?> expressions.
    • .equals / .equalsValue return Expr<bool?>, following SQL semantics.
    • Breaking change:
      • removed .notEquals and .notEqualsValue methods from nullable expressions
    Open source →
    Release notes
    • Allow nullable boolean in .where(...) clauses.
    • Allow nullable boolean in JOIN .on(...) conditions.
    • Support for combining Expr<bool?> expressions.
    • .equals / .equalsValue return Expr<bool?>, following SQL semantics.
    • Breaking change:
      • removed .notEquals and .notEqualsValue methods from nullable expressions
    Open source →
  4. 0.1.10 22 May 2026
    Release notes
    • Introduce .insertValue which automatically wraps with toExpr(), but is
      unfortunately unable to insert default value for nullable fields that
      have a default value other than NULL.
    • Introduce .insert(..).onConflict(..).update(..).where(..).returning(..)
      enabling upsert-style inserts.
    • Introduce .insertValuesMapped(..) for bulk-inserts.
    • Improve performance by using string literals for JSON path expressions in
      generated SQL.
    • Introduce @SqlOverride annotation for overriding:
      • Column type,
      • Column name,
      • Default naming convention,
      • Collation, or,
      • Default value expression.
    Open source →
    Release notes
    • Introduce .insertValue which automatically wraps with toExpr(), but is unfortunately unable to insert default value for nullable fields that have a default value other than NULL.
    • Introduce .insert(..).onConflict(..).update(..).where(..).returning(..) enabling upsert-style inserts.
    • Introduce .insertValuesMapped(..) for bulk-inserts.
    • Improve performance by using string literals for JSON path expressions in generated SQL.
    • Introduce @SqlOverride annotation for overriding:
      • Column type,
      • Column name,
      • Default naming convention,
      • Collation, or,
      • Default value expression.
    Open source →
  5. 0.1.9 10 Apr 2026
    Release notes
    • Fix constraint name generation for FOREIGN KEY DDLs.
    Open source →
    Release notes
    • Fix constraint name generation for FOREIGN KEY DDLs.
    Open source →
  6. 0.1.8 10 Apr 2026
    Release notes
    • Set PRAGMA foreign_keys = ON; on all sqlite connections.
    • Use classes in generated files.
    • Add constraint name to FOREIGN KEY DDLs.
    • Support ON DELETE and ON UPDATE actions (e.g. CASCADE).
    Open source →
    Release notes
    • Set PRAGMA foreign_keys = ON; on all sqlite connections.
    • Use classes in generated files.
    • Add constraint name to FOREIGN KEY DDLs.
    • Support ON DELETE and ON UPDATE actions (e.g. CASCADE).
    Open source →
  7. 0.1.7 02 Mar 2026
    Release notes

    0.1.7

    • Removed the debug use of package:test from mysql adapter.
    Open source →
    Release notes
    • Removed the debug use of package:test from mysql adapter.
    Open source →
  8. 0.1.4 28 Oct 2025
    Release notes
    • Upgraded dependencies (incl. package:analyzer).
    Open source →
  9. 0.1.3 22 May 2025
    Release notes
    • Added TransactionAbortedException.toString() to render the reason when printing an exception.
    • Fix postgres support for DateTime.utc(0), which must be encoded as 'BC' suffixed date-time.
    • Escaping table names in queries.
    • Fix .update / .delete for tables with composite primary keys.
    Open source →
  10. 0.1.2 09 May 2025
    Release notes
    • Support for composite foreign keys using the @ForeignKey annotation.
    • Extension methods for joining table using foreign keys.
    Open source →
  11. 0.1.1 06 May 2025
    Release notes
    • Fixed build issues where it's unable to resolve CustomDataType.
    Open source →
  12. 0.1.0 29 Apr 2025
    Release notes

    Initial version.

    Open source →
  13. 0.0.1 04 Feb 2025

    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