@nestjs-mod/prisma
Version:
Next-generation Node.js and TypeScript ORM for NestJS-mod (preview version only for Postgres)
370 lines (167 loc) • 18.6 kB
Markdown
# [1.16.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.15.0...prisma-v1.16.0) (2025-06-05)
### Features
* add support new prisma options: runtime, moduleFormat, generatedFileExtension, importFileExtension and update prisma to 6.9.0 ([093493a](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/093493ae5bd169b382522301243f128cc6066cb6))
# [1.15.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.14.2...prisma-v1.15.0) (2025-06-03)
### Features
* add feature modules from https://github.com/nestjs-mod/nestjs-mod-sso ([31a870f](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/31a870fb40f20e9a8f03ecb14dd1a341c60551a5))
## [1.14.2](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.14.1...prisma-v1.14.2) (2025-05-28)
### Bug Fixes
* add options for change main provider ([73eddbf](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/73eddbf387de804e985b79a8b3aa85824759a97a))
## [1.14.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.14.0...prisma-v1.14.1) (2025-05-25)
### Bug Fixes
* update for small pach names ([99055c9](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/99055c97d0d4a2a90d6174e93b6d28e1e4e37949))
# [1.14.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.13.0...prisma-v1.14.0) (2025-05-25)
### Bug Fixes
* update logic for create path to output ([e3920d2](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/e3920d25b206a2c5394a1fc4a8f1c4c62665a4fa))
### Features
* add "output" optios for change directory where Prisma Client is generated ([89e6528](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/89e65282dd1abd799795983c88da8658e6a203f5))
# [1.13.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.12.1...prisma-v1.13.0) (2025-05-24)
### Features
* add new feature module prisma-tools ([1470204](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/14702041c2ad290234260a57652cd03c6314dcc5))
## [1.12.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.12.0...prisma-v1.12.1) (2025-04-03)
### Bug Fixes
* add support use promise based function for prismaClientFactory ([5c89a63](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/5c89a63be2823e3d5f355c9d075cf22fbb9baeab))
# [1.12.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.11.4...prisma-v1.12.0) (2025-04-02)
### Features
* add prismaClientFactory for can use custom driver as https://www.prisma.io/docs/orm/overview/databases/postgresql#using-the-node-postgres-driver, example project https://github.com/nestjs-mod/nestjs-mod-contrib/tree/master/apps/example-pg-prisma-pg-flyway ([26d915a](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/26d915aa1644648c09f1cbcad5b83a91a21a62b6))
## [1.11.4](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.11.3...prisma-v1.11.4) (2025-02-20)
### Bug Fixes
* update pg-flyway version ([91f058d](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/91f058d7325f604825f310041bc120a647a6d24a))
## [1.11.3](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.11.2...prisma-v1.11.3) (2025-01-27)
### Bug Fixes
* add options for change engineType ([f849783](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/f849783e05cb703f36687aea1407ba1f7212d264))
## [1.11.2](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.11.1...prisma-v1.11.2) (2025-01-24)
### Bug Fixes
* lock some dependencies ([b01694e](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/b01694e6366a135b7dec051b31ac6d7b608c0bb1))
## [1.11.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.11.0...prisma-v1.11.1) (2025-01-22)
### Bug Fixes
* lock version of case-anything ([511d86b](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/511d86bec4dad6bf0a4f6985c5dbe197fbdb7983))
# [1.11.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.10.4...prisma-v1.11.0) (2025-01-16)
### Features
* append new infrastructure module for work with pf-flyway ([9a6ba03](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/9a6ba03c3c9267da0c436abfaa42d0efd89facbe))
## [1.10.4](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.10.3...prisma-v1.10.4) (2024-12-30)
### Bug Fixes
* update deps ([67d7179](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/67d7179e8078b8cb0bd7fdc3874563bc91c4e031))
## [1.10.3](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.10.2...prisma-v1.10.3) (2024-12-30)
### Bug Fixes
* add previewFeatures to PrismaConfiguration ([9264be6](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/9264be682010f091c0b0dd8ef3e92fb170d7d2f1))
## [1.10.2](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.10.1...prisma-v1.10.2) (2024-09-27)
### Bug Fixes
* add suport use empty featureName in prisma anf flyway modules ([4f39089](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/4f3908968f703d7607d2c4de85fc39792c5cc628))
## [1.10.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.10.0...prisma-v1.10.1) (2024-09-25)
### Bug Fixes
* reexprt FakePrismaClient as PrismaClient, for use as mock import prisma client in applications ([84ce917](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/84ce9176c317976ee9ff4de9745038c09c443302))
# [1.10.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.9.2...prisma-v1.10.0) (2024-09-22)
### Bug Fixes
* update nestjs-mod libs ([db15c5b](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/db15c5b3d48b0844c66d437e00a15a690610da1a))
### Features
* add support use custom nxProjectJsonFile in prisma, docker-compose-postgresql, flyway ([d8530d9](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/d8530d9ed591af51e86f645a4320def58ecff227))
## [1.9.2](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.9.1...prisma-v1.9.2) (2024-08-15)
### Bug Fixes
* update nestjs-mod libs ([bcda74e](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/bcda74e33d42f9e79b48ef33dd0e5ec1c578eb5c))
## [1.9.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.9.0...prisma-v1.9.1) (2024-08-15)
### Bug Fixes
* added merging of the original application options with new options ([4d126b8](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/4d126b8b42fdc50b2f4222202e6151ba49568baa))
* update nestjs-mod libs ([3481d3a](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/3481d3aac9e53003aa9109ee070c11f9d85853aa))
# [1.9.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.8.1...prisma-v1.9.0) (2024-07-29)
### Features
* npm run nx -- migrate latest && npm run npx nx migrate --run-migrations ([e16fb8a](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/e16fb8a6648061448de7de441e0d26a4c72324f4))
* npm run update:lib-versions && npm run manual:prepare ([4c27038](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/4c270386e5cff279438ccce4905ddc352220c0e1))
* npm run update:nestjs-mod-versions ([f9ebf6b](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/f9ebf6b0791ad9661f7fde0f637c65738c498c9c))
## [1.8.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.8.0...prisma-v1.8.1) (2024-05-04)
### Bug Fixes
* update nestjs-mod libs ([aee56d5](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/aee56d58a3d60cb3d1969cea12cf1f8c27cbdf57))
# [1.8.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.7.0...prisma-v1.8.0) (2024-03-07)
### Features
* update logic for search env keys in docker compose services, use service name as prefix for env key name ([e544c7b](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/e544c7b093094d5ccb1b9766430ac1e5e434a475))
# [1.7.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.9...prisma-v1.7.0) (2024-03-06)
### Features
* add @nestjs-mod/authorizer for work with https://authorizer.dev/, add DockerComposeAuthorizer for deploy authorizer server, add option notStaticKeysOfEnvironments in docker services for exclude some keys from generated dot env file ([12380a4](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/12380a4c690345265b4df02de51250c96f21e417))
## [1.6.9](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.8...prisma-v1.6.9) (2024-03-04)
### Bug Fixes
* add binaryTargets to prisma configuration ([0c8cac8](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/0c8cac846eda9f03e5b06b18253d9eaf0935170d))
## [1.6.8](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.7...prisma-v1.6.8) (2024-03-04)
### Bug Fixes
* add binaryTargets to prisma configuration ([9656b37](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/9656b3783dbd1d4a36eb763d26abf075b0bc9453))
## [1.6.7](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.6...prisma-v1.6.7) (2024-03-04)
### Bug Fixes
* add check prisma schema name in commands before add new command ([218b0f3](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/218b0f360643909783dea7472c7e49b5f0769938))
* removed all "--" as it caused a side effect and prevented the command from completing correctly ([d5e3d36](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/d5e3d36417120bdd576a03b82837cd9d7c3bbcf8))
## [1.6.6](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.5...prisma-v1.6.6) (2024-02-28)
### Bug Fixes
* add support correct order on write env key values ([41f1e4b](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/41f1e4b0a922327855461e4a2917e79aeba165d9))
## [1.6.5](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.4...prisma-v1.6.5) (2024-02-28)
### Bug Fixes
* add comment to env file about shadowDatabaseName ([de5b69a](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/de5b69a4f04e0bbb47b86f59bcf9c8811c8a7dfb))
## [1.6.4](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.3...prisma-v1.6.4) (2024-02-27)
### Bug Fixes
* update getPrismaClientToken function for correct work ([0292ea2](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/0292ea2a6963c624d0e5eaca4b11846cae52120c))
## [1.6.3](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.2...prisma-v1.6.3) (2024-02-25)
### Bug Fixes
* add ext methods to FakePrismaClient ([c39adbf](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/c39adbf05b2571a6f35990027f8428553e8f45c6))
* expose getServiceToken from docker modules, cache-modules, prisma and terminus ([108dc60](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/108dc606fe4a8bb0f91375b244814ac32dbc7525))
## [1.6.2](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.1...prisma-v1.6.2) (2024-02-25)
### Bug Fixes
* add type TransactionPrismaClient ([05b308c](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/05b308c6bbd4aab8595d51b50e8aef93751dc0c2))
## [1.6.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.6.0...prisma-v1.6.1) (2024-02-22)
### Bug Fixes
* add transform: new NumberTransformer() for all number options in settings ([71fc6d8](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/71fc6d84936e4ba0dfa0881a2e1ff57b5b03914f))
# [1.6.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.5.1...prisma-v1.6.0) (2024-02-17)
### Features
* add support in prisma work with context mode ([b3a1f55](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/b3a1f55cfb6ef7f1708298fbfd69752735a0d160))
## [1.5.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.5.0...prisma-v1.5.1) (2024-02-13)
### Bug Fixes
* add pingDatabaseIntervalMs to prisma config for disable setInterval ([641b272](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/641b272e030e175d85f3098d454c74e5dce6bfa0))
* rename all featureName options in modules ([6d46c47](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/6d46c475c75023b4eaf53cb8d6ba7640bfad3ad6))
# [1.5.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.4.0...prisma-v1.5.0) (2024-02-13)
### Features
* add DockerComposeMinio in @nestjs-mod/docker-compose, add @nestjs-mod/minio ([0d3f9b7](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/0d3f9b74ad4eb79476eda1be6266bac636d3d4a5))
* add DockerComposeNginx to @nestjs-mod/docker-compose, add use nginx in docker-compose for minio and disable cors validations, update readme in all modules ([87cb34a](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/87cb34ad31aab7e8d5fbc9510d43b501529ac9d0))
# [1.4.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.3.0...prisma-v1.4.0) (2024-02-09)
### Features
* add GraphqlModule in @nestjs-mod/graphql, add @nestjs-mod/cache-manager, update code in @nestjs-mod/pino, update readme in all modules, update @nestjs-mod/common version ([c36b138](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/c36b13870b6754a80c38a482aa0cb34bddafa2ed))
# [1.3.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.2.2...prisma-v1.3.0) (2024-02-07)
### Bug Fixes
* update [@nestjs-mod](https://github.com/nestjs-mod) versions from 2.6.1 to 2.6.3 ([e8b7f80](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/e8b7f8084cdb5ac15bf8ea127139adc1735214a1))
### Features
* add DockerComposeRedis in @nestjs-mod/docker-compose, add @nestjs-mod/cache-manager, rename FlywayModule to Flyway, rename NestjsPinoLogger to NestjsPinoLoggerModule, rename TerminusHealthCheck to TerminusHealthCheckModule, remove all async work with fs ([1c5474a](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/1c5474afc696d3e23f38fdf3e0865ab75bc71446))
## [1.2.2](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.2.1...prisma-v1.2.2) (2024-02-01)
### Bug Fixes
* update package json file generator, remove add migrations script for prisma, when we disable addMigrationScripts options ([8fea330](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/8fea33032be53cdb3f048bd4f1b4a0152719d34f))
## [1.2.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.2.0...prisma-v1.2.1) (2024-02-01)
### Bug Fixes
* add create directory when we try create or update some files from infrastructure logic ([90e3ea8](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/90e3ea87a136002966e3b973a69caab1421f9423))
# [1.2.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.1.1...prisma-v1.2.0) (2024-02-01)
### Bug Fixes
* move dependencies from code to dependenciesInfo and readme, update generator for ecosystem.config.json ([7aa6ce1](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/7aa6ce1bac8c0f5938d939f3d463c490882dc47c))
### Features
* add @nestjs-mod/flyway ([ab20eef](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/ab20eef94166f6be10b39d2ef72ac8873ddb691c))
## [1.1.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.1.0...prisma-v1.1.1) (2024-01-30)
### Bug Fixes
* update logic for generate package json scripts, add order for categories ([66e0753](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/66e07536875d5574fefb6e307e6dfd17c1596ca8))
# [1.1.0](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.0.3...prisma-v1.1.0) (2024-01-30)
### Features
* the files and commands added to the infrastructure have been expanded, and examples of working with libraries have been added ([7f6c852](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/7f6c8522f51397ef78a36d6bae09a62f19418518))
## [1.0.3](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.0.2...prisma-v1.0.3) (2024-01-24)
### Bug Fixes
* update [@nestjs-mod](https://github.com/nestjs-mod) versions from 2.5.2 to 2.5.3 ([ba4d80c](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/ba4d80c6fb0c0fcd2dc608efa5abf581bb01bc43))
## [1.0.2](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.0.1...prisma-v1.0.2) (2024-01-24)
### Bug Fixes
* update [@nestjs-mod](https://github.com/nestjs-mod) versions from 2.5.0 to 2.5.1 ([611bd6c](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/611bd6ccf9fc78c63b7666625874e68420f5a357))
* update [@nestjs-mod](https://github.com/nestjs-mod) versions from 2.5.0 to 2.5.2 ([e4aec57](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/e4aec57531c6fbb456fb1e4d19c3984e9533dd9b))
## [1.0.1](https://github.com/nestjs-mod/nestjs-mod-contrib/compare/prisma-v1.0.0...prisma-v1.0.1) (2024-01-23)
### Bug Fixes
* add description of prisma mopdule to report and update sample with application, for correct generate report ([46100d7](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/46100d7ce06d3481e4cef79b47de3dd73af83961))
# 1.0.0 (2024-01-23)
### Bug Fixes
* update [@nestjs-mod](https://github.com/nestjs-mod) deps ([6a4c714](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/6a4c714ca98be0b871e2f5ab5dabf3339337fee5))
* update [@nestjs-mod](https://github.com/nestjs-mod) deps ([4c28452](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/4c28452792a17d311ae825f5d100be537f682e07))
* update FakePrismaClient for correct work in isInfrastructureMode ([a1e3686](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/a1e3686a0f2e554174f14eb15ae4dd72f7d4752b))
### Features
* add @nestjs-mod/docker-compose ([b5ddd56](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/b5ddd569e4374939e5760b13bbd1246dd59673d3))
* add @nestjs-mod/pm2 ([a0b3f39](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/a0b3f392976d9380f2f7efb3c1ed5825e741e87e))
* add @nestjs-mod/prisma, update docker-compose for correct work with envs ([750f302](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/750f3022e42dd7af3aca2344d92bb1406b9009cc))
* **pin:** add Pino logger for NestJS-mod (Wrapper for https://www.npmjs.com/package/nestjs-pino) ([55466f5](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/55466f52ccf1792a5a4f32df80e574be4da71952))
* update [@nestjs-mod](https://github.com/nestjs-mod) versions from 1.7.2 to 1.9.0 ([182faa0](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/182faa05ab60dd8e2f13f3fb04b472a7a05f6a75))
* update [@nestjs-mod](https://github.com/nestjs-mod) versions from 1.9.0 to 2.1.0 ([4b58355](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/4b58355f755d25ac94fe9267efb9439e23c73a21))
* update deps and add TerminusHealthCheck module ([2d1a334](https://github.com/nestjs-mod/nestjs-mod-contrib/commit/2d1a334291246adf3e7e3ccd83346eda113ad31a))