[Snyk] Upgrade drizzle-orm from 0.43.1 to 0.44.2#159
Conversation
Snyk has created this PR to upgrade drizzle-orm from 0.43.1 to 0.44.2. See this package in npm: drizzle-orm See this project in Snyk: https://app.snyk.io/org/abo3skr2019/project/b4b04c7e-d5c1-4541-84a5-85eb98820e5a?utm_source=github&utm_medium=referral&page=upgrade-pr
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Snyk has created this PR to upgrade drizzle-orm from 0.43.1 to 0.44.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 10 versions ahead of your current version.
The recommended version was released 21 days ago.
Release notes
Package name: drizzle-orm
-
0.44.2 - 2025-06-04
- [BUG]: Fixed type issues with joins with certain variations of
-
0.44.2-b5a9650 - 2025-06-18
-
0.44.2-ab4d983 - 2025-06-17
-
0.44.2-a2a1a62 - 2025-06-20
-
0.44.2-8bf5193 - 2025-06-03
-
0.44.2-6baabce - 2025-06-20
-
0.44.2-512acc4 - 2025-06-12
-
0.44.1 - 2025-05-30
- [BUG]: Drizzle can no longer run on Durable Objects
-
0.44.0 - 2025-05-28
- A proper stack trace to identify which exact
- The generated SQL string and its parameters
- The original stack trace from the driver that caused the DrizzleQueryError
import { upstashCache } from "drizzle-orm/cache/upstash";
-
0.44.0-a42461b - 2025-05-28
-
0.43.1 - 2025-04-25
- Fixed incorrect types of schema enums in PostgreSQL
from drizzle-orm GitHub release notestsconfig: #4535, #4457Error handling
Starting from this version, we’ve introduced a new
DrizzleQueryErrorthat wraps all errors from database drivers and provides a set of useful information:Drizzlequery failedDrizzle
cachemoduleDrizzle sends every query straight to your database by default. There are no hidden actions, no automatic caching or invalidation - you’ll always see exactly what runs. If you want caching, you must opt in.
By default, Drizzle uses a explicit caching strategy (i.e.
global: false), so nothing is ever cached unless you ask. This prevents surprises or hidden performance traps in your application. Alternatively, you can flip on all caching (global: true) so that every select will look in cache first.Out first native integration was built together with Upstash team and let you natively use
upstashas a cache for your drizzle queriesimport { drizzle } from "drizzle-orm/...";
const db = drizzle(process.env.DB_URL!, {
cache: upstashCache({
// 👇 Redis credentials (optional — can also be pulled from env vars)
url: '<UPSTASH_URL>',
token: '<UPSTASH_TOKEN>',
// 👇 Enable caching for all queries by default (optional)
global: true,
// 👇 Default cache behavior (optional)
config: { ex: 60 }
})
});
You can also implement your own cache, as Drizzle exposes all the necessary APIs, such as get, put, mutate, etc.
You can find full implementation details on the website
For more usage example you can check our docs
Fixes
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: