Notiz Dev Nestjs Prisma Versions Save

Easy Prisma support for your NestJS application

v0.23.0

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/notiz-dev/nestjs-prisma/compare/v0.22.0...v0.23.0

v0.23.0-dev.0

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/notiz-dev/nestjs-prisma/compare/v0.22.0...v0.23.0-dev.0

v0.22.0

9 months ago

Added

Remove enableShutdownHooks from your main.ts

// main.ts
- const prismaService: PrismaService = app.get(PrismaService);
- await prismaService.enableShutdownHooks(app);

v0.22.0-dev.0

10 months ago

Added

Remove enableShutdownHooks from your main.ts

// main.ts
- const prismaService: PrismaService = app.get(PrismaService);
- await prismaService.enableShutdownHooks(app);

v0.21.0

10 months ago

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 by Prisma.PrismaClientKnownRequestError

v0.21.0-dev.3

10 months ago

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({/* ... */})

v0.21.0-dev.2

10 months ago

Added

  • support Nest 10 as peerDeps

v0.20.1

10 months ago

Fixed

  • return exception directly for graphql requests, #58 (#62)

v0.21.0-dev.1

1 year ago

Changed

  • remove deprecated Prisma.NotFoundError as it is replaced by Prisma.PrismaClientKnownRequestError

v0.21.0-dev.0

1 year ago

Added

  • add providePrismaClientExceptionFilter, improve exception filter docs