Bump drizzle-orm from 0.28.6 to 0.44.5 in /bun
Type: Pull Request
State: Open
![dependabot[bot]](https://github.com/dependabot.png)
Association: None
Comments: 0
(7 days ago)
(7 days ago)
dependencies javascript
Bumps drizzle-orm from 0.28.6 to 0.44.5.
Release notes
Sourced from drizzle-orm's releases.
0.44.5
- Fixed invalid usage of
.one()
indurable-sqlite
session- Fixed spread operator related crash in sqlite
blob
columns- Better browser support for sqlite
blob
columns- Improved sqlite
blob
mapping0.44.4
- Fix wrong DrizzleQueryError export. thanks
@nathankleyn
0.44.3
- Fixed types of
$client
for clients created by drizzle functionawait db.$client.[...]
- Added the
updated_at
column to theneon_auth.users_sync
table definition.0.44.2
0.44.1
0.44.0
Error handling
Starting from this version, we’ve introduced a new
DrizzleQueryError
that wraps all errors from database drivers and provides a set of useful information:
- A proper stack trace to identify which exact
Drizzle
query failed- The generated SQL string and its parameters
- The original stack trace from the driver that caused the DrizzleQueryError
Drizzle
cache
moduleDrizzle 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
upstash
as a cache for your drizzle queriesimport { upstashCache } from "drizzle-orm/cache/upstash"; import { 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>', </tr></table>
... (truncated)
Commits
37d059f
v0.44.5 (#4849)33f0374
Upgrade drizzle-zod peerDeps8b8d78e
Fix export ofDrizzleQueryError
(fixes #4618) (#4778)027921f
Fixed types of$client
for clients created bydrizzle
function from crede...e44d9bb
Add updated_at column (#4106)ac1dcd9
Fix hakfvec (#4689)5c6b3af
AdddatabaseName
andpackageName
properties for studio (#4683)9895842
Studio transactions (#4664)50a8b16
Fixed type issues with joins with certain variations oftsconfig
(fixes #45...9865e63
Fix better-sqlite version- Additional commits viewable in compare view
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 <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)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
ID: | 7002130 |
UUID: | 2801478961 |
Node ID: | PR_kwDOPpiNU86m-y0x |
Host: | GitHub |
Repository: | dsp-testing/test-exclude-paths-all-ecosystems |
Merge State: | Unknown |