scrapbook icon indicating copy to clipboard operation
scrapbook copied to clipboard

Bump @prisma/client from 3.14.0 to 4.2.1

Open dependabot[bot] opened this issue 1 year ago β€’ 0 comments

Bumps @prisma/client from 3.14.0 to 4.2.1.

Release notes

Sourced from @​prisma/client's releases.

4.2.1

Today, we are issuing the 4.2.1 patch release.

Fix in Prisma Client

4.2.0

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

Major improvements

Prisma Client tracing support (Preview)

We're excited to announce Preview support for tracing in Prisma Client! πŸŽ‰

Tracing allows you to track requests as they flow through your application. This is especially useful for debugging distributed systems where each request can span multiple services.

With tracing, you can now see how long Prisma takes and what queries are issued in each operation. You can visualize these traces as waterfall diagrams using tools such as Jaeger, Honeycomb, or DataDog.

Read more about tracing in our announcement post and learn more in our documentation on how to start working with tracing.

Try it out and let us know what you think.

Isolation levels for interactive transactions

We are improving the interactiveTransactions Preview feature with the support for defining the isolation level of an interactive transaction.

Isolation levels describe different types of trade-offs between isolation and performance that databases can make when processing transactions. Isolation levels determine what types of data leaking can occur between transactions or what data anomalies can occur.

To set the transaction isolation level, use the isolationLevel option in the second parameter of the API. For example:

await prisma.$transaction(
  async (prisma) => {
    // Your transaction...
  },
  {
    isolationLevel: Prisma.TransactionIsolationLevel.Serializable,
    maxWait: 5000,
    timeout: 10000,
  }
)

Prisma Client supports the following isolation levels if they're available in your database provider:

  • ReadCommitted
  • ReadUncommitted

... (truncated)

Commits
  • 96a85ed fix(client): Ensure getDMMF gets called only once (#14712)
  • cf9aba8 test(client): port prisma promise (#14032)
  • f6d1a65 chore(client): remove engine connect/disconnect span (#14705)
  • d978dbf feat(client): Tracing Client Side Serialization (#14670)
  • 6037abf fix(engines): ensure that library engine is the correct one (#14645)
  • 7b79c88 chore(deps): update engines to 4.2.0-31.659227f6781053b4a24d241ede6c3dd2d88d2...
  • 9d019fa chore(deps): update engines to 4.2.0-30.87e17280facc4098f996796e25eb71054c388...
  • 1c21e6d test: Port fulltext search tests to new setup (#14522)
  • a56bf49 test: Port chaining test to new setup (#14495)
  • e9a9d4b feat(client): log Data Proxy usage, client type and host (#14659)
  • 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] avatar Aug 15 '22 15:08 dependabot[bot]