@prisma/adapter-d1
7.10.1 · 15 Oct 2026Apache-2.073.1k / weekRepositorynpmAtom feed
Upgrading @prisma/adapter-d1 From 5.10.1 to 5.22.0
19 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 154
- new
- 18
- fixes
Before you upgrade
Tick each one off as you go- breaking5.16.0
- breaking5.15.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)
2 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.
4 internal lines (docs, tests, tooling) left out.