Releases: drizzle-team/drizzle-orm
Releases · drizzle-team/drizzle-orm
0.23.11
- 🐛 Fix migrator function for PostgreSQL
Would suggest to upgrade to this version anyone who is using postgres dialect.
0.23.9
and0.23.10
are broken for postgresql migrations
0.23.10
0.23.9
Transactions support 🎉
You can now use transactions with all the supported databases and drivers.
node-postgres
example:
await db.transaction(async (tx) => {
await tx.insert(users).values(newUser);
await tx.update(users).set({ name: 'Mr. Dan' }).where(eq(users.name, 'Dan'));
await tx.delete(users).where(eq(users.name, 'Dan'));
});
For more information, see transactions docs:
0.23.8
- 🐛 Fixed dates timezone differences for timestamps in Postgres and MySQL (contributed by @AppelBoomHD via #288)
0.23.7
0.23.6
- 🐛 Fixed referencing the selected aliased field in the same query
- 🐛 Fixed decimal column data type in MySQL
- 🐛 Fixed mode autocompletion for integer column in SQLite
- 🐛 Fixed extra parentheses in the generated SQL for the
IN
operator (#382) - 🐛 Fixed regression in
pgEnum.enumValues
type (#358) - 🎉 Allowed readonly arrays to be passed to
pgEnum
0.23.5
- 🐛 Various minor bugfixes
0.23.4
- 🐛 Fixed broken types in Kysely and Knex adapters
0.23.3
0.23.2
- 🐛 Rolled back some breaking changes for drizzle-kit