Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bridge | cd9881a | Commit Preview URL Branch Preview URL |
Mar 04 2026, 05:58 PM |
ecc9ce0 to
921dbd0
Compare
921dbd0 to
cd9881a
Compare
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
@stackables/bridge-compiler@2.1.0
Minor Changes
#82
cf5cd2eThanks @aarne! - AddrequestedFieldsoption toexecuteBridge()for sparse fieldset filtering.When provided, only the listed output fields (and their transitive tool dependencies) are resolved.
Tools that feed exclusively into unrequested fields are never called, reducing latency and upstream
bandwidth.
Supports dot-separated paths and a trailing wildcard (
["id", "price", "legs.*"]).Patch Changes
badbb78Thanks @aarne! - Fix three code generation bugs that causedSyntaxError: await is only valid in async functionswhen array mappings combinedcatchfallbacks or element-scoped tools with control flow.Bug 1 – catch inside array
.map():needsAsynconly checked for element-scoped tool calls. Wires withcatchfallbacks orcatchcontrol flow that fall back to an async IIFE now also trigger the asyncfor...ofloop path.Bug 2 – element-scoped tool inside
.flatMap(): When a?? continue(or similar) control flow was detected first, the compiler unconditionally emitted.flatMap(). If the same loop also contained an element-scoped tool (alias tool:iter), theawait __call(...)was placed inside a synchronous.flatMap()callback.needsAsyncis now evaluated before the control-flow check, and when true, afor...ofloop with a nativecontinuestatement is emitted instead.Bug 3 – nested sub-array async blindspot: The inner sub-array handler in
buildElementBodynever calculatedneedsAsync, always falling back to a synchronous.map(). It now uses the same asyncfor...ofIIFE pattern when inner wires contain element-scoped tools or catch expressions.#84
837ec1cThanks @aarne! - Fix several AOT compiler/runtime parity bugs discovered via fuzzing:condAndandcondOrcode generation to match runtime boolean semantics.??handling matches runtime overdefinition boundaries.serializeBridgequoting for empty-string and slash-only string constants so parse/serialize/parse round-trips remain valid.Updated dependencies [
cf5cd2e]:@stackables/bridge-core@1.2.0
Minor Changes
#82
cf5cd2eThanks @aarne! - AddrequestedFieldsoption toexecuteBridge()for sparse fieldset filtering.When provided, only the listed output fields (and their transitive tool dependencies) are resolved.
Tools that feed exclusively into unrequested fields are never called, reducing latency and upstream
bandwidth.
Supports dot-separated paths and a trailing wildcard (
["id", "price", "legs.*"]).@stackables/bridge@2.1.3
Patch Changes
837ec1c,cf5cd2e]:@stackables/bridge-graphql@1.1.2
Patch Changes
cf5cd2e]:@stackables/bridge-parser@1.1.1
Patch Changes
#84
837ec1cThanks @aarne! - Fix several AOT compiler/runtime parity bugs discovered via fuzzing:condAndandcondOrcode generation to match runtime boolean semantics.??handling matches runtime overdefinition boundaries.serializeBridgequoting for empty-string and slash-only string constants so parse/serialize/parse round-trips remain valid.Updated dependencies [
cf5cd2e]: