Aller au contenu
verdict:

Prisma 7.3.0

notable

note: la synthèse et les notes de version sont en anglais

note: pas de synthèse pour cette release plus ancienne

Nous synthétisons les releases récentes. Les notes de version originales de cette version sont ci-dessous.

release-notesgithub.com/prisma/orm · 61 lignes
  1. Today, we are excited to share the `7.3.0` stable release 🎉
  2. **🌟 Star this repo for notifications about new releases, bug fixes & features — or [follow us on X](https://pris.ly/x)!**
  3. ## ORM
  4. - [#28976](https://github.com/prisma/prisma/pull/28976): Fast and Small Query Compilers
  5. 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 `compilerBuild` option for the client generator block in `schema.prisma` with two options: `fast` and `small`. 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, the `fast` mode is used, but this can be set by the user:
  6. ```groovy
  7. generator client {
  8. provider = "prisma-client"
  9. output = "../src/generated/prisma"
  10. compilerBuild = "fast" // "fast" | "small"
  11. }
  12. ```
  13. We still have more in progress for performance, but this new `compilerBuild` option is our first step toward addressing your concerns!
  14. - [#29005](https://github.com/prisma/prisma/pull/29005): Bypass the Query Compiler for Raw Queries
  15. 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.
  16. - [#28965](https://github.com/prisma/prisma/pull/28965): Update MSSQL to v12.2.0
  17. This community PR updates the `@prisma/adapter-mssql` to use MSSQL v12.2.0. Thanks [Jay-Lokhande](https://github.com/Jay-Lokhande)!
  18. - [#29001](https://github.com/prisma/prisma/pull/29001): Pin better-sqlite3 version to avoid SQLite bug
  19. An underlying bug in SQLite 3.51.0 has affected the `better-sqlite3` adapter. We’ve bumped the version that powers `@prisma/better-sqlite3` and have pinned the version to prevent any unexpected issues. If you are using `@prisma/better-sqlite3` , please upgrade to v7.3.0.
  20. - [#29002](https://github.com/prisma/prisma/pull/29002): Revert `@map` enums to v6.19.0 behavior
  21. 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 `@map` function. 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.
  22. - [prisma-engines#5745](https://github.com/prisma/prisma-engines/pull/5745): Cast BigInt to text in JSON aggregation
  23. When using `relationJoins` with BigInt fields in Prisma 7, JavaScript's `JSON.parse` loses precision for integers larger than `Number.MAX_SAFE_INTEGER` (2^53 - 1). This happens because PostgreSQL's `JSONB_BUILD_OBJECT` returns BigInt values as JSON numbers, which JavaScript cannot represent precisely.
  24. ```
  25. // Original BigInt ID: 312590077454712834
  26. // After JSON.parse: 312590077454712830 (corrupted!)
  27. ```
  28. This PR cast BigInt columns to `::text` inside `JSONB_BUILD_OBJECT` calls, similar to how `MONEY` is already cast to `::numeric`.
  29. ```
  30. -- Before
  31. JSONB_BUILD_OBJECT('id', "id")
  32. -- After
  33. JSONB_BUILD_OBJECT('id', "id"::text)
  34. ```
  35. This ensures BigInt values are returned as JSON strings, preserving full precision when parsed in JavaScript.
  36. ## Open roles at Prisma
  37. Interested in joining Prisma? We’re growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our [[Careers page](https://www.prisma.io/careers#current)](https://www.prisma.io/careers#current) and find the role that’s right for you.
  38. ## Enterprise support
  39. Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.
  40. With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise.

voir sur githubimported 2026-09-28 via npm