Impact Score: 5/10
Prisma 5.8.0 โ Release Notes & Engineering Impact
Source available โ automated, not human-reviewed
Component: prisma ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-01.
โก Executive Summary (TL;DR)
Prisma 5.8.0. Source highlight: ๐ **Help us spread the word about Prisma by starring the repo or posting on X about the release.** ๐
Who Does This Impact? (Role-Based Analysis)
๐ป Software Engineers & Devs
Check the source notes against the package and APIs you use before upgrading.
๐ Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
โ๏ธ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
โจ New Features & Capabilities (3)
- Add FreeBSD 14 as a new platform
- Add quickfix for `Error validating field 'id' in model 'Post': MongoDB '@default(auto())' fields must have 'ObjectId' native type.`
- Append mention of update to "preview feature not known" error message
โก Performance & Enhancements (2)
- `join` โ uses `JOIN`s to fetch relation data
- `query` โ uses separate queries to fetch relation data
๐ View Raw Release Notes (Original Developer Log)
๐ **Help us spread the word about Prisma by starring the repo or [posting on X](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.8.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.8.0) about the release.** ๐
# Highlights
Happy New Year from your friends at Prisma! ๐
In the last 4 weeks, we resolved some bugs on the ORM and made some progress on some exciting features that weโre not yet ready to announce. Stay tuned for the upcoming releases, in which weโll be announcing new features. ๐
## `relationJoins` improvements: Relation loading strategy per query (Preview)
In version [5.7.0](https://github.com/prisma/prisma/releases/tag/5.7.0), we released `relationJoins` into Preview. The `relationJoins` feature enables support for `JOIN`s for relation queries.
This release adds support for the ability to specify the strategy used to fetch relational data per query when the Preview feature is enabled. This will enable you to choose the most efficient strategy for fetching relation data depending on your use case.
You can now load relation data using either of the following strategies:
- `join` โ uses `JOIN`s to fetch relation data
- `query` โ uses separate queries to fetch relation data
When the `relationJoins` Preview feature is enabled, by default, the relation fetching strategy used is `join`. You can override the default behavior by using the `relationLoadStrategy` query option.
To get started, enable the Preview feature:
```tsx
// schema.prisma
generator client {
provider = "prisma-client-js"
previewFeatures = ["relationJoins"]
}
```
โฆ and specify the relation loading strategy for your query as follows:
```tsx
await prisma.user.findMany({
relationLoadStrategy: 'query',
include: {
posts: true,
},
})
```
Try it out and [share your feedback](https://github.com/prisma/prisma/discussions/22288) and create a [bug report](https://github.com/prisma/prisma/issues/new?assignees=&labels=kind/bug&projects=&template=bug_report.yml) if you encounter any issues.
## Survey: Edge functions support
Weโre working on bringing Edge function support to Prisma ORM and we would appreciate your input by [submitting a response to our survey](https://pris.ly/survey/edge-functions-release-notes). By filling out the survey, you will be considered for our Early Access cohort as soon as we have something for you to try out.
## Fixes and improvements
### Prisma Client
- [Log output of Node-API library engine is different](https://github.com/prisma/prisma/issues/9039)
- [`target` and `timestamp` are undefined in `info` events in Data Proxy client](https://github.com/prisma/prisma/issues/18479)
- [Wrong types of `timestamp` and `duration` in query events with Data Proxy](https://github.com/prisma/prisma/issues/18482)
- [Using `citext` fields with neon database driver causes conversion error](https://github.com/prisma/prisma/issues/21807)
- [Add FreeBSD 14 as a new platform](https://github.com/prisma/prisma/issues/22228)
- [PostgresError { code: "54023", message: "cannot pass more than 100 arguments to a function", severity: "ERROR", detail: None, column: None, hint: None }](https://github.com/prisma/prisma/issues/22298)
- [Int[] return as null](https://github.com/prisma/prisma/issues/22303)
### Prisma Migrate
- [Prisma Migrate errors with `Environment is non-interactive` when `VERCEL` env var is defined](https://github.com/prisma/prisma/issues/22380)
### Language tools (e.g. VS Code)
- [Add quickfix for `Error validating field 'id' in model 'Post': MongoDB '@default(auto())' fields must have 'ObjectId' native type.`](https://github.com/prisma/language-tools/issues/1548)
- [Append mention of update to "preview feature not known" error message](https://github.com/prisma/language-tools/issues/1612)
## Credits
Huge thanks to @anuraaga, @onichandame, @LucianBuzzo, @RobertCraigie, @fqazi, @KhooHaoYit, @alencardc, @Oreilles, @tinola, @AikoRamalho, @luxaritas for helping!
# Company news
## ๐ย A billion queries and counting: Prisma Accelerate
[Prisma Accelerate](https://pris.ly/accelerate-home-orm-release-1), our global database cache has served over 1 billion queries since its General Availability launch.
Weโd like to give a shoutout to our team and everyone whoโs been with us on this journey. Stay tuned for some exciting products and features in the pipeline for 2024!
## ๐ฎย Prisma ORM Ecosystem
Are you building a cool tool, extension, generator, CLI tool or anything else, for Prisma ORM? [Let us know](https://prisma-data.typeform.com/to/DYEjFIVx).
We would like to learn about it and feature it on our [Ecosystem page](https://www.prisma.io/ecosystem).
## ๐ผย Weโre hiring
If you're interested in joining our growing team to help empower developers to build data-intensive applications, Prisma is the place for you. Check out our [Careers page](https://prisma.io/careers) for open positions.