- add
providePrismaClientExceptionFilter
, improve exception filter docs
- remove deprecated
Prisma.NotFoundError
as it is replaced byPrisma.PrismaClientKnownRequestError
0.20.0 (2023-01-16)
- simplify error handling flow (#39)
- support custom location/multiple Prisma Clients and extensions preview
0.19.0 (2022-10-14)
- catch
Prisma.NotFoundError
offindFirstOrThrow
andfindUniqueOrThrow
withPrismaClientExceptionFilter
- fix: shutdownHooks in microservice context (#32)
0.18.0 (2022-08-18)
- add logging middleware
- extending prisma client for proper logging options
- support graphql with the exception filter
0.17.0 (2022-07-26)
- add support for prisma v4
- add support for nest v9
0.16.0 (2022-06-08)
0.15.1 (2022-01-19)
- schematics: remove
--preview-feature
flag forprisma migrate db seed
command
0.15.0 (2022-01-16)
- lib: add shutdown hook, close #16
- lib: add middlewares option to prisma module, close #15
0.14.3 (2021-11-02)
- exception-filter: unmask prisma client not generated error (#13)
0.14.2 (2021-10-21)
0.14.1 (2021-10-08)
- schematics: change id to $id (aabcd12)
0.14.0 (2021-10-08)
- docker: add mysql support, close #11 (b41785b)
- schematics: prompt datasource provider then add docker during add (68ee05a)
- seed: add seed script to package.json, close #10 (98dc350)
0.13.2 (2021-09-20)
- prisma: add
prisma@^3.0.0
to peer dependencies
0.13.1 (2021-08-27)
- schematics: add mongodb as datasource provider (bd31f4f)
0.13.0 (2021-08-17)
- change master to main (a35d5e3)
- nestjs: adds support for nestjs 8.x.x (96b0748)
- exception-filter: new prisma client exception filter (fbcef2d)
0.12.0 (2021-07-01)
- prisma-service: init options as empty object (ec4d097)
- datasource: pass datasource to prisma init (9cdd23e)
- deps: fetch deps version before installing (a92c7b2)
- docker-compose: add restart policy to nest service (99b74b7)
- prisma: pass options directly to prisma client (ffe0526)
- schematics: add .dockerignore (a827348)
0.11.0 (2021-04-06)
- tsconfig: exclude prisma folder from build (ee6735c)
0.10.0 (2021-04-06)
- docker: set node image version to 14 (f188a57)
- docker: update postgres to v13 (abdb99a)
- migrate: remove preview-feature flag from migrate (7d139ee)
- prisma: replace @prisma/cli with prisma (de1b106)
0.9.0 (2021-02-09)
0.8.0 (2020-12-13)
- migrate: update to new prisma migrate commands (94c6aae)
- prisma: bump prisma peerDeps to [email protected] (863fa7e)
0.7.0 (2020-09-17)
- docker: env file for postgres (5cec264)
- prisma-studio: remove --experimental in 2.7.0 (13b19a1)
0.6.1 (2020-09-08)
- prisma: remove user model, popullated in the lib (eccdaa9)
0.6.0 (2020-09-08)
0.6.0-dev.2 (2020-09-01)
- lib: add prisma service and module as lib, closes #2 (3cc71d0)
- lib: add repo link and bug link for npm (fd09f7e)
- schematics: prompt user to generate prisma service (2e4e72a)
0.5.1 (2020-08-27)
- lib: add repo link and bug link for npm (fd09f7e)
0.5.0 (2020-08-27)
- prisma: add prisma module (449203a)
0.4.0 (2020-08-27)
0.3.0 (2020-08-17)
0.2.0 (2020-08-07)
- prisma: add $ for top level methods (b566c8f)