Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @prisma/client from 4.14.1 to 4.16.0 #133

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 21, 2023

Bumps @prisma/client from 4.14.1 to 4.16.0.

Release notes

Sourced from @​prisma/client's releases.

4.16.0

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

Highlights

This release promotes the following Preview features to General Availability:

  • Prisma Client extensions
  • Ordering by nulls first and last
  • Count by filtered relation

Prisma Client extensions are Generally Available

Today, we’re very excited to announce that Prisma Client extensions are Generally Available and production-ready! This means you can use the feature without the clientExtensions Preview feature flag.🚀

Prisma Client extensions are a powerful new feature for adding functionality on top of your Prisma Client in a type-safe manner. With this feature, you can create simple, but flexible solutions.

Prisma Client extensions have 4 different types of components that can be included in an extension:

  • Result extensions components: add custom fields and methods to query result objects, for example, virtual/computed fields.
  • Model extensions components: enable you to add new methods to your models alongside existing model methods such as findMany.
  • Query extensions components: let you hook into the lifecycle of a query and perform side effects, modify query arguments, or modify the results in a type-safe way. These are an alternative to middleware that provide complete type safety and can be applied in an ad-hoc manner to different extensions.
  • Client extensions components: allow you to add new top-level methods to Prisma Client. You can use this to extend Prisma Client with functionality that isn’t tied to specific models.
const prisma = new PrismaClient().$extends({
  name: "extension-name",
  result: { /* ... */ },
  model: { /* ... */ },
  query: { /* ... */ },
  client: { /* ... */ },
});

You can also create and publish extensions for others to use. Learn more about how to share extensions in our documentation.

More features and changes made to Client Extensions

We also made the following improvements to Prisma Client extensions in preparation for General Availability:

  • Added a top-level $allOperations method for query component that captures all model operations as well as top-level raw queries. Refer to our documentation for more information.

    const prisma = new PrismaClient().$extends({
      query: {
        $allOperations({ args, query, operation, model }) {
          /* your extension's logic here */
        }
      }

... (truncated)

Commits
  • 0418e25 refactor(client): extension dynamic types (#19837)
  • 71d8e17 fix(client): Fix composites selection (#19845)
  • 9b7c62e fix(cli): don't crash if opening browser for "prisma studio" fails (#19812)
  • d08e685 chore(deps): update engines to 4.16.0-66.b20ead4d3ab9e78ac112966e242ded703f4a...
  • 8aed012 feat(client): Pass Sql instance to $queryRaw/$executeRaw extensions (#19787)
  • 8e4c22f fix: Update warning message on 10 Client instances (#19407)
  • 955c0bb chore(deps): update engines to 4.16.0-60.b4faed7994b42a1ae3c96d243ab2410aaa8c...
  • e2fcb9b chore(deps): update engines to 4.16.0-59.51d4d989d63f71c4e681a08ee47ad43f62ae...
  • c7e97a5 fix(client): Set Class Name For Errors (#19615)
  • dd6089f chore(deps): update engines to 4.16.0-56.489dea78e5d64611960acfde15ac92fee3f2...
  • 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 dependabot bot added the dependencies Pull requests that update a dependency file label Jun 21, 2023
@trpc-bot trpc-bot force-pushed the main branch 2 times, most recently from 816d2f2 to a842d9c Compare June 22, 2023 12:03
Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 4.14.1 to 4.16.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/4.16.0/packages/client)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma/client-4.16.0 branch from e5ba36a to 24c0f29 Compare June 22, 2023 12:38
@trpc-bot trpc-bot force-pushed the main branch 15 times, most recently from e55f17a to f98dc92 Compare June 29, 2023 14:12
@trpc-bot trpc-bot force-pushed the main branch 7 times, most recently from 5e0243e to ca0e46f Compare July 5, 2023 20:23
@KATT KATT closed this Nov 22, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 22, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prisma/client-4.16.0 branch November 22, 2023 09:02
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