Releases: notiz-dev/nestjs-prisma
Releases · notiz-dev/nestjs-prisma
0.23.0
What's Changed
- remove comment by @yicrotkd in #80
- support custom error message mappings by @megane42 in #73
- refactor docs by @gonza7aav in #86
- Update custom-prisma-service.md by @ms10596 in #85
New Contributors
- @yicrotkd made their first contribution in #80
- @megane42 made their first contribution in #73
- @gonza7aav made their first contribution in #86
- @ms10596 made their first contribution in #85
Full Changelog: v0.22.0...v0.23.0
0.23.0-dev.0
0.22.0
Added
- support Prisma v5
- remove
enableShutdownHooks
as it is no longer needed (not needed since Prisma v3 - nestjs/docs.nestjs.com#2797)
Remove enableShutdownHooks
from your main.ts
// main.ts
- const prismaService: PrismaService = app.get(PrismaService);
- await prismaService.enableShutdownHooks(app);
0.22.0-dev.0
Added
- support Prisma v5
- remove
enableShutdownHooks
as it is no longer needed (not needed since Prisma v3 - nestjs/docs.nestjs.com#2797)
Remove enableShutdownHooks
from your main.ts
// main.ts
- const prismaService: PrismaService = app.get(PrismaService);
- await prismaService.enableShutdownHooks(app);
0.21.0
Added
- add
providePrismaClientExceptionFilter
, improve exception filter docs - support Nest 10 as peerDeps
- support Prisma Client extension GA (4.16)
This removes enableShutdownHooks
from CustomPrismaService
as this is not available after PrismaClient $extends
. If you want to use $on
do it in this order
const prisma = new PrismaClient()
.$on(/* ... */)
.$extends({/* ... */})
Changed
- remove deprecated
Prisma.NotFoundError
as it is replaced byPrisma.PrismaClientKnownRequestError
0.21.0-dev.3
Added
- support Prisma Client extension GA (4.16)
This removes enableShutdownHooks
from CustomPrismaService
as this is not available after PrismaClient $extends
. If you want to use $on
do it in this order
const prisma = new PrismaClient()
.$on(/* ... */)
.$extends({/* ... */})
0.21.0-dev.2
Added
- support Nest 10 as peerDeps
0.20.1
0.21.0-dev.1
Changed
- remove deprecated
Prisma.NotFoundError
as it is replaced byPrisma.PrismaClientKnownRequestError
0.21.0-dev.0
Added
- add
providePrismaClientExceptionFilter
, improve exception filter docs