@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…
- 4
- changes to make
- 0
- advisories fixed
- 73
- new
- 2
- fixes
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
- 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 fromFloattoDecimal. Alternatively, you can also runprisma introspectwhich will automatically remap the previousFloatfields toDecimal. Note that this will also change the type that Prisma Client returns fromNumbertoDecimal.js. - Breaking
If you would like to change the column's type in the database from
Decimal(65,30)toDouble, leave the Prisma schema as is and create a new migration. Prisma Migrate will alter the column's type toDouble. Note that if you have rows with data for the column, they will be cast fromDecimal(65,30)toDouble.
- Breaking
9 other lines we could not sort, mostly version bumps
- 2.17.0
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 seednow supports custom schema locations - 2.17.0
Improvements and bug fixes in Prisma Client
- 2.17.0
The flag
—-forcehas been renamed to--accept-data-lossto 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-resetwhich 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).
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.