[PR #9033] [MERGED] chore(deps): bump drizzle-orm from 0.45.1 to 0.45.2 #25288

Closed
opened 2026-04-15 22:48:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9033
Author: @dependabot[bot]
Created: 4/8/2026
Status: Merged
Merged: 4/8/2026
Merged by: @bytaesu

Base: mainHead: dependabot/npm_and_yarn/drizzle-orm-0.45.2


📝 Commits (1)

  • 25e9da8 chore(deps): bump drizzle-orm from 0.45.1 to 0.45.2

📊 Changes

4 files changed (+150 additions, -39 deletions)

View changed files

📝 e2e/adapter/package.json (+1 -1)
📝 e2e/smoke/test/fixtures/cloudflare/package.json (+1 -1)
📝 packages/drizzle-adapter/package.json (+1 -1)
📝 pnpm-lock.yaml (+147 -36)

📄 Description

Bumps drizzle-orm from 0.45.1 to 0.45.2.

Release notes

Sourced from drizzle-orm's releases.

0.45.2

  • Fixed sql.identifier(), sql.as() escaping issues. Previously all the values passed to this functions were not properly escaped causing a possible SQL Injection (CWE-89) vulnerability

Thanks to @​EthanKim88, @​0x90sh and @​wgoodall01 for reaching out to us with a reproduction and suggested fix

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Upgrade drizzle-orm to 0.45.2 to pull in a security fix for escaping in sql.identifier() and sql.as() that could enable SQL injection. Updates all packages and e2e fixtures that depend on it.

  • Dependencies
    • Updated drizzle-orm to 0.45.2 in packages/drizzle-adapter, e2e/adapter, and e2e/smoke/test/fixtures/cloudflare; refreshed pnpm-lock.yaml.

Written for commit 25e9da8a10. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/9033 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 4/8/2026 **Status:** ✅ Merged **Merged:** 4/8/2026 **Merged by:** [@bytaesu](https://github.com/bytaesu) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/drizzle-orm-0.45.2` --- ### 📝 Commits (1) - [`25e9da8`](https://github.com/better-auth/better-auth/commit/25e9da8a10eee3d9732a189f6834d96391bfd066) chore(deps): bump drizzle-orm from 0.45.1 to 0.45.2 ### 📊 Changes **4 files changed** (+150 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `e2e/adapter/package.json` (+1 -1) 📝 `e2e/smoke/test/fixtures/cloudflare/package.json` (+1 -1) 📝 `packages/drizzle-adapter/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+147 -36) </details> ### 📄 Description Bumps [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) from 0.45.1 to 0.45.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/drizzle-team/drizzle-orm/releases">drizzle-orm's releases</a>.</em></p> <blockquote> <h2>0.45.2</h2> <ul> <li>Fixed <code>sql.identifier()</code>, <code>sql.as()</code> escaping issues. Previously all the values passed to this functions were not properly escaped causing a possible SQL Injection (CWE-89) vulnerability</li> </ul> <p>Thanks to <a href="https://github.com/EthanKim88"><code>@​EthanKim88</code></a>, <a href="https://github.com/0x90sh"><code>@​0x90sh</code></a> and <a href="https://github.com/wgoodall01"><code>@​wgoodall01</code></a> for reaching out to us with a reproduction and suggested fix</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/drizzle-team/drizzle-orm/commit/273c78071d4841b497f5144734b38294df7ec64b"><code>273c780</code></a> + 0.45.2 (<a href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/5534">#5534</a>)</li> <li><a href="https://github.com/drizzle-team/drizzle-orm/commit/4aa6ecfee4b4728dadf6f77f071a149878a3c6c0"><code>4aa6ecf</code></a> Kit updates (<a href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/5490">#5490</a>)</li> <li><a href="https://github.com/drizzle-team/drizzle-orm/commit/e8e6edfef5ca69c6188d320388ad440265911057"><code>e8e6edf</code></a> feat(drizzle-kit): support d1 via binding (<a href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/5302">#5302</a>)</li> <li>See full diff in <a href="https://github.com/drizzle-team/drizzle-orm/compare/0.45.1...0.45.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=drizzle-orm&package-manager=npm_and_yarn&previous-version=0.45.1&new-version=0.45.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/better-auth/better-auth/network/alerts). </details> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Upgrade `drizzle-orm` to 0.45.2 to pull in a security fix for escaping in `sql.identifier()` and `sql.as()` that could enable SQL injection. Updates all packages and e2e fixtures that depend on it. - **Dependencies** - Updated `drizzle-orm` to 0.45.2 in `packages/drizzle-adapter`, `e2e/adapter`, and `e2e/smoke/test/fixtures/cloudflare`; refreshed `pnpm-lock.yaml`. <sup>Written for commit 25e9da8a10eee3d9732a189f6834d96391bfd066. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:48:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#25288