build(deps-dev): Bump prisma from 5.22.0 to 6.16.1
Type: Pull Request
State: Closed
Association: Contributor
Comments: 1
(9 months ago)
(9 months ago)
(9 months ago)
dependencies javascript
Bumps prisma from 5.22.0 to 6.16.1.
Release notes
Sourced from prisma's releases.
6.16.1
Today, we are issuing a 6.16.1 patch release.
Bug fixes
- In Prisma ORM 6.16.0, the
driverAdaptersandqueryCompilerfeatures were stabilized, but leftover code in theprisma-client-tsgenerator required them to still be specified in edge runtimes. This has now been fixed, runtimes likeworkerdandvercel-edgeno longer require these preview features.6.16.0
Today, we are excited to share the
6.16.0stable release 🎉🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Prisma ORM
This section contains all the updates made in Prisma ORM v6.16.0.
Rust-free ORM and driver adapters are Generally Available
Eight months ago, we published our ORM manifesto with the first hint that we're going to remove the Rust-based query engine from Prisma ORM:
We're addressing this by migrating Prisma's core logic from Rust to TypeScript and redesigning the ORM to make customization and extension easier.
After a lot of hard work and feedback from the community, we're incredibly excited to share that the migration has been completed and you can now use Prisma ORM without its Rust engine in your production apps. 🎉 This is a major milestone in the history of Prisma ORM and comes with a lot of benefits:
- Reduced bundle size by ~90%
- Faster queries (check out our latest benchmarks)
- Lower CPU footprint
- Less deployment complexity
- Easier to make open-source contributions
… and overall a much better DX since you don't need to worry about the extra binary in your generated Prisma Client code any more.
While the Rust-free ORM will become the default in Prisma ORM v7 soon, for now you still need to opt-into using it:
- Configure the
generatorblock in your Prisma schema:Note: If you tried the Rust-free ORM before, you can now also drop thegenerator client { provider = "prisma-client" // (or "prisma-client-js") output = "../src/generated/prisma" engineType = "client" }queryCompileranddriverAdapterfeature flags from thepreviewFeaturesarray. And if you usedbinaryTargets, you can also get rid of these.- Install the driver adapter for your database, e.g. to use
pgfor PostgreSQL:npm install @prisma/adapter-pg- Finally, you can instantiate
PrismaClientusing thePrismaPgdriver adapter as follows:import { PrismaClient } from './generated/prisma'
... (truncated)
Commits
9d1b883feat(qc): stabilize driver adapters and the query compiler (#28046)60a160dchore: consolidate versions for mariadb, libsql, effect (#28022)0c1a8ddchore: consolidate ts-node (#28029)0262bcechore: consolidate esbuild dependency (#28023)701fe33chore: pkg-up -> package-up 5.0.0 (#28011)1e548dfchore: remove strip-ansi (#28003)013dcb2chore: align vitest version to 3.2.4 (#28000)055864bchore: remove deprecated dependencies@types/rimraf, global-dirs (#27998)6e2b979chore: upgrade prettier to v3 (#27972)b434633fix(client-generator-ts): fix "prisma generate" when no model is defined (#27...- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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
2
+71
-60
Package Dependencies
Technical Details
| ID: | 7610876 |
| UUID: | 2823617750 |
| Node ID: | PR_kwDOKKyu2M6oTPzW |
| Host: | GitHub |
| Repository: | AtCoder-NoviSteps/AtCoderNoviSteps |
| Mergeable: | Yes |
| Merge State: | Unstable |