0.45.0

drizzle-team/drizzle-orm0.45.0Dec 4, 2025by github-actions[bot]

AI Summary

Feature release with multiple bug fixes including pg-native detection, subquery support, and Date handling in bun-sql driver.

Key Highlights

  • Fixed pg-native Pool detection in node-postgres transactions
  • Allowed subqueries in select fields
  • Fixed typo: algorythm => algorithm
  • Fixed $onUpdate not handling SQL values
  • Fixed pg mappers handling Date instances in bun-sql:postgresql driver

New Features

  • Subqueries in select fields support

Full Release Notes

- Fixed pg-native Pool detection in node-postgres transactions  
- Allowed subqueries in select fields  
- Updated typo algorythm => algorithm  
- Fixed `$onUpdate` not handling `SQL` values (fixes [#2388](https://github.com/drizzle-team/drizzle-orm/issues/2388), tests implemented by [L-Mario564](https://github.com/L-Mario564) in [#2911](https://github.com/drizzle-team/drizzle-orm/pull/2911))
- Fixed `pg` mappers not handling `Date` instances in `bun-sql:postgresql` driver responses for `date`, `timestamp` types (fixes [#4493](https://github.com/drizzle-team/drizzle-orm/issues/4493))