Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Bump prisma from 5.6.0 to 5.7.0 #73

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps prisma from 5.6.0 to 5.7.0.

Release notes

Sourced from prisma's releases.

5.7.0

🌟 Help us spread the word about Prisma by starring the repo or posting on X (formerly Twitter) about the release.

Highlights

✨ In this release, we improved the SQL queries Prisma Client generates for you with two new Preview features, the driver adapters, and support for the database drivers we currently support. 5.7.0 will be the last release of the year. Stay tuned for the next one in January! ✨

Preview support for JOINs for relation queries for PostgreSQL and CockroachDB

We’re excited to announce Preview support for JOINs in Prisma Client when querying relations. Support for JOINs has been a long-standing feature request, and this release adds support for PostgreSQL and CockroachDB. The upcoming releases will expand support for other databases Prisma supports.

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

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

Run prisma generate to regenerate Prisma Client and enable the Preview feature.

Prisma Client will use a JOIN in your query to fetch relation data for a majority of the cases.

Example queries

Prisma Client query

await prisma.user.findUnique({
	where: {
		id: 1
	},
	include: {
		profile: true
	}
})

SQL

SELECT
	"t1"."id",
	"t1"."name",
</tr></table> 

... (truncated)

Commits
  • dd2e8ff chore(cli): refine platform help command copy (#22282)
  • ae47208 feat: show auth commands as part of root help (#22267)
  • e8f2cf7 fix(cli): replace platform cli links using underlines with links (#22264)
  • 1e198d3 feat(cli): add temporary docs link to platform cli help (#22254)
  • dc24a2d feat(cli): move platform login and logout under auth command (#22258)
  • 0681a1e feat(cli): Include link to getting started guide for accelerate enable (#22...
  • 0f25e2f fix(cli): Add optional placeholder parameter region for accelerate enable (...
  • ece299f fix(cli): rename platform command option --display-name to --name (#22257)
  • ce984aa feat(cli): Display full connection string for accelerate enable command (#22256)
  • a7aea0a fix(cli): Platform commands fixes (#22255)
  • 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 <dependency name> 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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 11, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-5.7.0 branch from 47b3172 to 8f1b2d4 Compare December 11, 2023 08:28
Bumps [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.7.0/packages/cli)

---
updated-dependencies:
- dependency-name: prisma
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-5.7.0 branch from 8f1b2d4 to f1f42dc Compare December 11, 2023 08:31
@maxidragon maxidragon merged commit b7f37b8 into main Dec 11, 2023
1 check passed
@maxidragon maxidragon deleted the dependabot/npm_and_yarn/prisma-5.7.0 branch December 11, 2023 08:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant