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.10.1 in /packages/cpg-template-typescript/template #306

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps prisma from 3.12.0 to 4.10.1.

Release notes

Sourced from prisma's releases.

4.10.1

Today, we are issuing the 4.10.1 patch release.

Fixes in Prisma Client

4.10.0

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

Highlights

Improved CLI support for connection poolers

When working with connection poolers such as the Prisma Data Proxy, Accelerate or pgBouncer, it is necessary to use a different URL to connect to the database when using Prisma Client and Prisma Migrate.

We're introducing a new datasource property directUrl to improve this. When the directUrl property is present, the Prisma CLI will use it to connect to the database for tasks such as introspection and migrations.

# .env
# Connection to Prisma Data Proxy. Used by Prisma Client.
DATABASE_URL="prisma://__HOST__/?api_key=__KEY__"
# Connection to the database. Used for migrations and introspection.
DIRECT_URL="postgresql://__USER__:__PASSWORD__@__HOST__:__PORT__/__DATABASE__"
// ./prisma/schema.prisma
generator client {
  provider = "prisma-client-js"
}

datasource db { provider = "postgresql" url = env("DATABASE_URL") directUrl = env("DIRECT_URL") }

To learn more, refer to our documentation.

Introspection support for PostgreSQL views

We introduced initial support for database views in 4.9.0 with the addition of the view keyword. This release introduces introspection support for PostgreSQL views. You can run prisma db pull against your database to populate your Prisma schema with your views.

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

Improved introspection for unsupported database functionality & partitioned tables

... (truncated)

Commits
  • 7755655 fix(directUrl): do not use directUrl for studio (#17760)
  • 1ea1511 feat(cli): add --generator option to generate cmd (#16452)
  • a3e9bae chore(deps): update jest (#17130)
  • a256dbb chore(deps): update devdependencies (non-major) (#16290)
  • 720542e fix(deps): update dependency node-fetch to v2.6.9 (#17670)
  • 7fb9643 fix(deps): update dependency checkpoint-client to v1.1.23 (#17693)
  • 8ad76c3 feat: add support for Wasm'd getDmmf (#17533)
  • 9080e56 feat: move snapshot utilities to @prisma/get-platform, test getPlatform o...
  • cc519a8 feat: stop downloading introspection-engine (#17301)
  • f044ce9 chore(deps): update studio to v0.481.0 (#17401)
  • 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)