build(deps-dev): Bump prisma from 5.22.0 to 6.14.0
Type: Pull Request
State: Closed
Association: Contributor
Comments: 1
(10 months ago)
(10 months ago)
(10 months ago)
dependencies javascript
Bumps prisma from 5.22.0 to 6.14.0.
Release notes
Sourced from prisma's releases.
6.14.0
Today, we are excited to share the
6.14.0stable release 🎉🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
@uniqueattributes for SQL views (Preview)Last release, we improved the robustness of SQL views defined in the Prisma schema. Views are virtual tables that don't allows for defining unique constraints, indexes or foreign keys in the underlying database.
However, as an application developer, it can be convenient to also define relationships involving views or paginate them using cursors. We've received this feedback from several people who had been using views in that way with Prisma ORM, so in this release we're re-introducing the
@uniqueattribute for views. This attribute enables:
- relationships involving views
findUniquequeries, cursor-based pagination & implicit ordering for viewsHere's an example schema using
@uniqueand defining a relationship from a model to a view:model User { id Int @id @default(autoincrement()) email String @unique posts Post[] stats UserPostStats? @relation(fields: [email], references: [userEmail]) }model Post { id Int
@id@default(autoincrement()) title String published Boolean@default(false) createdAt DateTime@default(now()) authorId Int? author User?@relation(fields: [authorId], references: [id]) }view UserPostStats { userEmail String
@uniquetotalPosts BigInt? publishedPosts BigInt? unpublishedPosts BigInt? latestPostDate DateTime?@db.Timestamp(6) user User? }CREATE OR REPLACE VIEW "UserPostStats" AS SELECT </tr></table>
... (truncated)
Commits
21765b0fix: ORM-850 improve client options type performance (#27777)114dd96fix(client):prisma-clientgenerator withmoduleFormat = "cjs"(#27828)ddc1046chore(cli): Moved MCP.ts to mcp directory, added mcp/README.md, and r… (#27631)cb67f68fix: fix flacky cli test due to time formatting (#27762)c7f5a71chore(deps): update engines to 6.13.0-33.4c9c25c84cf1a4c0744a0b15acab20e1c91c...2dcebb3feat(config): add migrations.seed support (#27724)86b31c2fix(config): e2e tests (#27725)4ba02d2feat(config): display warning whenpackage.json#prismais detected when loa...ecd6c1afeat(config): remove earlyAccess: true in favor of scoped experimental flags ...c23cfd5chore(config): update log/warn/error messages to reflect recent prisma.config...- 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@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)
Pull Request Statistics
1
2
+254
-113
Package Dependencies
Technical Details
| ID: | 5059137 |
| UUID: | 2741189464 |
| Node ID: | PR_kwDOKKyu2M6jYztY |
| Host: | GitHub |
| Repository: | AtCoder-NoviSteps/AtCoderNoviSteps |
| Mergeable: | Yes |
| Merge State: | Unstable |