Packages

@prisma/sdk

4.0.0 · 28 Jun 2022Apache-2.040.1k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Deprecated: @prisma/sdk was an internal package which doesn't follow semver and can include breaking changes without a warning. We renamed it to @prisma/internals to make it clearer. If you're using this package it would be helpful if you could help us understand where, how, and why you are using it by ginving us feedback in https://github.com/prisma/prisma/discussions/13877). Your feedback will be valuable to us in defining a better API.What to use instead

Upgrading @prisma/sdk From 2.28.0 to 2.30.3

6 releases in betweennotes for 5

Other targets from 2.28.0Latest4.0.0
1+
change to make
0
advisories fixed
52+
new
4+
fixes

Counted from 5 of 6 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

Release by release

  1. 2.30.1no release note

  2. 2.30.0

    Migration needed24 Aug 202121 new
  3. 2.29.0

    10 Aug 202130 new
    • 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")

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.