liberandum-io / website

Making the world a better place for animals (and humans).
https://liberandum.vercel.app
0 stars 0 forks source link

Bump @prisma/client from 5.2.0 to 5.4.0 #89

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @prisma/client from 5.2.0 to 5.4.0.

Release notes

Sourced from @​prisma/client's releases.

5.4.0

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

Highlights

Preview support for PlanetScale and Neon serverless database drivers

We’re excited to announce Preview support for the Neon and PlanetScale database drivers. The PlanetScale and Neon database drivers allow Prisma to connect to your database using protocols besides TCP — HTTP (PlanetScale) or WebSockets (Neon).

To get started with the serverless database drivers, first enable the driverAdapters Preview feature flag in your Prisma schema:

// schema.prisma
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["driverAdapters"]
}

Next, to set up Prisma Client to use the serverless database drivers:

PlanetScale

Install the Prisma adapter for PlanetScale and PlanetScale serverless database driver, and undici:

npm install @prisma/adapter-planetscale @planetscale/database undici

Update your Prisma Client instance to use the PlanetScale database driver:

// Import required dependencies
import { connect } from '@planetscale/database';
import { PrismaPlanetScale } from '@prisma/adapter-planetscale';
import { PrismaClient } from '@prisma/client';
import { fetch as undiciFetch } from 'undici';

// Initialize Prisma Client with the PlanetScale serverless database driver const connection = connect({ url: connectionString, fetch: undiciFetch }); const adapter = new PrismaPlanetScale(connection); const prisma = new PrismaClient({ adapter });

Neon

Install the Prisma adapter for Neon, Neon database driver and undici (WebSockets):

</tr></table> 

... (truncated)

Commits
  • 6800c63 fix(client): disable env loading for driver adapters (#21286)
  • 94cd9dc fix(client): Ensure types renamed by the bundler do not leak to third-party p...
  • 1307482 chore(deps): update engines to 5.4.0-47.a5596b96668f0f4b397761ce0956db54e17e4...
  • 73451c9 chore(deps): update prisma driver adapters (#21327)
  • 920ef9e fix(client): extension types with mocking library (#21138)
  • e0f2e5f chore(deps): update engines to 5.4.0-46.3b37c318a976ae7ee215b71633a315315b232...
  • e2cb42f chore(deps): update engines to 5.4.0-45.06e0f081c833fd3b6af31e608cbe53650873c...
  • 00a2fce feat(client): disallow explicit undefined value for adapter (#21315)
  • 556262f test(client): planetscale driver adapter (#21294)
  • 18ec6d9 chore(deps): update engines to 5.4.0-44.a39bb2dcb9f2ca75c528537d32de238eb9096...
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
liberandum ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2023 8:32pm
dependabot[bot] commented 1 year ago

Superseded by #90.