@astrojs/db
0.21.3 · 9 Jun 2026MIT1.7k / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/db From 0.1.2 to 0.21.3
116 releases in betweennotes for 21
Reading releases, release notes and advisories…
- 2+
- changes to make
- 0
- advisories fixed
- 17+
- new
- 11+
- fixes
Counted from 21 of 116 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking0.16.0
- Deprecated0.21.3
Security
- 0.21.0
Fixes a SQL injection vulnerability by updating
drizzle-ormto^0.45.2, patching GHSA-gpj5-g38j-94v9 (CVE-2026-39356).
Release by release
- Deprecated
Deprecates the
@astrojs/dbintegration. We no longer have the bandwidth to maintain this package, and we recommend that users directly use the database client of their choice (Drizzle, Kysely, etc.) in their Astro projects instead.
- Deprecated
- Fixed
Updates
typescriptto v6. No changes are needed from users.
- Fixed
- Fixed
Fixes compatibility with Zod 4.4.0 for the
serverconfig property and error formatting
- Fixed
- Security
Fixes a SQL injection vulnerability by updating
drizzle-ormto^0.45.2, patching GHSA-gpj5-g38j-94v9 (CVE-2026-39356). - New
Adds a new
getDbError()helper exported fromastro:db. It walks the error.causechain and returns the underlyingLibsqlError, orundefinedif the error did not originate from libSQL. This is needed becausedrizzle-orm0.44+ wraps query errors in aDrizzleQueryErrorwhose.causeis the realLibsqlError.
- Security
0.20.1no release note
- New
Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
- Fixed
Update to Astro 6 beta
- Fixed
Updates usage of zod to own dependency rather than relying on
astro/zod - Fixed
Improves CLI styling
- New
- New
Adds a
--db-app-tokenCLI flag toastro dbcommandsexecute,push,query, andverify
- New
0.18.1 – 0.18.33 releases, no release note
4 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.