@prisma/sdk
4.0.0 · 28 Jun 2022Apache-2.040.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @prisma/sdk From 2.29.0 to 4.0.0
33 releases in betweennotes for 25
- 16+
- changes to make
- 0
- advisories fixed
- 443+
- new
- 7+
- fixes
Counted from 25 of 33 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking3.13.0
- Breaking3.5.0
- Breaking3.0.1
- Breaking3.0.1
- Breaking3.0.1
- Breaking3.0.1
- Breaking3.0.1
- Breaking3.0.1
- Breaking3.0.1
- Breaking3.0.1
Security
- 3.0.1
Tagged Template:
prisma.$queryRaw...``. This API sent a prepared statement and was safe from SQL injections. - 3.0.1
Function Call:
prisma.$queryRaw(...). This API sent a raw query string and was not safe from SQL injections. - 3.0.1
$queryRaw...``: Safe from SQL injections. Sends a prepared statement and returns the resulting rows. - 3.0.1
$executeRaw...``: Safe from SQL injections. Sends a prepared statement and returns the result count. - 3.0.1
$queryRawUnsafe(...): Not safe from SQL injections. Sends the query as a string and returns the resulting rows. Useful for queries that can't be prepared, like using a variable for the table name. - 3.0.1
$executeRawUnsafe(...): Not safe from SQL injections. Sends the query as a string and returns the result count. Useful for queries that can't be prepared, like altering a column's data type.
Release by release
3.15.0 – 4.0.04 releases, no release note
- Breaking
If you've enabled the
extendedIndexesPreview feature, this is potentially a breaking change. - New
- New
- New
- Breaking
- New
Expressive and type-safe operations for querying MongoDB embedded documents
- New
Thorough introspection support for using Prisma with existing MongoDB databases
- New
Declarative index management right from your Prisma Schema with
db push - New
Powerful raw query APIs to help you incrementally migrate to Prisma
- New
3.11.0 – 3.11.12 releases, no release note
3.9.1nothing new or fixed in the note
6 other lines we could not sort, mostly version bumps
- 3.5.0
Kevin Jernigan, MongoDB
- 3.5.0
Greg McKeon, Cloudflare
- 3.5.0
Jason Lengstorf, Netlify
- 3.5.0
Sugu Sougoumarane and Taylor Barnett, PlanetScale
- 3.5.0
Aydrian Howard, CockroachDB
- 3.5.0
Hassan El Mghari, Vercel
1 internal line (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.