Packages

@prisma/client

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

Upgrading @prisma/client From 2.30.3 to 3.0.1

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.30.3Latest7.10.1
  1. 2.30.3yours
  2. 3.0.1target
13
changes to make
0
advisories fixed
42
new
0
fixes

Start here

Before you upgrade

Tick each one off as you go
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1
  • Breaking3.0.1

Security

  • Tagged Template: prisma.$queryRaw...``. This API sent a prepared statement and was safe from SQL injections.

    3.0.1
  • Function Call: prisma.$queryRaw(...). This API sent a raw query string and was not safe from SQL injections.

    3.0.1
  • $queryRaw...``: Safe from SQL injections. Sends a prepared statement and returns the resulting rows.

    3.0.1
  • $executeRaw...``: Safe from SQL injections. Sends a prepared statement and returns the result count.

    3.0.1
  • $queryRawUnsafe(...): Not safe from SQL injections. Sends the query as a string and returns the resulting rows. Useful for queries that can't be prepared, like using a variable for the table name.

    3.0.1
  • $executeRawUnsafe(...): Not safe from SQL injections. Sends the query as a string and returns the result count. Useful for queries that can't be prepared, like altering a column's data type.

    3.0.1

Release by release

  1. 3.0.1

    Security fix7 Sep 202142 new
    • Security

      Tagged Template: prisma.$queryRaw...``. This API sent a prepared statement and was safe from SQL injections.

    • Security

      Function Call: prisma.$queryRaw(...). This API sent a raw query string and was not safe from SQL injections.

    • Security

      $queryRaw...``: Safe from SQL injections. Sends a prepared statement and returns the resulting rows.

    • Security

      $executeRaw...``: Safe from SQL injections. Sends a prepared statement and returns the result count.

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.