Version Packages - #858
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 2, 2026 03:25
85a19a3 to
099889f
Compare
borisno2
enabled auto-merge (squash)
August 2, 2026 03:30
Contributor
Author
Coverage Report for Core Package Coverage (./packages/core)
File CoverageNo changed files found. |
Contributor
Author
Coverage Report for UI Package Coverage (./packages/ui)
File CoverageNo changed files found. |
Contributor
Author
Coverage Report for CLI Package Coverage (./packages/cli)
File CoverageNo changed files found. |
Contributor
Author
Coverage Report for Auth Package Coverage (./packages/auth)
File CoverageNo changed files found. |
Contributor
Author
Coverage Report for Storage Package Coverage (./packages/storage)
File CoverageNo changed files found. |
Contributor
Author
Coverage Report for RAG Package Coverage (./packages/rag)
File CoverageNo changed files found. |
Contributor
Author
Coverage Report for Storage S3 Package Coverage (./packages/storage-s3)
File CoverageNo changed files found. |
Contributor
Author
Coverage Report for Storage Vercel Package Coverage (./packages/storage-vercel)
File CoverageNo changed files found. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@opensaas/stack-cli@0.36.0
Minor Changes
#857
cdca174Thanks @borisno2! - Addneedsto the base field config: a computed field can declare the immediate relations itsresolveOutputhook depends on, so the read fetches exactly those — without widening what the caller receives (ADR-0025).Since ADR-0024, a bare read (no caller
include) returns a row's own columns only, so a virtual field readingitem.someRelationsilently computed overundefinedunless a caller happened to include it.needsfixes that:The declared relation is fetched wherever the field is computed — at the root of a read and at every nested level — and is scoped through the Access Filter exactly like a caller-named relation: a dependency the session can't query is not fetched, and the hook sees nothing in its place. A field always computes on whatever it can see, so a partially-denied dependency still produces a value rather than being withheld. The relation itself is stripped from the result unless the caller named it too, for both
includereads and fragmentqueryreads.needsis available on every field type, not onlyvirtual().opensaas generatenow also validates everyneedsdeclaration: an entry naming a non-relationship or non-existent field, or a declaration closure that can't fit within the read-include depth cap from any starting point, fails generation with a message naming the offending field/chain rather than silently truncating at runtime.See
docs/adr/0025-a-computed-field-declares-the-relations-it-needs.md.Patch Changes
ebb4cd3Thanks @borisno2! - FixisIndexed: trueontext,decimalandcalendarDayemitting an invalid inline@indexattribute, producing a schema Prisma rejects with "Attribute not known: @index".Non-unique indexes are now emitted as block-level
@@index([field]);isIndexed: 'unique'is unchanged.cdca174,ebb4cd3]:@opensaas/stack-core@0.36.0
Minor Changes
#857
cdca174Thanks @borisno2! - Addneedsto the base field config: a computed field can declare the immediate relations itsresolveOutputhook depends on, so the read fetches exactly those — without widening what the caller receives (ADR-0025).Since ADR-0024, a bare read (no caller
include) returns a row's own columns only, so a virtual field readingitem.someRelationsilently computed overundefinedunless a caller happened to include it.needsfixes that:The declared relation is fetched wherever the field is computed — at the root of a read and at every nested level — and is scoped through the Access Filter exactly like a caller-named relation: a dependency the session can't query is not fetched, and the hook sees nothing in its place. A field always computes on whatever it can see, so a partially-denied dependency still produces a value rather than being withheld. The relation itself is stripped from the result unless the caller named it too, for both
includereads and fragmentqueryreads.needsis available on every field type, not onlyvirtual().opensaas generatenow also validates everyneedsdeclaration: an entry naming a non-relationship or non-existent field, or a declaration closure that can't fit within the read-include depth cap from any starting point, fails generation with a message naming the offending field/chain rather than silently truncating at runtime.See
docs/adr/0025-a-computed-field-declares-the-relations-it-needs.md.Patch Changes
ebb4cd3Thanks @borisno2! - FixisIndexed: trueontext,decimalandcalendarDayemitting an invalid inline@indexattribute, producing a schema Prisma rejects with "Attribute not known: @index".Non-unique indexes are now emitted as block-level
@@index([field]);isIndexed: 'unique'is unchanged.@opensaas/stack-auth@0.36.0
@opensaas/stack-rag@0.36.0
@opensaas/stack-storage@0.36.0
@opensaas/stack-storage-s3@0.36.0
@opensaas/stack-storage-vercel@0.36.0
@opensaas/stack-tiptap@0.36.0
@opensaas/stack-ui@0.36.0