Skip to content

Latest commit

 

History

History
298 lines (126 loc) · 11.1 KB

CHANGELOG.md

File metadata and controls

298 lines (126 loc) · 11.1 KB

Not released

Added

  • add providePrismaClientExceptionFilter, improve exception filter docs

Changed

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

0.20.0 (2023-01-16)

Added

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

0.19.0 (2022-10-14)

Added

  • catch Prisma.NotFoundError of findFirstOrThrow and findUniqueOrThrow with PrismaClientExceptionFilter

Fixed

  • fix: shutdownHooks in microservice context (#32)

0.18.0 (2022-08-18)

Added

  • add logging middleware
  • extending prisma client for proper logging options

Changed

  • support graphql with the exception filter

0.17.0 (2022-07-26)

Added

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

0.16.0 (2022-06-08)

Features

  • exception filter: custom error code mapping (#21) (6b36d6b)

Bug Fixes

0.15.1 (2022-01-19)

Bug Fixes

  • schematics: remove --preview-feature flag for prisma migrate db seed command

0.15.0 (2022-01-16)

Features

  • lib: add shutdown hook, close #16
  • lib: add middlewares option to prisma module, close #15

0.14.3 (2021-11-02)

Bug Fixes

  • exception-filter: unmask prisma client not generated error (#13)

0.14.2 (2021-10-21)

Bug Fixes

  • docker-compose: fix depends on for postgres (#12) and mysql db (365a832)

0.14.1 (2021-10-08)

Bug Fixes

  • schematics: change id to $id (aabcd12)

0.14.0 (2021-10-08)

Features

  • 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)

Chore

  • prisma: add prisma@^3.0.0 to peer dependencies

0.13.1 (2021-08-27)

Features

  • schematics: add mongodb as datasource provider (bd31f4f)

0.13.0 (2021-08-17)

Bug Fixes

Features

  • nestjs: adds support for nestjs 8.x.x (96b0748)
  • exception-filter: new prisma client exception filter (fbcef2d)

0.12.0 (2021-07-01)

Bug Fixes

  • prisma-service: init options as empty object (ec4d097)

Features

  • 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)

Features

  • tsconfig: exclude prisma folder from build (ee6735c)

0.10.0 (2021-04-06)

Features

  • 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)

Features

  • docker: update postgres to v13 (abdb99a)
  • prisma: replace @prisma/cli with prisma (de1b106)

0.8.0 (2020-12-13)

Features

0.7.0 (2020-09-17)

Bug Fixes

  • docker: env file for postgres (5cec264)

Features

  • prisma-studio: remove --experimental in 2.7.0 (13b19a1)

0.6.1 (2020-09-08)

Bug Fixes

  • prisma: remove user model, popullated in the lib (eccdaa9)

0.6.0 (2020-09-08)

Features

  • schematics: prompt to dockerize app (#4) (f79f933)

0.6.0-dev.2 (2020-09-01)

Features

  • 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)

Features

  • lib: add repo link and bug link for npm (fd09f7e)

0.5.0 (2020-08-27)

Features

  • prisma: add prisma module (449203a)

0.4.0 (2020-08-27)

Features

  • prisma: change prismaVersion to latest (301813b)
  • schematics: save to devDeps (1215f21)

0.3.0 (2020-08-17)

Features

  • prisma: add $ for top level methods (b566c8f)
  • prisma: add npx prisma init command (f88d36d)

0.2.0 (2020-08-07)

Features

  • prisma: add $ for top level methods (b566c8f)

0.1.1 (2020-08-06)

Features

  • prisma: add npm scripts, prisma service and docker option (9ff09a7)
  • prisma: add prisma cli and client dependencies (ddf01fe)