drizzle-orm
0.45.4 · 8 Oct 2026Apache-2.049.6M / weekRepositoryHomepagenpmAtom feed
Upgrading drizzle-orm From 0.38.4 to 0.39.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
1 advisory still affects 0.39.0
- Drizzle ORM has SQL injection via improperly escaped SQL identifiershigh · GHSA-gpj5-g38j-94v9
Upgrading to 0.45.2 clears it.
Release by release
- New
jsonandjsonbinserts and selects currently perform an additionalJSON.stringifyon the Bun SQL side. Once this is removed, they should work properly. You can always use custom types and redefine the mappers to and from the database. - New
datetime,date, andtimestampwill not work properly when usingmode: stringin Drizzle. This is due to Bun's API limitations, which prevent custom parsers for queries. As a result, Drizzle cannot control the response sent from Bun SQL to Drizzle. Once this feature is added to Bun SQL, it should work as expected. - New
arraytypes currently have issues in Bun SQL. - Fixed
- New
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.