CraigChat / craig

Craig is a multi-track voice recorder for Discord.
https://craig.chat
ISC License
411 stars 83 forks source link

chore(deps): bump prisma from 3.15.2 to 4.7.1 #157

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps prisma from 3.15.2 to 4.7.1.

Release notes

Sourced from prisma's releases.

4.7.1

Today, we are issuing the 4.7.1 patch release.

Fixes in Prisma Client

4.7.0

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

Highlights

Interactive transactions are now Generally Available

After an extensive Preview phase and lots of great feedback from our community, we're excited to announce that interactiveTransactions is now Generally Available and production ready! πŸš€

Interactive transactions allow you to pass an async function into a $transaction, and execute any code you like between the individual Prisma Client queries. Once the application reaches the end of the function, the transaction is committed to the database. If your application encounters an error as the transaction is being executed, the function will throw an exception and automatically rollback the transaction.

Here are some of the feature highlights we've built:

Here's an example of an interactive transaction with a Serializable isolation level:

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

You can now remove the interactiveTransactions Preview feature in your schema.

Relation mode is Generally Available

This release marks relationMode="prisma" as stable for our users working with databases that don't rely on foreign keys to manage relations. πŸŽ‰

Prisma’s relation mode started as a way to support PlanetScale which does not allow you to create foreign keys for better online migration support. We transformed that into our Referential Integrity Emulation in 3.1.1 when we realised that more users could benefit from it, and then integrated it as the default mode for MongoDB, which generally does not have foreign keys. Prisma needed to use emulation to give the same guarantees.

We then realized the feature was more than just referential integrity and affected how relations work. To reflect this, we renamed the feature to relation mode and the datasource property to relationMode in 4.5.0

... (truncated)

Commits
  • 92d2d1c fix(validate,format): disable warnings when PRISMA_DISABLE_WARNINGS is truthy...
  • 8d8a1ed feat(validate): add lint warnings (#16458)
  • 3077f50 feat(internals): add support for lint warnings to prisma format (#16270)
  • 7ebc4c7 chore(deps): update studio to v0.477.0 (#16284)
  • 43580a8 fix(cli): don't crash when checking for updates from integration version with...
  • eeccf09 test(cli): validate, add to help with missing tests (#16008)
  • 08862d3 chore(deps): update engines to 4.7.0-7.8b67711d15549e23304b0bae4b75e170e77f48...
  • 9047e95 chore(deps): update devdependencies (non-major)
  • 5878965 chore: types for watch mode (#15989)
  • dad9bc6 feat(wasm): add support for Wasm'd getConfig (#15588)
  • 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 #163.