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
Releases
latest 13-
0.1.1307 Jul 2026 -
0.1.1225 Jun 2026Release notes
Open source →- Fixed code generator bug that affected
onConflictclauses with non-default naming.
Release notes
Open source →- Fixed code generator bug that affected
onConflictclauses with non-default naming.
- Fixed code generator bug that affected
-
0.1.1118 Jun 2026Release notes
Open source →- Allow nullable boolean in
.where(...)clauses. - Allow nullable boolean in JOIN
.on(...)conditions. - Support for combining
Expr<bool?>expressions. .equals/.equalsValuereturnExpr<bool?>, following SQL semantics.- Breaking change:
- removed
.notEqualsand.notEqualsValuemethods from nullable expressions
- removed
Release notes
Open source →- Allow nullable boolean in
.where(...)clauses. - Allow nullable boolean in JOIN
.on(...)conditions. - Support for combining
Expr<bool?>expressions. .equals/.equalsValuereturnExpr<bool?>, following SQL semantics.- Breaking change:
- removed
.notEqualsand.notEqualsValuemethods from nullable expressions
- removed
- Allow nullable boolean in
-
0.1.1022 May 2026Release notes
Open source →- Introduce
.insertValuewhich automatically wraps withtoExpr(), but is
unfortunately unable to insert default value for nullable fields that
have a default value other thanNULL. - 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
@SqlOverrideannotation for overriding:- Column type,
- Column name,
- Default naming convention,
- Collation, or,
- Default value expression.
Release notes
Open source →- Introduce
.insertValuewhich automatically wraps withtoExpr(), but is unfortunately unable to insert default value for nullable fields that have a default value other thanNULL. - 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
@SqlOverrideannotation for overriding:- Column type,
- Column name,
- Default naming convention,
- Collation, or,
- Default value expression.
- Introduce
-
0.1.910 Apr 2026 -
0.1.810 Apr 2026Release notes
Open source →- Set
PRAGMA foreign_keys = ON;on all sqlite connections. - Use classes in generated files.
- Add constraint name to
FOREIGN KEYDDLs. - Support
ON DELETEandON UPDATEactions (e.g.CASCADE).
Release notes
Open source →- Set
PRAGMA foreign_keys = ON;on all sqlite connections. - Use classes in generated files.
- Add constraint name to
FOREIGN KEYDDLs. - Support
ON DELETEandON UPDATEactions (e.g.CASCADE).
- Set
-
0.1.702 Mar 2026 -
0.1.428 Oct 2025 -
0.1.322 May 2025Release notes
Open source →- Added
TransactionAbortedException.toString()to render thereasonwhen 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/.deletefor tables with composite primary keys.
- Added
-
0.1.209 May 2025Release notes
Open source →- Support for composite foreign keys using the
@ForeignKeyannotation. - Extension methods for joining table using foreign keys.
- Support for composite foreign keys using the
-
0.1.106 May 2025 -
0.1.029 Apr 2025 -
0.0.104 Feb 2025Nothing published for this version