Notiz Dev Nestjs Prisma Versions Save

Easy Prisma support for your NestJS application

v0.20.0

1 year ago

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.

v0.20.0-dev.0

1 year ago

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.

v0.19.0

1 year ago

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.

v0.19.0-dev.1

1 year ago

Added

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

v0.19.0-dev.0

1 year ago

Fixed

  • fix: shutdownHooks in microservice context (#32)

Credits

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

v0.18.0

1 year ago

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.

v0.18.0-dev.1

1 year ago

Added

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

Credits

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

v0.18.0-dev.0

1 year ago

Added

  • add logging middleware

Changed

  • support GraphQL with the exception filter (#29)

Credits

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

v0.17.0

1 year ago

Added

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

Credits

Thanks to @donnguyen for adding support for prisma v4.

v0.17.0-dev.1

1 year ago

Added

  • add support for nest v9