@prisma/sdk
4.0.0 · 28 Jun 2022Apache-2.040.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @prisma/sdk From 2.8.0 to 2.30.3
37 releases in betweennotes for 19
Counted from 19 of 37 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking2.30.0
- Deprecated2.18.0
Security
Fixes 1 advisory affecting 2.8.0
- Command injection vulnerability in @prisma/sdk in getPackedPackage functionhigh · GHSA-pxcc-hj8w-fmm7
- 2.20.0
Command injection vulnerability in @prisma/sdk in getPackedPackage function This is a low-severity issue and no users have been affected
- 2.20.0
Visual Studio Code Prisma Extension Remote Code Execution Vulnerability This is a high-severity issue and we recommend all Prisma VS Code extension users verify that they have automatically been upgraded to the latest version. There is no evidence that this vulnerability has been exploited.
Release by release
- Fixed
2.30.1no release note
- Breaking
In the future, breaking changes in the stable development surface i.e. General Availability will only be rolled out with major version increments.
- New
- New
- New
- Breaking
- New
@id(map: "custom_primary_key_constraint_name") - New
@@id([field1, field2], map: "custom_compound_primary_key_name") - New
@unique(map: "custom_unique_constraint_name") - New
@@unique([field1, field2], map: "custom_compound_unique_constraint_name")
- New
- New
Concurrent
findUniquequeries leading to an error #8276 - New
Filtering by relations wasn't working properly #7057
- New
Filtering on an array of IDs #6998
- New
Explore data in the database using the data browser.
- New
9 other lines we could not sort, mostly version bumps
- 2.26.0
ON DELETE RESTRICT(NO ACTIONon SQL Server) for required relations - 2.26.0
ON DELETE SET NULLfor optional relations - 2.26.0
ON UPDATE CASCADEfor all relations regardless if optional or required. - 2.26.0
June 29th: Workshops
- 2.26.0
June 30th: Talks
- 2.23.0
June 30th: Talks (Submit a talk proposal)
- 2.19.0
Learn how top companies are addressing the challenges of data at scale
- 2.19.0
Discover how companies use Prisma to make their developers more productive
- 2.19.0
Get a better understanding of the future of data in the enterprise
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.