Packages

@prisma/client

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

Upgrading @prisma/client From 2.16.1 to 2.17.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.16.1Newest 2.x2.30.3Latest7.10.1
  1. 2.16.1yours
  2. 2.17.0target

Start here

Before you upgrade

Tick each one off as you go
  • Breaking2.17.0
  • Breaking2.17.0
  • Breaking2.17.0
  • Breaking2.17.0

Release by release

  1. 2.17.0

    Migration needed16 Feb 202173 new · 2 fixes
    • Breaking

      Note that this release comes with some breaking changes.

    • Breaking

      Note that this release comes with a few minor breaking changes compared to previous versions.

    • Breaking

      If you want to continue using Decimal(65,30), you need to change the type in the Prisma schema from Float to Decimal. Alternatively, you can also run prisma introspect which will automatically remap the previous Float fields to Decimal. Note that this will also change the type that Prisma Client returns from Number to Decimal.js.

    • Breaking

      If you would like to change the column's type in the database from Decimal(65,30) to Double, leave the Prisma schema as is and create a new migration. Prisma Migrate will alter the column's type to Double. Note that if you have rows with data for the column, they will be cast from Decimal(65,30) to Double.

9 other lines we could not sort, mostly version bumps
  • Native types are now stable

    2.17.0
  • Prisma Migrate now works with cloud-hosted databases (e.g. Heroku)

    2.17.0
  • Soft resets for cloud-hosted environments

    2.17.0
  • More improvements and bug fixes for Prisma Migrate

    2.17.0
  • Improvements and changes for prisma db push

    2.17.0
  • prisma db seed now supports custom schema locations

    2.17.0
  • Improvements and bug fixes in Prisma Client

    2.17.0
  • The flag —-force has been renamed to --accept-data-loss to be more explicit - this is required for certain changes that involve losing data, e.g. dropping a table or dropping a column if there are rows.

    2.17.0
  • We've added a new flag —-force-reset which first resets the database and then updates the schema - this can be useful to start from scratch and as a way to deal with unexecutable migrations (see above).

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