chore(deps): Bump drizzle-orm from 1.0.0-beta.12-a5629fb to 1.0.0-beta.15-9485290
Bumps drizzle-orm from 1.0.0-beta.12-a5629fb to 1.0.0-beta.15-9485290.
Release notes
Sourced from drizzle-orm's releases.
v1.0.0-beta.14
Migrator update
The
migratornow applies all changes that are missing in the database. Previously the migrator only looked for local migrations with a creation date later than the last migration applied in the database Now it detects and applies all missing migrations
- Fixed
generateandpullcommands to display theSQL fileinstead of thefolderpath in the migration output messageYour SQL migration ➜ path
Bug fixed
randomproperty is set onArray.prototypewithenumerable: trueFixed an error when seeding a composite unique column that includes a foreign key
Postgres:
DROP INDEXstatement did not respect schemaRestricted usage of async functions in sync drivers' transactions
1.0.0-beta.13
Drizzle Kit updates
- Enabled top-level await in
drizzle-kit.configand schema files on Node.js by replacingrequire()withasync loadModule()usingjiti- Fixed [FEATURE]: Support Top-level await in drizzle.config.ts
- Fixed [BUG]: SyntaxError: Cannot use import statement outside a module with drizzle-kit
Drizzle Effect Postgres updates
We've updated an API and the Drizzle+Effect usage example to make it feel more native to Effect's style:
Before
beta.13import 'dotenv/config'; import { drizzle } from 'drizzle-orm/effect-postgres'; import { Effect, Redacted } from 'effect'; import { PgClient } from '@effect/sql-pg' import { types } from 'pg'; const clientLayer = PgClient.layer({ url: Redacted.make(process.env.DATABASE_URL!); types: { getTypeParser: (typeId, format) => { if ([1184, 1114, 1082, 1186, 1231, 1115, 1185, 1187, 1182].includes(typeId)) { return (val: any) => val; } return types.getTypeParser(typeId, format); }, }, }); </tr></table>
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)