Automattic / breakingbot

breaking incident management chat bot
GNU General Public License v2.0
1 stars 0 forks source link

Bump drizzle-orm from 0.30.9 to 0.30.10 #37

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps drizzle-orm from 0.30.9 to 0.30.10.

Release notes

Sourced from drizzle-orm's releases.

0.30.10

New Features

🎉 .if() function added to all WHERE expressions

Select all users after cursors if a cursor value was provided

async function someFunction(categories: string[] = [], views = 0) {
  await db
    .select()
    .from(users)
    .where(
       and(
          gt(posts.views, views).if(views > 100),
          inArray(posts.category, categories).if(categories.length > 0),
       ),
    );
}

Bug Fixes

  • Fixed internal mappings for sessions .all, .values, .execute functions in AWS DataAPI
Commits
  • a78eefe Merge pull request #2241 from drizzle-team/extend-proxy
  • 9929654 Merge branch 'main' into extend-proxy
  • f72c6aa Merge pull request #2233 from realmikesolo/if-conditions
  • f8cfb69 Add changelog, bump versions
  • 8933293 fix: format errors
  • f9be0ab Remove missing column metadata error
  • 5868dec add: more tests
  • 394705b make edits according to the review
  • 30dc2ee Fix return values for AWS Data API driver
  • cd0a1aa add: test for if method
  • 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)