Skip to content

Releases: notiz-dev/nestjs-prisma

0.20.0

16 Jan 18:26
Compare
Choose a tag to compare

Added

  • simplify error handling flow (#39)
  • support custom location/multiple Prisma Clients and extensions preview (#40)

Credits

Thanks to @Loskir for cleaning up the exception filter and changing the exception return type to application/json.

0.20.0-dev.0

11 Nov 13:04
Compare
Choose a tag to compare
0.20.0-dev.0 Pre-release
Pre-release

Added

  • clean up exception filter and change exception response type from text/html to application/json (#38, #39)

Credits

Thanks to @Loskir for cleaning up the exception filter and changing the exception return type to application/json.

0.19.0

14 Oct 16:43
Compare
Choose a tag to compare

Added

  • catch Prisma.NotFoundError of findFirstOrThrow and findUniqueOrThrow with PrismaClientExceptionFilter

Fixed

  • fix: shutdownHooks in microservice context (#32)

Credits

Thanks to @ali-master for adding microservice support in shutdownHook.

0.19.0-dev.1

13 Oct 08:26
Compare
Choose a tag to compare
0.19.0-dev.1 Pre-release
Pre-release

Added

  • catch Prisma.NotFoundError of findFirstOrThrow and findUniqueOrThrow with PrismaClientExceptionFilter (#36)

0.19.0-dev.0

27 Sep 05:54
Compare
Choose a tag to compare
0.19.0-dev.0 Pre-release
Pre-release

Fixed

  • fix: shutdownHooks in microservice context (#32)

Credits

Thanks to @ali-master for adding microservice support in shutdownHook.

0.18.0

18 Aug 14:43
Compare
Choose a tag to compare

Checkout the new docs site at nestjs-prisma.dev to get started with nestjs-prisma and find all configuration options. 🤩 If you find the docs are missing information, feel free to edit the README.md. 🙏

Added

  • add logging middleware
  • extending prisma client for proper logging options #30, closes #23

Changed

  • support GraphQL with the exception filter (#29)

Credits

Thanks to @suryatmodulus for adding GraphQL support to the exception filter.
Thanks to @le-ar updating prisma client types for logging options.

0.18.0-dev.1

17 Aug 13:28
Compare
Choose a tag to compare
0.18.0-dev.1 Pre-release
Pre-release

Added

  • extending prisma client for proper logging options #30, closes #23

Credits

Thanks to @le-ar updating prisma client types for logging options.

0.18.0-dev.0

29 Jul 08:14
Compare
Choose a tag to compare
0.18.0-dev.0 Pre-release
Pre-release

Added

  • add logging middleware

Changed

  • support GraphQL with the exception filter (#29)

Credits

Thanks to @suryatmodulus for adding GraphQL support to the exception filter.

0.17.0

26 Jul 09:14
Compare
Choose a tag to compare

Added

  • add support for prisma v4
  • add support for nest v9

Credits

Thanks to @donnguyen for adding support for prisma v4.

0.17.0-dev.1

18 Jul 07:13
Compare
Choose a tag to compare
0.17.0-dev.1 Pre-release
Pre-release

Added

  • add support for nest v9