Skip to content

Commit c6bb159

Browse files
chore: update versions
1 parent 70b946e commit c6bb159

22 files changed

Lines changed: 243 additions & 104 deletions

.changeset/compiler-fallback-loop-tools.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.changeset/compiler-shadowed-loop-tools.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changeset/document-source-metadata.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/native-batched-tool-authoring.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/runtime-error-tool-formatting.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/safe-path-panic-formatting.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/strict-scope-rules.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/ternary-condition-source-mapping.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/bridge-compiler/CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# @stackables/bridge-compiler
22

3+
## 2.4.1
4+
5+
### Patch Changes
6+
7+
- [#108](https://github.com/stackables/bridge/pull/108) [`de20ece`](https://github.com/stackables/bridge/commit/de20ece3ca9c42d0def90f512f90900962670339) Thanks [@aarne](https://github.com/aarne)! - Add memoized tool handles with compiler support.
8+
9+
Bridge `with` declarations now support `memoize` for tool handles, including
10+
loop-scoped tool handles inside array mappings. Memoized handles reuse the same
11+
result for repeated calls with identical inputs, and each declared handle keeps
12+
its own cache.
13+
14+
The AOT compiler now compiles memoized tool handles too, including loop-scoped
15+
tool handles inside array mappings. Compiled execution preserves request-scoped
16+
caching semantics and reuses results for repeated calls with identical inputs.
17+
18+
- [#108](https://github.com/stackables/bridge/pull/108) [`de20ece`](https://github.com/stackables/bridge/commit/de20ece3ca9c42d0def90f512f90900962670339) Thanks [@aarne](https://github.com/aarne)! - Compile shadowed loop-scoped tool handles in the AOT compiler.
19+
20+
Bridges can now redeclare the same tool alias in nested array scopes without
21+
triggering `BridgeCompilerIncompatibleError` or falling back to the interpreter.
22+
The compiler now assigns distinct tool instances to repeated handle bindings so
23+
each nested scope emits and reads from the correct tool call.
24+
25+
- [#111](https://github.com/stackables/bridge/pull/111) [`fc836e4`](https://github.com/stackables/bridge/commit/fc836e4ff33f00a078246094b8b12b77ee844942) Thanks [@aarne](https://github.com/aarne)! - Move Bridge source metadata onto BridgeDocument.
26+
27+
Parsed documents now retain their original source text automatically, and can
28+
optionally carry a filename from parse time. Runtime execution, compiler
29+
fallbacks, GraphQL execution, and playground formatting now read that metadata
30+
from the document instead of requiring callers to thread source and filename
31+
through execute options.
32+
33+
- [#111](https://github.com/stackables/bridge/pull/111) [`fc836e4`](https://github.com/stackables/bridge/commit/fc836e4ff33f00a078246094b8b12b77ee844942) Thanks [@aarne](https://github.com/aarne)! - Fix segment-local `?.` traversal so later strict path segments still fail after a guarded null hop, and preserve source formatting for `panic` control-flow errors.
34+
35+
- [#108](https://github.com/stackables/bridge/pull/108) [`de20ece`](https://github.com/stackables/bridge/commit/de20ece3ca9c42d0def90f512f90900962670339) Thanks [@aarne](https://github.com/aarne)! - Fix strict nested scope resolution for array mappings.
36+
37+
Nested scopes can now read iterator aliases from visible parent scopes while
38+
still resolving overlapping names to the nearest inner scope. This also keeps
39+
invalid nested tool input wiring rejected during parsing.
40+
41+
- [#111](https://github.com/stackables/bridge/pull/111) [`fc836e4`](https://github.com/stackables/bridge/commit/fc836e4ff33f00a078246094b8b12b77ee844942) Thanks [@aarne](https://github.com/aarne)! - Improve runtime error source mapping for ternary conditions and strict path traversal.
42+
43+
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.
44+
Strict path traversal also now fails consistently on primitive property access in both runtime and AOT execution, keeping error messages and behavior aligned.
45+
46+
- Updated dependencies [[`de20ece`](https://github.com/stackables/bridge/commit/de20ece3ca9c42d0def90f512f90900962670339), [`fc836e4`](https://github.com/stackables/bridge/commit/fc836e4ff33f00a078246094b8b12b77ee844942), [`375e2b0`](https://github.com/stackables/bridge/commit/375e2b08a16f670cded3aba7d6e2ee52254eab1c), [`fc836e4`](https://github.com/stackables/bridge/commit/fc836e4ff33f00a078246094b8b12b77ee844942), [`fc836e4`](https://github.com/stackables/bridge/commit/fc836e4ff33f00a078246094b8b12b77ee844942), [`de20ece`](https://github.com/stackables/bridge/commit/de20ece3ca9c42d0def90f512f90900962670339), [`fc836e4`](https://github.com/stackables/bridge/commit/fc836e4ff33f00a078246094b8b12b77ee844942)]:
47+
- @stackables/bridge-core@1.6.0
48+
- @stackables/bridge-stdlib@1.5.3
49+
350
## 2.4.0
451

552
### Minor Changes

packages/bridge-compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stackables/bridge-compiler",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "Compiles a BridgeDocument into highly optimized JavaScript code",
55
"main": "./build/index.js",
66
"type": "module",

0 commit comments

Comments
 (0)