note: la synthèse et les notes de version sont en anglais
ok: mise à jour sûre
0 breaking change4 points clés
Drizzle ORM 0.45.0 adds subqueries in select fields and fixes several bugs, with no breaking changes listed.
points clés
- note[1]: Subqueries are now allowed in select fields.release-notes:2
- note[2]: The
$onUpdatehook now handlesSQLvalues.release-notes:4 - note[3]: The
pgmappers now handleDateinstances from thebun-sql:postgresqldriver fordateandtimestampcolumns.release-notes:5 - note[4]: Pool detection for pg-native in node-postgres transactions is fixed.release-notes:1
release-notesgithub.com/drizzle-team/drizzle-orm · 5 lignes
- - 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))