Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bridge | 1803e86 | Commit Preview URL Branch Preview URL |
Mar 08 2026, 09:46 AM |
c6bb159 to
dd5b89e
Compare
dd5b89e to
1803e86
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@2.3.0
Minor Changes
#112
375e2b0Thanks @aarne! - Improve native batched tool authoring by documenting the feature, exporting dedicated batch tool types, and simplifying the batch contract to plain input arrays.Batch tools now receive
Input[]and must returnOutput[]in matching order. Batched tool tracing and logging are also emitted once per flushed batch call instead of once per queued item.Native batching now works in compiled execution as well as the runtime interpreter. Batch tools can also signal partial failures by returning an
Errorat a specific result index, which rejects only that item and allows normal wire-levelcatchfallbacks to handle it.Patch Changes
#108
de20eceThanks @aarne! - Add memoized tool handles with compiler support.Bridge
withdeclarations now supportmemoizefor tool handles, includingloop-scoped tool handles inside array mappings. Memoized handles reuse the same
result for repeated calls with identical inputs, and each declared handle keeps
its own cache.
The AOT compiler now compiles memoized tool handles too, including loop-scoped
tool handles inside array mappings. Compiled execution preserves request-scoped
caching semantics and reuses results for repeated calls with identical inputs.
#111
fc836e4Thanks @aarne! - Move Bridge source metadata onto BridgeDocument.Parsed documents now retain their original source text automatically, and can
optionally carry a filename from parse time. Runtime execution, compiler
fallbacks, GraphQL execution, and playground formatting now read that metadata
from the document instead of requiring callers to thread source and filename
through execute options.
#111
fc836e4Thanks @aarne! - Improve formatted runtime errors for missing tools and source underlines.No tool found for "..."and missing registered tool-function errors now carryBridge source locations when they originate from authored bridge wires, so
formatted errors include the filename, line, and highlighted source span.
Control-flow throw fallbacks now preserve their own source span, so
?? throw "..."highlights only the throw clause instead of the whole wire.Caret underlines now render the full inclusive source span instead of stopping
one character short.
#111
fc836e4Thanks @aarne! - Fix segment-local?.traversal so later strict path segments still fail after a guarded null hop, and preserve source formatting forpaniccontrol-flow errors.#108
de20eceThanks @aarne! - Fix strict nested scope resolution for array mappings.Nested scopes can now read iterator aliases from visible parent scopes while
still resolving overlapping names to the nearest inner scope. This also keeps
invalid nested tool input wiring rejected during parsing.
#111
fc836e4Thanks @aarne! - Improve runtime error source mapping for ternary conditions and strict path traversal.Runtime and compiled execution now preserve clause-level source spans for ternary conditions and branches, so formatted errors can highlight only the failing condition or selected branch instead of the whole wire.
Strict path traversal also now fails consistently on primitive property access in both runtime and AOT execution, keeping error messages and behavior aligned.
Updated dependencies [
de20ece,fc836e4,375e2b0,fc836e4,fc836e4,de20ece,fc836e4]:@stackables/bridge-core@1.6.0
Minor Changes
#112
375e2b0Thanks @aarne! - Improve native batched tool authoring by documenting the feature, exporting dedicated batch tool types, and simplifying the batch contract to plain input arrays.Batch tools now receive
Input[]and must returnOutput[]in matching order. Batched tool tracing and logging are also emitted once per flushed batch call instead of once per queued item.Native batching now works in compiled execution as well as the runtime interpreter. Batch tools can also signal partial failures by returning an
Errorat a specific result index, which rejects only that item and allows normal wire-levelcatchfallbacks to handle it.Patch Changes
#108
de20eceThanks @aarne! - Add memoized tool handles with compiler support.Bridge
withdeclarations now supportmemoizefor tool handles, includingloop-scoped tool handles inside array mappings. Memoized handles reuse the same
result for repeated calls with identical inputs, and each declared handle keeps
its own cache.
The AOT compiler now compiles memoized tool handles too, including loop-scoped
tool handles inside array mappings. Compiled execution preserves request-scoped
caching semantics and reuses results for repeated calls with identical inputs.
#111
fc836e4Thanks @aarne! - Move Bridge source metadata onto BridgeDocument.Parsed documents now retain their original source text automatically, and can
optionally carry a filename from parse time. Runtime execution, compiler
fallbacks, GraphQL execution, and playground formatting now read that metadata
from the document instead of requiring callers to thread source and filename
through execute options.
#111
fc836e4Thanks @aarne! - Improve formatted runtime errors for missing tools and source underlines.No tool found for "..."and missing registered tool-function errors now carryBridge source locations when they originate from authored bridge wires, so
formatted errors include the filename, line, and highlighted source span.
Control-flow throw fallbacks now preserve their own source span, so
?? throw "..."highlights only the throw clause instead of the whole wire.Caret underlines now render the full inclusive source span instead of stopping
one character short.
#111
fc836e4Thanks @aarne! - Fix segment-local?.traversal so later strict path segments still fail after a guarded null hop, and preserve source formatting forpaniccontrol-flow errors.#108
de20eceThanks @aarne! - Fix strict nested scope resolution for array mappings.Nested scopes can now read iterator aliases from visible parent scopes while
still resolving overlapping names to the nearest inner scope. This also keeps
invalid nested tool input wiring rejected during parsing.
#111
fc836e4Thanks @aarne! - Improve runtime error source mapping for ternary conditions and strict path traversal.Runtime and compiled execution now preserve clause-level source spans for ternary conditions and branches, so formatted errors can highlight only the failing condition or selected branch instead of the whole wire.
Strict path traversal also now fails consistently on primitive property access in both runtime and AOT execution, keeping error messages and behavior aligned.
Updated dependencies [
375e2b0]:@stackables/bridge-types@1.2.0
Minor Changes
#112
375e2b0Thanks @aarne! - Improve native batched tool authoring by documenting the feature, exporting dedicated batch tool types, and simplifying the batch contract to plain input arrays.Batch tools now receive
Input[]and must returnOutput[]in matching order. Batched tool tracing and logging are also emitted once per flushed batch call instead of once per queued item.Native batching now works in compiled execution as well as the runtime interpreter. Batch tools can also signal partial failures by returning an
Errorat a specific result index, which rejects only that item and allows normal wire-levelcatchfallbacks to handle it.@stackables/bridge-compiler@2.4.1
Patch Changes
#108
de20eceThanks @aarne! - Add memoized tool handles with compiler support.Bridge
withdeclarations now supportmemoizefor tool handles, includingloop-scoped tool handles inside array mappings. Memoized handles reuse the same
result for repeated calls with identical inputs, and each declared handle keeps
its own cache.
The AOT compiler now compiles memoized tool handles too, including loop-scoped
tool handles inside array mappings. Compiled execution preserves request-scoped
caching semantics and reuses results for repeated calls with identical inputs.
#108
de20eceThanks @aarne! - Compile shadowed loop-scoped tool handles in the AOT compiler.Bridges can now redeclare the same tool alias in nested array scopes without
triggering
BridgeCompilerIncompatibleErroror falling back to the interpreter.The compiler now assigns distinct tool instances to repeated handle bindings so
each nested scope emits and reads from the correct tool call.
#111
fc836e4Thanks @aarne! - Move Bridge source metadata onto BridgeDocument.Parsed documents now retain their original source text automatically, and can
optionally carry a filename from parse time. Runtime execution, compiler
fallbacks, GraphQL execution, and playground formatting now read that metadata
from the document instead of requiring callers to thread source and filename
through execute options.
#111
fc836e4Thanks @aarne! - Fix segment-local?.traversal so later strict path segments still fail after a guarded null hop, and preserve source formatting forpaniccontrol-flow errors.#108
de20eceThanks @aarne! - Fix strict nested scope resolution for array mappings.Nested scopes can now read iterator aliases from visible parent scopes while
still resolving overlapping names to the nearest inner scope. This also keeps
invalid nested tool input wiring rejected during parsing.
#111
fc836e4Thanks @aarne! - Improve runtime error source mapping for ternary conditions and strict path traversal.Runtime and compiled execution now preserve clause-level source spans for ternary conditions and branches, so formatted errors can highlight only the failing condition or selected branch instead of the whole wire.
Strict path traversal also now fails consistently on primitive property access in both runtime and AOT execution, keeping error messages and behavior aligned.
Updated dependencies [
de20ece,fc836e4,375e2b0,fc836e4,fc836e4,de20ece,fc836e4]:@stackables/bridge-graphql@1.2.1
Patch Changes
#111
fc836e4Thanks @aarne! - Move Bridge source metadata onto BridgeDocument.Parsed documents now retain their original source text automatically, and can
optionally carry a filename from parse time. Runtime execution, compiler
fallbacks, GraphQL execution, and playground formatting now read that metadata
from the document instead of requiring callers to thread source and filename
through execute options.
Updated dependencies [
de20ece,fc836e4,375e2b0,fc836e4,fc836e4,de20ece,fc836e4]:@stackables/bridge-parser@1.4.1
Patch Changes
#108
de20eceThanks @aarne! - Add memoized tool handles with compiler support.Bridge
withdeclarations now supportmemoizefor tool handles, includingloop-scoped tool handles inside array mappings. Memoized handles reuse the same
result for repeated calls with identical inputs, and each declared handle keeps
its own cache.
The AOT compiler now compiles memoized tool handles too, including loop-scoped
tool handles inside array mappings. Compiled execution preserves request-scoped
caching semantics and reuses results for repeated calls with identical inputs.
#111
fc836e4Thanks @aarne! - Move Bridge source metadata onto BridgeDocument.Parsed documents now retain their original source text automatically, and can
optionally carry a filename from parse time. Runtime execution, compiler
fallbacks, GraphQL execution, and playground formatting now read that metadata
from the document instead of requiring callers to thread source and filename
through execute options.
#108
de20eceThanks @aarne! - Fix strict nested scope resolution for array mappings.Nested scopes can now read iterator aliases from visible parent scopes while
still resolving overlapping names to the nearest inner scope. This also keeps
invalid nested tool input wiring rejected during parsing.
#111
fc836e4Thanks @aarne! - Improve runtime error source mapping for ternary conditions and strict path traversal.Runtime and compiled execution now preserve clause-level source spans for ternary conditions and branches, so formatted errors can highlight only the failing condition or selected branch instead of the whole wire.
Strict path traversal also now fails consistently on primitive property access in both runtime and AOT execution, keeping error messages and behavior aligned.
Updated dependencies [
de20ece,fc836e4,375e2b0,fc836e4,fc836e4,de20ece,fc836e4]:@stackables/bridge-stdlib@1.5.3
Patch Changes
375e2b0]: