Version Packages#617
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a9b176d to
2290501
Compare
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-core@0.26.0
Minor Changes
#616
322d5b6Thanks @borisno2! - Addcontext.transaction()— an interactive, hook-firing transactionYou can now run multiple access-checked
context.db.*operations atomically in one transaction while preserving the access/hook boundary (unlike rawprisma.$transaction, which bypasses both). The callback receives a full context whosedb.*operations enforce access control and run list/field hooks, but persist against a single interactive transaction — so a throw anywhere rolls the whole transaction back.Options (notably
isolationLevel, plusmaxWait/timeout) pass through to Prisma, and serialization failures (PrismaP2034) propagate to the caller so you own the retry loop. This makes concurrency-sensitive invariants such as a capacity gate enforceable:Nested
context.dbwrites inside the callback join the outer transaction. NewStackContext,TransactionOptions, andTransactionIsolationLeveltypes are exported from@opensaas/stack-core. See ADR-0012.Patch Changes
#620
0be254eThanks @borisno2! - Apply a field's defaultValue to omitted inputs before create validation (resolve-then-validate, matching Keystone), so isRequired + defaultValue no longer fails on create.Note: because an omitted-but-defaulted field is now filled into
resolvedDatabefore validation, that field's create-side field-levelbeforeOperation/afterOperationhooks (gated on the field key being present inresolvedData) now fire for defaulted fields where they previously would not.@opensaas/stack-cli@0.26.0
Patch Changes
322d5b6,0be254e]:@opensaas/stack-storage@0.26.0
Patch Changes
29ca3a9Thanks @borisno2! - Fix file()/image() fields being required on create/update: their Zod schema now uses key-optionality (.nullish()) so an omitted field validates and stores null (Zod 4).@opensaas/stack-auth@0.26.0
@opensaas/stack-rag@0.26.0
@opensaas/stack-storage-s3@0.26.0
@opensaas/stack-storage-vercel@0.26.0
@opensaas/stack-tiptap@0.26.0
@opensaas/stack-ui@0.26.0