@prisma/adapter-planetscale
7.10.1 · 15 Oct 2026Apache-2.069.3k / weekRepositorynpmAtom feed
Upgrading @prisma/adapter-planetscale From 5.4.2 to 5.22.0
32 releases in betweennotes for 31
Reading releases, release notes and advisories…
- 3+
- changes to make
- 0
- advisories fixed
- 232+
- new
- 38+
- fixes
Counted from 31 of 32 release notes. Advisories are counted from the advisory database, in full.
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.