build(deps-dev): Bump prisma from 5.22.0 to 7.3.0
Type: Pull Request
State: Closed
Association: Unknown
Comments: 2
(5 months ago)
(5 months ago)
(5 months ago)
dependencies javascript
Bumps prisma from 5.22.0 to 7.3.0.
Release notes
Sourced from prisma's releases.
7.3.0
Today, we are excited to share the
7.3.0stable release 🎉🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
ORM
- #28976: Fast and Small Query Compilers We've been working on various performance-related bugs since the initial ORM 7.0 release. With 7.3.0, we're introducing a new
compilerBuildoption for the client generator block inschema.prismawith two options:fastandsmall. This allows you to swap the underlying Query Compiler engine based on your selection, one built for speed (with an increase in size), and one built for size (with the trade off for speed). By default, thefastmode is used, but this can be set by the user:generator client { provider = "prisma-client" output = "../src/generated/prisma" compilerBuild = "fast" // "fast" | "small" }We still have more in progress for performance, but this new
compilerBuildoption is our first step toward addressing your concerns!
#29005: Bypass the Query Compiler for Raw Queries Raw queries (
$executeRaw,$queryRaw) can now skip going through the query compiler and query interpreter infrastructure. They can be sent directly to the driver adapter, removing additional overhead.#28965: Update MSSQL to v12.2.0 This community PR updates the
@prisma/adapter-mssqlto use MSSQL v12.2.0. Thanks Jay-Lokhande!#29001: Pin better-sqlite3 version to avoid SQLite bug An underlying bug in SQLite 3.51.0 has affected the
better-sqlite3adapter. We’ve bumped the version that powers@prisma/better-sqlite3and have pinned the version to prevent any unexpected issues. If you are using@prisma/better-sqlite3, please upgrade to v7.3.0.#29002: Revert
@mapenums to v6.19.0 behavior In the initial release of v7.0, we made a change with Mapped Enums where the generated enum would get its value from the value passed to the@mapfunction. This was a breaking change from v6 that caused issues for many users. We have reverted this change for the time being, as many different diverging approaches have emerged from the community discussion.prisma-engines#5745: Cast BigInt to text in JSON aggregation When using
relationJoinswith BigInt fields in Prisma 7, JavaScript'sJSON.parseloses precision for integers larger thanNumber.MAX_SAFE_INTEGER(2^53 - 1). This happens because PostgreSQL'sJSONB_BUILD_OBJECTreturns BigInt values as JSON numbers, which JavaScript cannot represent precisely.// Original BigInt ID: 312590077454712834 // After JSON.parse: 312590077454712830 (corrupted!)This PR cast BigInt columns to
::textinsideJSONB_BUILD_OBJECTcalls, similar to howMONEYis already cast to::numeric.-- Before JSONB_BUILD_OBJECT('id', "id")-- After JSONB_BUILD_OBJECT('id', "id"::text)
... (truncated)
Commits
32e5614chore(cli): bumphonoand@prisma/dev, resolvinghonovulnerability. (#...2a44bb8chore(cli): bump studio, fixing vitess introspection. (#29045)011b6a6chore: remove promotions (#29015)90141bbchore(cli): bump studio, add northwind to sandbox. (#28985)fd479fdfeat(qc): fast and small build modes (#28976)815ba13chore(cli): bump@prisma/dev, fix init usage following changes. (#28929)bebccbdfeat(cli): customizeprisma initbased on the JS runtime (Bun vs other) (#2...09b4a1dfix(cli): makeprisma version --jsonemit JSON only to stdout (#28911)ed03287feat(config): allow undefined urls in e.g.prisma generate(#28895)f80a3d3chore(cli): bump@prisma/dev. (#28924)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for prisma since your current version.
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)
Package Dependencies
Technical Details
| ID: | 12988962 |
| UUID: | 3839420106 |
| Node ID: | PR_kwDOKKyu2M6-g0FD |
| Host: | GitHub |
| Repository: | AtCoder-NoviSteps/AtCoderNoviSteps |