paperclip
paperclip copied to clipboard
chore(deps-dev): bump prisma from 2.28.0 to 5.6.0
Bumps prisma from 2.28.0 to 5.6.0.
Release notes
Sourced from prisma's releases.
5.6.0
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
🚀 Prisma Accelerate, our connection pool and global edge cache, is now Generally Available! Sign up to give it a try. 🚀
Highlights
Driver adapters improvements (Preview)
In version 5.4.0, we released
driverAdaptersinto Preview. ThedriverAdaptersfeature enables Prisma Client to access your database using JavaScript or Serverless database drivers.In this release, we fixed many bugs for the existing driver adapters. We appreciate all the community feedback that has helped us improve this feature!
PlanetScale serverless driver adapter improvements
This release also introduces a small breaking change to the
@prisma/adapter-planetscalepackage to improve its stability and performance. The serverless driver adapter will now use a connection pool instead of a single connection from PlanetScale’s serverless driver.In case you’re using the
@prisma/adapter-planetscale, update your Prisma Client instance with the following:-import { connect } from '@planetscale/database' +import { Client } from '@planetscale/database' import { PrismaPlanetScale } from '@prisma/adapter-planetscale' import { PrismaClient } from '@prisma/client' import { fetch as undiciFetch } from 'undici';-const connection = connect({ url: connectionString, fetch: undiciFetch }) +const client = new Client({ url: connectionString, fetch: undiciFetch })
-const adapter = new PrismaPlanetScale(connection) +const adapter = new PrismaPlanetScale(client)
const prisma = new PrismaClient({ adapter })
If you run into the following error:
[TypeError]: PrismaPlanetScale must be initialized with an instance of Client., you can use the following snippet when defining your Prisma Client instance:import { createRequire } from "node:module"; import { PrismaPlanetScale } from "@prisma/adapter-planetscale"; import { fetch as undiciFetch } from 'undici';const require = createRequire(import.meta.url); const { Client } = require("
@planetscale/database");const client = new Client({ url: process.env.DATABASE_URL , fetch: undiciFetch }) const adapter = new PrismaPlanetScale(client);
Request for feedback
... (truncated)
Commits
05a02d4chore(deps): update definitelytyped (#21715)beb099cchore(deps): update devdependencies patch (non-major) (#21716)5eac946chore(deps): update dependency@types/jestto v29.5.8 (#21837)bf4da64chore(debug): change display & add 1 test (#21760)1861856chore(deps): update studio to v0.495.0 (#21771)4e657c4test: Change how connection strings are created for and provided to integrati...021d5edfeat(client): wasm engine (#21382)1ce83fechore(deps): update jest (#21717)7a86e54chore: remove node-fetch from publish and cleanup (#21677)7d01339feat(CLI): add debug command (#21626)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| paperclip | 🛑 Canceled (Inspect) | Nov 20, 2023 7:31pm |