Files
drizzle-team--drizzle-orm/changelogs/drizzle-orm/0.30.8.md
T
2026-07-13 12:10:05 +08:00

894 B

  • 🎉 Added custom schema support to enums in Postgres (fixes #669 via #2048):

    import { pgSchema } from 'drizzle-orm/pg-core';
    
    const mySchema = pgSchema('mySchema');
    const colors = mySchema.enum('colors', ['red', 'green', 'blue']);
    
  • 🎉 Changed D1 migrate() function to use batch API (#2137)

  • 🐛 Split where clause in Postgres .onConflictDoUpdate method into setWhere and targetWhere clauses, to support both where cases in on conflict ... clause (fixes #1628, #1302 via #2056)

  • 🐛 Fixed query generation for where clause in Postgres .onConflictDoNothing method, as it was placed in a wrong spot (fixes #1628 via #2056)

  • 🐛 Fixed multiple issues with AWS Data API driver (fixes #1931, #1932, #1934, #1936 via #2119)

  • 🐛 Fix inserting and updating array values in AWS Data API (fixes #1912 via #1911)

Thanks @hugo082 and @livingforjesus!