nestjs-prisma-graphql-crud-gen
nestjs-prisma-graphql-crud-gen copied to clipboard
Bump @prisma/client from 4.1.1 to 4.11.0 in /packages/generator
Bumps @prisma/client from 4.1.1 to 4.11.0.
Release notes
Sourced from @prisma/client's releases.
4.11.0
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
JSON protocol Early Preview
This release introduces an early Preview feature: JSON protocol.
During performance investigations and optimizations, though, we noticed that the existing implementation added a CPU and memory overhead that was especially noticeable for larger Prisma schemas. Therefore, we found an alternative way to express our queries without needing that overhead: JSON.
To try out the new protocol, enable the
jsonProtocolPreview feature in your Prisma schema:generator client { provider = "prisma-client-js" previewFeatures = ["jsonProtocol"] }Regenerate Prisma Client to use the new JSON protocol.
For environments or situations where it is not viable to enable the Preview feature flag to your Prisma schema file, we also added an environment variable that you can use to force the use of the JSON Protocol Preview feature:
PRISMA_ENGINE_PROTOCOL=json.Note: This is an early Preview feature with a significant limitation: Invalid input to Prisma Client will throw unpolished, internal errors that are less descriptive and user-friendly than our usual ones. We intend to improve these future releases.
We expect using
jsonProtocolto improve Prisma Client's startup performance significantly. This will likely have a more significant impact on applications with larger Prisma schemas.We would appreciate your feedback on this feature on the following particularly:
- Does using this preview feature introduce any regressions or problems in your application?
- If not, how does it influence the performance of your application? Can you share before and after measurements?
For feedback, please comment on the GitHub feedback issue.
Introspection support for MySQL, SQL Server, and CockroachDB views
You can now run
prisma db pullagainst your database to populate your Prisma schema with your views in MySQL, SQL Server, and CockroachDB.To learn more, refer to our documentation on views introspection. Try it out and let us know your thoughts in this GitHub issue.
Webpack plugin for Next.js apps using Prisma in monorepo setups
If you've been using Prisma Client in a Next.js app in a monorepo setup, you might have seen this infamous error message:
Error: ENOENT: no such file or directory, open schema.prismaWe finally pinpointed the problem's source to the Next.js bundling step and opened an issue in the Next.js repository for Vercel to investigate and hopefully fix it.
... (truncated)
Commits
e18cb5dfix(client): Make json protocol work with data proxy (#18118)f482575chore(deps): update engines to 4.11.0-57.8fde8fef4033376662cad983758335009d52...3cec206fix(client): Exclude source maps from publishing (#18081)d5e229cchore(deps): update engines to 4.11.0-55.e12b39e88ca359f700cbcda02d48d90c8f95...b26e12cchore(deps): update engines to 4.11.0-51.14ee0d4b1f1692f65e4b16ac63bdbe71e858...22f3464chore: rename webpack-plugin to nextjs-monorepo-workaround-plugin (#18094)24ff6e0feat(client): add support for raw queries in extensions (#18077)f06bbecfeat(webpack-plugin): add new webpack plugin (#18008)a79839fchore(deps): update engines to 4.11.0-50.1969629a0ff1d5f009b2b184a156658eab53...c81f980chore(deps): update engines to 4.11.0-49.8f13e5fcea8c4ffe14e8a95303c186ea3888...- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)