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.29.0

1 release in betweenevery note read

Other targets from 2.28.0Newest 2.x2.30.3Latest4.0.0
  1. 2.28.0yours
  2. 2.29.0target
1
change to make
0
advisories fixed
30
new
0
fixes

Start here

Before you upgrade

Tick each one off as you go
  • Breaking2.29.0

Release by release

  1. 2.29.0

    Migration needed10 Aug 202130 new
    • 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

      @id(map: "custom_primary_key_constraint_name")

    • New

      @@id([field1, field2], map: "custom_compound_primary_key_name")

    • New

      @unique(map: "custom_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.