Packages

@prisma/client

7.10.1 · 15 Oct 2026Apache-2.024.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @prisma/client From 2.20.0 to 2.30.3

19 releases in betweennotes for 18

Reading releases, release notes and advisories…

Other targets from 2.20.0Latest7.10.1
  1. 2.20.0yours
  2. 1 release
  3. 2.21.0breaking
  4. 13 releases
  5. 2.30.0breaking
  6. 2 releases
  7. 2.30.3target
4+
changes to make
0
advisories fixed
243+
new
12+
fixes

Counted from 18 of 19 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
  • Breaking2.21.0
  • Breaking2.21.0
  • Deprecated2.21.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")

  4. 2.28.0

    27 Jul 202121 new
    • New

      Concurrent findUnique queries 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.

6 other lines we could not sort, mostly version bumps
  • ON DELETE RESTRICT (NO ACTION on SQL Server) for required relations

    2.26.0
  • ON DELETE SET NULL for optional relations

    2.26.0
  • ON UPDATE CASCADE for all relations regardless if optional or required.

    2.26.0
  • June 29th: Workshops

    2.26.0
  • June 30th: Talks

    2.26.0
  • June 30th: Talks (Submit a talk proposal)

    2.23.0

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.