Skip to content

Releases: notiz-dev/nestjs-prisma

v0.24.0-dev.0

02 Dec 12:12
Compare
Choose a tag to compare
v0.24.0-dev.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.23.0...v0.24.0-dev.0

0.23.0

02 Feb 18:28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.22.0...v0.23.0

0.23.0-dev.0

01 Nov 17:41
Compare
Choose a tag to compare
0.23.0-dev.0 Pre-release
Pre-release

What's Changed

  • remove comment by @yicrotkd in #80
  • support custom error message mappings by @megane42 in #73
  • update nest and prisma deps to latest

New Contributors

Full Changelog: v0.22.0...v0.23.0-dev.0

0.22.0

27 Jul 13:37
Compare
Choose a tag to compare

Added

Remove enableShutdownHooks from your main.ts

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

0.22.0-dev.0

17 Jul 07:50
Compare
Choose a tag to compare
0.22.0-dev.0 Pre-release
Pre-release

Added

Remove enableShutdownHooks from your main.ts

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

0.21.0

10 Jul 13:40
Compare
Choose a tag to compare

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

0.21.0-dev.3

10 Jul 13:37
Compare
Choose a tag to compare
0.21.0-dev.3 Pre-release
Pre-release

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

19 Jun 16:28
Compare
Choose a tag to compare
0.21.0-dev.2 Pre-release
Pre-release

Added

  • support Nest 10 as peerDeps

0.20.1

19 Jun 07:44
Compare
Choose a tag to compare

Fixed

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

0.21.0-dev.1

28 Apr 13:24
Compare
Choose a tag to compare
0.21.0-dev.1 Pre-release
Pre-release

Changed

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