vegardit / prisma-generator-nestjs-dto

Generates NestJS DTO classes from Prisma Schema
Apache License 2.0
274 stars 75 forks source link

Bump prisma from 3.15.2 to 4.0.0 #160

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps prisma from 3.15.2 to 4.0.0.

Release notes

Sourced from prisma's releases.

4.0.0

We're excited to share the 4.0.0 stable release today. 🎉

Prisma 4.0.0 features a variety of improvements across Prisma Migrate, Prisma schema, and Prisma Client. These changes will impact most Prisma users, particularly those who used some of our most popular Preview features around advanced index management, raw SQL queries, and filtering rows by properties of JSON.

As this is a major release, we included many breaking bug fixes and other enhancements, but we believe upgrading is worthwhile. You can learn about upgrading in our Prisma 4 Upgrade guide.

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

Major improvements

Here's a TL;DR:

  • Preview features moved to General Availability
    • extendedIndexes
    • filterJson
    • improvedQueryRaw
  • Improvements to the Prisma Schema
    • Defaults values for scalar lists (arrays)
    • Improved default support for embedded documents
    • Explicit unique constraints for 1:1 relations
    • Removed support for usage of references on implicit m:n relations
    • Enforcing uniqueness of referenced fields in the references argument in 1:1 and 1:m relations for MySQL
    • Removal of undocumented support for the type alias
    • Removal of the sqlite protocol for SQLite URLs
    • Better grammar for string literals
  • New Prisma Client APIs
    • findUniqueOrThrow
    • findFirstOrThrow
  • General improvements
    • Deprecating rejectOnNotFound
    • Fix rounding errors on big numbers in SQLite
    • DbNull, JsonNull, and AnyNull are now objects
    • Prisma Studio updates
    • Dropped support for Node 12
    • New default sizes for statement cache
    • Renaming of @prisma/sdk npm package to @prisma/internals
    • Removal of the internal schema property from the generated Prisma Client

extendedIndexes is now Generally Available

Starting with this release, we're excited to announce that extendedIndexes is now Generally Available! 🚀

 generator client {
   provider        = "prisma-client-js"
-  previewFeatures = ["extendedIndexes"]
 }

We introduced extendedIndexes in 3.5.0 and have constantly been shipping improvements in the subsequent releases to the configuration of indexes.

... (truncated)

Commits
  • 0d6f1d1 chore(deps): update studio to 0.465.0 (#14030)
  • 6da1a84 chore: revert "fix(sdk): avoid crash in prisma version, rename 'getVersion' -...
  • fda0455 chore(deps): update engines to 3.16.0-49.da41d2bb3406da22087b849f0e911199ba4f...
  • ffb1ec4 chore(deps): update engines to 3.16.0-46.7913709f1e48160e65e366f365c239e3017a...
  • c6951ec chore(deps): update engines to 3.16.0-45.e46a8f52bc07feff72927e42c1fa8bb4627d...
  • ea51fce chore: bump Node.js requirement from 14.0.0 "Current" to 14.17.0 LTS (#13997)
  • 3718bfa fix(sdk): avoid crash in prisma version, rename 'getVersion' -> 'getBinaryVer...
  • 8e90f8a feat(sdk): improved error reporting by adding detail to getConfig and getDmmf...
  • 5e4d9c2 chore(deps): update engines to 3.16.0-44.b49ece5df25d5e0d1d4b4e8935cc70745d76...
  • 8e9f510 chore(deps): update engines to 3.16.0-43.81a0ee489e5f8c8ce98440028ea905009243...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #169.