Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 2, 2022

Bumps @prisma/client from 2.30.3 to 4.3.1.

Release notes

Sourced from @​prisma/client's releases.

4.3.1

Today, we are issuing the 4.3.1 patch release.

Fixes in Prisma Client

Fixes in Prisma CLI

4.3.0

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

Major improvements

Field reference support on query filters (Preview)

We're excited to announce Preview support for field references. You can enable it with the fieldReference Preview feature flag.

Field references will allow you to compare columns against other columns. For example, given the following schema:

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["fieldReference"]
}
model Invoice {
id     Int @​id @​default(autoincrement)
paid   Int
due    Int
}

You can now compare one column with another after running prisma generate, for example:

// Filter all invoices that haven't been paid yet
await prisma.invoice.findMany({
  where: {
    paid: {
      lt: prisma.invoice.fields.due // paid < due
    }
  }
})

Learn more about field references in our documentation. Try it out and let us know what you think in this GitHub issue.

... (truncated)

Commits
  • b5aefaa fix typescript 4.8 issues
  • adb9516 Fix perfromance regression in generate (#15122)
  • 333dd87 test(client): Sanitize error snapshots (#15000)
  • d4e397e refactor: Refactor printStack function (#14265)
  • d3de77a chore(deps): update engines to 4.3.0-32.c875e43600dfe042452e0b868f7a48b817b96...
  • 83100ad feat(client): Integrate field references (#14982)
  • 90f50e7 fix(internals): improve error messages removing false positives and internal ...
  • f496233 feat(client): Multi Schema (#14986)
  • 4a2dd73 chore(deps): update engines to 4.3.0-29.2773dca117cc01b10a8cc91445505396db69a...
  • acd7728 fix(client): high-resolution time for engine spans (#14991)
  • 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)

Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 2.30.3 to 4.3.1.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/4.3.1/packages/client)

---
updated-dependencies:
- dependency-name: "@prisma/client"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 2, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 28, 2022

Superseded by #30.

@dependabot dependabot bot closed this Sep 28, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prisma/client-4.3.1 branch September 28, 2022 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant