Packages

drizzle-orm

0.45.4 · 8 Oct 2026Apache-2.049.6M / weekRepositoryHomepagenpmAtom feed

Upgrading drizzle-orm From 0.35.0 to 0.45.4

37 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.35.0Clears its advisory0.45.2
  1. 0.35.0yours
  2. 3 releases
  3. 0.36.0major
  4. 4 releases
  5. 0.37.0major
  6. 0.38.0major
  7. 4 releases
  8. 0.39.0major
  9. 3 releases
  10. 0.40.0major
  11. 1 release
  12. 0.41.0major
  13. 0.42.0major
  14. 0.43.0major
  15. 1 release
  16. 0.44.0major
  17. 7 releases
  18. 0.45.0major
  19. 1 release
  20. 0.45.2security
  21. 1 release
  22. 0.45.4target

Before you upgrade

Tick each one off as you go
  • Breaking0.43.0
  • Breaking0.38.0
  • Breaking0.38.0
  • Breaking0.38.0
  • Breaking0.38.0
  • Breaking0.38.0
  • Breaking0.38.0
  • Breaking0.38.0
  • Breaking0.38.0
  • Breaking0.38.0

Security

Fixes 1 advisory affecting 0.35.0

  • 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

    0.45.2

Release by release

  1. 0.45.4

    8 Oct 20261 fix
    • Fixed

      Fixed postgres-js not using prepared queries on explicit .prepare(name)

  2. 0.45.3nothing new or fixed in the note

  3. 0.45.2

    Security fix27 Mar 2026
    • 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

  4. 0.45.1

    10 Dec 20251 fix
    • Fixed

      Fixed pg-native Pool detection in node-postgres transactions breaking in environments with forbidden require()

  5. 0.45.0

    4 Dec 20253 fixes
    • Fixed

      Fixed pg-native Pool detection in node-postgres transactions

    • Fixed

      Fixed $onUpdate not handling SQL values (fixes #2388, tests implemented by L-Mario564 in #2911)

    • Fixed

      Fixed pg mappers not handling Date instances in bun-sql:postgresql driver responses for date, timestamp types (fixes #4493)

  6. 0.44.7

    23 Oct 20251 fix
    • Fixed

      Fix durable sqlite transaction return value #3746

  7. 0.44.6

    2 Oct 20251 new
    • New

      Add $replicas reference #4874

  8. 0.44.5

    25 Aug 20252 fixes
    • Fixed

      Fixed invalid usage of .one() in durable-sqlite session

    • Fixed

      Fixed spread operator related crash in sqlite blob columns

25 other lines we could not sort, mostly version bumps

5 internal lines (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.