Skip to content

0.30.8

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Apr 07:27
· 77 commits to main since this release
4706ad1
  • 馃帀 Added custom schema support to enums in Postgres (fixes #669 via #2048):

鈿狅笍 Only available in drizzle-orm for now, drizzle-kit support will arrive soon

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!