chore(deps): Bump drizzle-orm from 1.0.0-beta.12-a5629fb to 1.0.0-beta.15-9485290

Closed
DE
9mo ago
+2-2

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 migrator now 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 generate and pull commands to display the SQL file instead of the folder path in the migration output message

Your SQL migration ➜ path

Bug fixed

1.0.0-beta.13

Drizzle Kit updates

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.13

import '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

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)