@prisma/client
7.10.1 · 15 Oct 2026Apache-2.024.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @prisma/client From 5.1.0 to 5.22.0
38 releases in betweenevery note read
Reading releases, release notes and advisories…
- 3
- changes to make
- 0
- advisories fixed
- 307
- new
- 40
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking5.16.0
- Breaking5.15.0
- Breaking5.6.0
Security
Release by release
- Security
- New
- New
- New
- Fixed
Fixed a bug where migrations were not using shadow database correctly in some edge cases
- Fixed
- New
- New
- New
- New
- New
- New
- New
5.19.1nothing new or fixed in the note
- New
Make sure that you have the latest version of
prismaand@prisma/clientinstalled: - New
Enable the
typedSqlPreview feature in your Prisma Schema. - New
Create a
sqlsubdirectory of yourprismadirectory. - New
You can now add
.sqlfiles to thesqldirectory! Each file can contain one sql query and the name must be a valid JS identifier. For this example, say you had the filegetUsersWithPosts.sqlwith the following contents:
- New
- New
- New
- Fixed
- Fixed
[Empty
Jsonfields will now return `` instead ofnullwhen accessed through a join using therelationJoinsPreview feature.](#22923)
3 other lines we could not sort, mostly version bumps
- 5.19.0
Senior Engineer (TypeScript): This person will be primarily working on the TypeScript side and evolving our Prisma client. Rust knowledge (or desire to learn Rust) is a plus.
- 5.19.0
Senior Engineer (Rust): This person will be focused on the
prisma-enginesRust codebase. TypeScript knowledge (or, again, a desire to learn) is a plus. - 5.9.0
Improve the performance of relation queries by introducing JOINs (see last release).
6 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.