Bump prisma from 4.16.2 to 6.14.0
Type: Pull Request
State: Open
![dependabot[bot]](https://github.com/dependabot.png)
Association: None
Comments: 0
(26 days ago)
(26 days ago)
dependencies javascript
Bumps prisma from 4.16.2 to 6.14.0.
Release notes
Sourced from prisma's releases.
6.14.0
Today, we are excited to share the
6.14.0
stable release 🎉🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
@unique
attributes 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
@unique
attribute for views. This attribute enables:
- relationships involving views
findUnique
queries, cursor-based pagination & implicit ordering for viewsHere's an example schema using
@unique
and 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
@unique
totalPosts BigInt? publishedPosts BigInt? unpublishedPosts BigInt? latestPostDate DateTime?@db
.Timestamp(6) user User? }CREATE OR REPLACE VIEW "UserPostStats" AS SELECT </tr></table>
... (truncated)
Commits
21765b0
fix: ORM-850 improve client options type performance (#27777)114dd96
fix(client):prisma-client
generator withmoduleFormat = "cjs"
(#27828)ddc1046
chore(cli): Moved MCP.ts to mcp directory, added mcp/README.md, and r… (#27631)cb67f68
fix: fix flacky cli test due to time formatting (#27762)c7f5a71
chore(deps): update engines to 6.13.0-33.4c9c25c84cf1a4c0744a0b15acab20e1c91c...2dcebb3
feat(config): add migrations.seed support (#27724)86b31c2
fix(config): e2e tests (#27725)4ba02d2
feat(config): display warning whenpackage.json#prisma
is detected when loa...ecd6c1a
feat(config): remove earlyAccess: true in favor of scoped experimental flags ...c23cfd5
chore(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 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)
Pull Request Statistics
1
2
+297
-13
Package Dependencies
Technical Details
ID: | 5239546 |
UUID: | 2751848669 |
Node ID: | PR_kwDOOQQe686kBeDd |
Host: | GitHub |
Repository: | CodeForgeX2012/web-scraper-toolkit |
Merge State: | Unknown |