NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #4096 most downloaded on pub.dev
Package for doing SQL with some type safety.
Latest stable
0.1.14
Last release 2 months ago
22 Sep 2026
Release timing varies
gaps range from 9 days to 5 months
Nearly every release is documented
notes for 13 of 14 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
14 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
Support upsertValue as a shortcut to insertValue + onConflict + update.
upsertValue as a shortcut to insertValue + onConflict + update.upsert as a shortcut to insert + onConflict + update.upsertValue as a shortcut to insertValue + onConflict + update.upsert as a shortcut to insert + onConflict + update.unixSocket option to DatabaseAdapter.postgresTestDatabase, allowing
a relative path to be used when connecting over a unix socket.Support CREATE INDEX DDLs through @Index annotations.
CREATE INDEX DDLs through @Index annotations.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed code generator bug that affected onConflict clauses with non-default naming.
onConflict clauses with non-default naming.Allow nullable boolean in .where(...) clauses.
.where(...) clauses..on(...) conditions.Expr<bool?> expressions..equals / .equalsValue return Expr<bool?>, following SQL semantics..notEquals and .notEqualsValue methods from nullable expressions.where(...) clauses..on(...) conditions.Expr<bool?> expressions..equals / .equalsValue return Expr<bool?>, following SQL semantics..notEquals and .notEqualsValue methods from nullable expressionsIntroduce .insertValue which automatically wraps with toExpr() , but is unfortunately unable to insert default value for nullable fields that have a d
.insertValue which automatically wraps with toExpr(), but isNULL..insert(..).onConflict(..).update(..).where(..).returning(..).insertValuesMapped(..) for bulk-inserts.@SqlOverride annotation for overriding:
Fix constraint name generation for FOREIGN KEY DDLs.
FOREIGN KEY DDLs.Set PRAGMA foreign_keys = ON; on all sqlite connections.
PRAGMA foreign_keys = ON; on all sqlite connections.FOREIGN KEY DDLs.ON DELETE and ON UPDATE actions (e.g. CASCADE).Removed the debug use of package:test from mysql adapter.
package:test from mysql adapter.Updated dependencies and code to package:analyzer 8.0.0 by @isoos in https://github.com/google/dart-neats/pull/295
Full Changelog: https://github.com/google/dart-neats/compare/%E2%80%8Eneat_cache-v2.0.5...typed_sql-v0.1.4
Added TransactionAbortedException.toString() to render the reason when printing an exception.
TransactionAbortedException.toString() to render the reason when
printing an exception.DateTime.utc(0), which must be encoded as 'BC'
suffixed date-time..update / .delete for tables with composite primary keys.Support for _composite foreign keys_ using the @ForeignKey annotation.
@ForeignKey annotation.Fixed build issues where it's unable to resolve CustomDataType.
CustomDataType.Initial release of package:typed_sql.
Nothing published for this version
One column per month.