|
1 | 1 | # Change Log |
2 | 2 |
|
3 | | -## [Unreleased](https://github.com/sunng87/handlebars-rust/compare/3.4.0...Unreleased) - ReleaseDate |
| 3 | +## [4.0.0](https://github.com/sunng87/handlebars-rust/compare/3.4.0...4.0.0) - 2021-05-25 |
4 | 4 |
|
5 | 5 | * [Added] `dev_mode` for registry: templates and scripts loaded from file are always |
6 | 6 | reloaded when dev mode enabled [#395] |
7 | 7 | * [Added] Registry is now `Clone` [#395] |
8 | | -* [Changed] Updated `rhai` to 0.19.6 and above [#391] |
| 8 | +* [Added] New built-in helper `len` [#421] |
| 9 | +* [Changed] Updated `rhai` to 0.19 and then 0.20 [#391] |
9 | 10 | * [Changed] `#each` helper now renders else block for non-iterable data [#380] |
10 | 11 | * [Changed] `TemplateError` and `ScriptError` is now a cause of `RenderError` [#395] |
11 | | -* [Changed] `RenderContext::get_partial` now returns `Option<&Template>` |
| 12 | +* [Changed] Empty lines around block helpers are now stripped [#404] |
| 13 | +* [Changed] **Breaking** `RenderContext::get_partial` now returns `Option<&Template>` |
| 14 | +* [Changed] **Breaking** Capitalize names like `HtmlExpression` and `IoError` based on clippy recommendations [#424] |
| 15 | +* [Changed] **Breaking** Improved return type of `call_inner` from `HelperDef` to avoid misleading [#437] |
12 | 16 | * [Fixed] reference starts with `null`, `true` and `false` were parsed incorrectly [#382] |
13 | 17 | * [Fixed] dir source path separator bug on windows [#389] [#405] |
14 | | -* [Removed] option to disable source map is removed [#395] |
15 | | -* [Removed] `TemplateFileError` and `TemplateRenderError` are removed and merged into |
| 18 | +* [Fixed] stack overflow with nested `@partial-block` [#401] |
| 19 | +* [Fixed] value access issue when upper block has a base value [#419] |
| 20 | +* [Fixed] escape rules for Json string literal [#423] |
| 21 | +* [Fixed] **Breaking** zero-arity subexpressions support [#433] |
| 22 | + Zero-arity subexpression no longer resolved as variable. The behaviour is now aligned with handlebarsjs. |
| 23 | +* [Removed] **Breaking** option to disable source map is removed [#395] |
| 24 | +* [Removed] **Breaking** `TemplateFileError` and `TemplateRenderError` are removed and merged into |
16 | 25 | `TemplateError` and `RenderError` [#395] |
17 | 26 |
|
| 27 | +## [3.5.5](https://github.com/sunng87/handlebars-rust/compare/3.5.4...3.5.5) - 2021-05-03 |
| 28 | + |
| 29 | +* [Fixed] Panic on reporting invalid tag name [#427] |
| 30 | + |
| 31 | +## [3.5.4](https://github.com/sunng87/handlebars-rust/compare/3.5.3...3.5.4) - 2021-03-27 |
| 32 | + |
| 33 | +* [Fixed] Json string literal with escape char [#422] |
| 34 | + |
| 35 | +## [3.5.3](https://github.com/sunng87/handlebars-rust/compare/3.5.2...3.5.3) - 2021-02-20 |
| 36 | + |
| 37 | +* [Fixed] value access issue when upper block has a base value [#419] |
| 38 | + |
| 39 | +## [3.5.2](https://github.com/sunng87/handlebars-rust/compare/3.5.1...3.5.2) - 2020-12-29 |
| 40 | + |
| 41 | +* [Fixed] allow `/` as trailing separator on Windows, backported from master [#405] |
| 42 | + |
| 43 | +## [3.5.1](https://github.com/sunng87/handlebars-rust/compare/3.5.0...3.5.1) - 2020-10-25 |
| 44 | + |
| 45 | +* [Fixed] dir source path separator bug on windows [#389] |
| 46 | + |
| 47 | +## [3.5.0](https://github.com/sunng87/handlebars-rust/compare/3.4.0...3.5.0) - 2020-09-23 |
| 48 | + |
| 49 | +* [Changed] `#each` helper now renders else block for non-iterable data [#380] |
| 50 | +* [Fixed] reference starts with `null`, `true` and `false` were parsed incorrectly [#382] |
| 51 | + |
18 | 52 | ## [3.4.0](https://github.com/sunng87/handlebars-rust/compare/3.3.0...3.4.0) - 2020-08-14 |
19 | 53 |
|
20 | 54 | * [Added] Debug log that can be turned on by using envlog or other implementation, to trace data resolution during rendering [#369] |
|
0 commit comments