You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file.
3
3
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
6
+
## [1.2.2] Faithful Dispatch - 2026-04-05
7
+
8
+
### Changed
9
+
- Better aligned compiler and runtime structure with Handlebars.js,
10
+
fixing numerous edge cases related to helpers and `@data` variables.
11
+
12
+
### Fixed
13
+
-`../` expressions inside `{{else}}` blocks of `{{#if}}`, `{{#unless}}`, `{{#with}}`, and sections invoking `blockHelperMissing` resolved to the wrong context level.
14
+
- A missing helper called via multi-segment path in a subexpression or `@data` variable failed to invoke `helperMissing`.
15
+
- A non-function context property used as a helper (e.g. `{{foo "arg"}}` where `foo` is not a closure) incorrectly called `helperMissing` rather than throwing a distinct error.
16
+
- No error thrown when calling a missing helper via a multi-segment path with arguments (e.g. `{{foo.bar "arg"}}`).
17
+
- Closures in context data could not be used as block helpers (e.g. `{{#fn}}...{{/fn}}` where `fn` is a closure).
18
+
- Closures in context data or `@data` variables failed to be passed `HelperOptions` as the last argument in certain cases.
19
+
- Templates with hash arguments on complex paths (e.g. `{{foo.bar arg=val}}`) were not compiled correctly.
20
+
- Closures in context data were not invoked when accessed via a multi-segment path (e.g. `{{foo.bar}}`), or via a literal path (e.g. `{{"foo"}}`) in `knownHelpersOnly` mode.
21
+
-`@data` variables incorrectly took priority over helpers with the same name.
22
+
-`knownHelpersOnly` was not enforced for `@data` expressions or complex paths used with arguments.
23
+
24
+
6
25
## [1.2.1] Optimal Simplification - 2026-04-02
7
26
8
27
### Changed
@@ -216,6 +235,7 @@ Initial release after forking from LightnCandy 1.2.6.
0 commit comments