Packages

@prisma/client

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

Upgrading @prisma/client From 2.20.1 to 2.30.3

18 releases in betweennotes for 17

Reading releases, release notes and advisories…

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

Counted from 17 of 18 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.