Skip to content

Releases: drizzle-team/drizzle-orm

0.23.11

11 Apr 18:26
4645e6f
Compare
Choose a tag to compare
  • 🐛 Fix migrator function for PostgreSQL

Would suggest to upgrade to this version anyone who is using postgres dialect. 0.23.9 and 0.23.10 are broken for postgresql migrations

0.23.10

10 Apr 08:41
67ab2ea
Compare
Choose a tag to compare
  • 🐛 Added missing config argument to transactions API
  • 🐛 Fixed Postgres and MySQL schema declaration (#427)

0.23.9

09 Apr 17:44
18c4a34
Compare
Choose a tag to compare

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

06 Apr 11:38
3697122
Compare
Choose a tag to compare
  • 🐛 Fixed dates timezone differences for timestamps in Postgres and MySQL (contributed by @AppelBoomHD via #288)

0.23.7

06 Apr 11:15
6be3fa3
Compare
Choose a tag to compare
  • 🎉 Added INSERT IGNORE support for MySQL (contributed by @FugiTech via #305)

0.23.6

05 Apr 11:17
26ec506
Compare
Choose a tag to compare
  • 🐛 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

03 Apr 17:44
5c6c4cd
Compare
Choose a tag to compare
  • 🐛 Various minor bugfixes

0.23.4

01 Apr 00:50
3d307b2
Compare
Choose a tag to compare
  • 🐛 Fixed broken types in Kysely and Knex adapters

0.23.3

31 Mar 23:38
0437a5c
Compare
Choose a tag to compare

0.23.2

27 Mar 11:39
88be5f8
Compare
Choose a tag to compare
  • 🐛 Rolled back some breaking changes for drizzle-kit