@prisma/client
7.10.1 · 15 Oct 2026Apache-2.024.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @prisma/client From 2.15.0 to 2.16.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 35
- new
- 0
- fixes
Release by release
- New
Via introspection in cases when Prisma detects a database column with a type that is not yet natively supported by Prisma
- New
manually in combination with Prisma Migrate; in this case Prisma Migrate generates a SQL migration with the type that's provided as an argument to
Unsupportedin the Prisma schema - New
When using the
nativeTypesPreview feature, introspection will only render a native attribute if the column type does not map to Prisma's corresponding default type. This might remove any existing type annotations upon (re-)introspection where the default mapping is currently in place. - New
If no action is taken, the next time a new migration is created with
prisma migrate dev, Prisma Migrate will generate DDL statements to change columns of Prisma's typeFloatto useDoubleinstead ofDecimal. These changes may lead to rounding errors due to differences in precision.
- New
3 other lines we could not sort, mostly version bumps
- 2.16.0
Columns of type
BIT(1)can now be mapped to Prisma'sBooleantype as well using theBitnative type attribute, e.g.myField Boolean @db.Bit(1). - 2.16.0
Default mapping for Prisma's
Floattype has been changed fromDECIMAL(65,30)toDouble. - 2.16.0
Default mapping for Prisma's
Decimaltype has been changed fromREALtoDECIMAL.
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.