YassinEldeeb / create-prisma-generator

Get started developing your own â—­ Prisma generator by running a single command.
MIT License
182 stars 7 forks source link

chore(deps-dev): bump prisma from 3.12.0 to 4.9.0 in /packages/cpg-template-typescript/template #295

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps prisma from 3.12.0 to 4.9.0.

Release notes

Sourced from prisma's releases.

4.9.0

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

Highlights

Initial support for database views (Preview)

This release introduces a new keyword, view, behind the views Preview feature flag. You can manually add a view to your Prisma schema, which is ignored when running migrations. This is a small step forward but should already be helpful to many of you depending on workarounds and shell scripts to work with views and Migrate.

Here is an example usage of views:

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

view UserInfo { id Int @​id // from the User model email String name String // from the Profile model bio String }

model User { id Int @​id @​default(autoincrement()) email String @​unique name String? profile Profile? }

model Profile { id Int @​id @​default(autoincrement()) bio String user User @​relation(fields: [userId], references: [id]) userId Int @​unique }

To learn more, head to our documentation. Try it out and let us know your thoughts on this GitHub issue.

Multi-schema support for SQL Server (Preview)

We're thrilled to share that this release adds Preview support for multi-schema for SQL Server.

This release adds support for:

  • Introspecting databases that organize objects in multiple database schemas
  • Managing multi-schema database setups directly from Prisma schema

... (truncated)

Commits
  • f6e1ca6 feat: remove prisma-fmt binary (#16923)
  • bfe786a fix(CLI): revert directUrl in error message (#17371)
  • f16acdd fix(studio): tweak error message when url starts with prisma:// (data proxy) ...
  • 04f3a03 feat(migrate-engine): start moving out of introspection-engine (#16766)
  • b3963d5 feat: directUrl support (#17210)
  • 06c00b2 fix(*): change datasource printing for multiSchema + cleanup (#16868)
  • 3e5835b test(client, cli): local ecosystem tests (#16721)
  • 9036d4d chore(*): remove cuid and unused dependencies (#17200)
  • f135f13 chore(*): switch make-dir to fs-extra + remove @​types/ws & rimraf (#17132)
  • a4f2989 feat: improve prisma db pull error message (#16956)
  • 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 1 year ago

Superseded by #306.