drizzle-orm
0.45.4 · 8 Oct 2026Apache-2.049.6M / weekRepositoryHomepagenpmAtom feed
Upgrading drizzle-orm From 0.43.0 to 0.45.2
12 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 2
- new
- 11
- fixes
Security
Fixes 1 advisory affecting 0.43.0
- Drizzle ORM has SQL injection via improperly escaped SQL identifiershigh · GHSA-gpj5-g38j-94v9
- 0.45.2
Fixed
sql.identifier(),sql.as()escaping issues. Previously all the values passed to this functions were not properly escaped causing a possible SQL Injection (CWE-89) vulnerability
Release by release
- Security
Fixed
sql.identifier(),sql.as()escaping issues. Previously all the values passed to this functions were not properly escaped causing a possible SQL Injection (CWE-89) vulnerability
- Security
- Fixed
Fixed pg-native Pool detection in node-postgres transactions breaking in environments with forbidden
require()
- Fixed
- Fixed
Fixed pg-native Pool detection in node-postgres transactions
- Fixed
Fixed
$onUpdatenot handlingSQLvalues (fixes #2388, tests implemented by L-Mario564 in #2911) - Fixed
Fixed
pgmappers not handlingDateinstances inbun-sql:postgresqldriver responses fordate,timestamptypes (fixes #4493)
- Fixed
- Fixed
Fix durable sqlite transaction return value #3746
- Fixed
- New
Add $replicas reference #4874
- New
- Fixed
Fixed invalid usage of
.one()indurable-sqlitesession - Fixed
Fixed spread operator related crash in sqlite
blobcolumns
- Fixed
- Fixed
Fix wrong DrizzleQueryError export. thanks @nathankleyn
- Fixed
- New
Added the
updated_atcolumn to theneon_auth.users_synctable definition. - Fixed
Fixed types of
$clientfor clients created by drizzle function
- New
7 other lines we could not sort, mostly version bumps
- 0.45.0
Allowed subqueries in select fields
- 0.44.5
Better browser support for sqlite
blobcolumns - 0.44.5
Improved sqlite
blobmapping - 0.44.1
- 0.44.0
A proper stack trace to identify which exact
Drizzlequery failed - 0.44.0
The generated SQL string and its parameters
- 0.44.0
The original stack trace from the driver that caused the DrizzleQueryError
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.