-
Notifications
You must be signed in to change notification settings - Fork 856
Docs for v6.15.0 #7076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Docs for v6.15.0 #7076
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d6b1bb3
update docs for sql views
nikolasburk 6547b29
Update content/200-orm/100-prisma-schema/20-data-model/40-views.mdx
nikolasburk 07b270a
add improvements
nikolasburk cead47b
Merge branch 'docs/6.14.0' of github.com:prisma/docs into docs/6.14.0
nikolasburk d971a75
minor improvements
nikolasburk 95620a8
minor improvements in view docs
nikolasburk bf51ce6
polished view docs
nikolasburk 1d2afdc
update notes about query compiler in ga
nikolasburk 89631fa
fix merge conflicts
nikolasburk 604eb59
update preview feature reference
nikolasburk 2514cca
update management api guide
nikolasburk 1bdecb6
reworked partner oauth section
nikolasburk 12ea903
add docs for creating oauth apps
nikolasburk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -267,18 +267,21 @@ | |
|
|
||
| :::note | ||
|
|
||
| As of [v6.7.0](https://pris.ly/release/6.7.0), Prisma ORM has the `queryCompiler` Preview feature. | ||
| As of [v6.15.0](https://pris.ly/release/6.15.0), Prisma ORM can be used without Rust engines in production applications. Learn more [here](/orm/prisma-client/setup-and-configuration/no-rust-engine). | ||
|
Check failure on line 270 in content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx
|
||
|
|
||
| **When enabled, your Prisma Client will be generated [without a Rust-based query engine binary](/orm/prisma-client/setup-and-configuration/no-rust-engine)**: | ||
| **When enabled, your Prisma Client will be generated without a Rust-based query engine binary**: | ||
|
|
||
| ```prisma | ||
| generator client { | ||
| provider = "prisma-client-js" | ||
| previewFeatures = ["queryCompiler", "driverAdapters"] | ||
| provider = "prisma-client-js" // or "prisma-client" | ||
| output = "../src/generated/prisma" | ||
| engineType = "client" // no Rust engine | ||
| } | ||
| ``` | ||
|
|
||
| Note that the [driver adapters](/orm/overview/databases/database-drivers#driver-adapters) Preview feature is required alongside `queryCompiler`. When using the `queryCompiler` Preview feature, the connection pool size is set via the native JS driver you are using. | ||
| Note that [driver adapters](/orm/overview/databases/database-drivers#driver-adapters) are required if you want to use Prisma ORM without Rust engines. In this scenario, the connection pool size is set via the native JS driver you are using. | ||
|
|
||
| You can [read about the performance and DX improvements](https://www.prisma.io/blog/prisma-orm-without-rust-latest-performance-benchmarks) of this change on our blog. | ||
|
|
||
| ::: | ||
|
|
||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Great addition, plus two follow-ups: output path consistency and preview references later in this doc
../src/generated/prismawhile the main no-Rust-engine guide uses../generated/prisma).previewFeatures = ["driverAdapters"](later in the file). That contradicts the GA note above. Update that section to the GA flow (setengineType = "client", generate, install adapter, instantiate).To locate outdated preview references in this file:
Also verify “preview” anchors in the Serverless adapters section are still valid:
🏁 Script executed:
Length of output: 267
🏁 Script executed:
Length of output: 1069
Standardize output path & migrate driver adapters section to GA flow
Replace the generator example’s output path to match the main no-Rust-engine guide. In content/200-orm/050-overview/500-databases/200-database-drivers.mdx, change:
generator client { provider = "prisma-client-js"output = "../src/generated/prisma"
engineType = "client"
}
Then follow with “install your adapter and instantiate Prisma Client” steps, rather than the previewFeatures instructions.
-previewsuffix. For example:/orm/overview/databases/neon#how-to-use-neons-serverless-driver-with-prisma-orm/orm/overview/databases/planetscale#how-to-use-the-planetscale-serverless-driver-with-prisma-orm🤖 Prompt for AI Agents