valentinpalkovic / prisma-json-schema-generator

A generator for Prisma 2 to generate a valid JSON Schema (v7)
MIT License
279 stars 33 forks source link

build(deps): bump @prisma/internals from 5.8.1 to 5.10.1 #1440

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps @prisma/internals from 5.8.1 to 5.10.1.

Release notes

Sourced from @​prisma/internals's releases.

5.10.1

Today, we are issuing the 5.10.1 patch release.

Fix in Prisma Client / Prisma CLI

5.10.0

Today, we are excited to share the 5.10.0 stable release 🎉

🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.

Highlights

Optimized relation queries in MySQL (Preview)

This release brings the optimizations for relation queries from the previous releases to MySQL as well! This means that by enabling the relationJoins Preview feature with the mysql database provider, you now also get access to the relationLoadStrategy option in relation queries that let you choose whether you want to merged relations on the application- or database-level.

If you enable the relationJoins Preview feature, you can choose between the join and query options:

  • join (default): Sends a single query to the database and joins the data on the database-level.
  • query: Sends multiple queries to the database and joins the data on the application-level.

To get started, enable the Preview feature in your Prisma schema:

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

Be sure to re-generate Prisma Client afterwards:

npx prisma generate

And finally, specify the relation loading strategy for your relation query via the relationLoadStrategy option as follows:

await prisma.user.findMany({
  relationLoadStrategy: 'join', // or 'query' 
  include: {
    posts: true,
  },
})

... (truncated)

Commits
  • 794b61e chore(deps): update engines to 5.10.0-34.5a9203d0590c951969e85a7d07215503f467...
  • e742c67 chore(deps): update engines to 5.10.0-32.811068771a7c08ca615bdbdfea96f56a3d10...
  • 19511a5 chore(deps): update definitelytyped (#23155)
  • 4c57f19 chore(deps): update devdependencies patch (non-major) (#23157)
  • 961906b chore(deps): update engines to 5.10.0-29.3d78035b979b676786e5afa32cbae45604e1...
  • 0725d79 chore(deps): update engines to 5.10.0-28.58fef65a004e8cdbe4a2e3cd0847738ab8b6...
  • 93a03d2 chore(deps): update engines to 5.10.0-27.ced8cab49ce5e2ce1c7376d852b5cf8c5846...
  • 957632d chore(deps): update engines to 5.10.0-25.ed5ca1a26888e528edca130cd43914e3936d...
  • 9488808 chore(deps): update engines to 5.10.0-24.7e5bcbefc94df2855deae774ff61a27c6720...
  • 346f194 chore(deps): update engines to 5.10.0-23.57cc2f60457084432d52d2f1e6f7af493a93...
  • 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)
dependabot[bot] commented 6 months ago

Superseded by #1441.