palembang-digital / web

Palembang Digital New Revamped Website
https://v2.palembangdigital.org
0 stars 0 forks source link

fix(deps): bump drizzle-orm from 0.29.3 to 0.29.4 #13

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 6 months ago

Bumps drizzle-orm from 0.29.3 to 0.29.4.

Release notes

Sourced from drizzle-orm's releases.

0.29.4

New Features

🎉 Neon HTTP Batch

For more info you can check Neon docs

Example

const batchResponse: BatchType = await db.batch([
    db.insert(usersTable).values({ id: 1, name: 'John' }).returning({
        id: usersTable.id,
    }),
    db.insert(usersTable).values({ id: 2, name: 'Dan' }),
    db.query.usersTable.findMany({}),
    db.query.usersTable.findFirst({}),
]);
type BatchType = [
    {
        id: number;
    }[],
    NeonHttpQueryResult<never>,
    {
        id: number;
        name: string;
        verified: number;
        invitedBy: number | null;
    }[],
    {
        id: number;
        name: string;
        verified: number;
        invitedBy: number | null;
    } | undefined,
];

Improvements

Thanks to the database-js and PlanetScale teams, we have updated the default behavior and instances of database-js.

As suggested by the database-js core team, you should use the Client instance instead of connect():

import { Client } from '@planetscale/database';
import { drizzle } from 'drizzle-orm/planetscale-serverless';
</tr></table> 

... (truncated)

Commits
  • 9e87fd1 Merge pull request #1801 from mattrobenolt/fix-planetscale-types
  • 258df72 Exclude neon http tests from fork test runner
  • f2fcb57 Merge branch 'main' into fix-planetscale-types
  • 3952496 Merge pull request #1895 from drizzle-team/neon-serverless-batch-main
  • b475b53 Add 0.29.4 release notes and bump version
  • ea73cc1 Fix imports after attw report
  • 3248b3c Fix types
  • 49f2ba2 Check tests for planetscale
  • cd6f25a Add missing env var, disable Planetscale tests
  • d9d27aa Add missing extensions to imports
  • Additional commits viewable in compare view


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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show 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)