Releases: sunng87/handlebars-rust
Releases · sunng87/handlebars-rust
v6.2.0
What's Changed
- chore(deps): bump serve-static and express in /playground/www by @dependabot in #675
- chore(deps): bump send and express in /playground/www by @dependabot in #676
- fix: improved number compare between different types by @sunng87 in #679
- chore(deps): bump cookie and express in /playground/www by @dependabot in #680
- feat: add @Index for object iteration by @sunng87 in #682
Full Changelog: v6.1.0...v6.2.0
v6.1.0
What's Changed
- docs: fix code examples formatting by @mrnossiom in #668
- chore(deps-dev): bump webpack from 5.76.0 to 5.94.0 in /playground/www by @dependabot in #671
- implement floating point and string comparisons by @lovasoa in #673
New Contributors
- @mrnossiom made their first contribution in #668
Full Changelog: v6.0.0...v6.1.0
v6.0.0
What's Changed
- chore(deps-dev): bump express from 4.18.2 to 4.19.2 in /playground/www by @dependabot in #639
- impl From for RenderErrorReason by @cmrschwarz in #644
- Fix nested partial indenting by @cmrschwarz in #646
- chore(deps): update env_logger requirement from 0.10 to 0.11 by @dependabot in #631
- add common IDEs to .gitignore by @cmrschwarz in #649
- refactor: add non_exhaustive to all pub items with pub members by @sunng87 in #647
- Fix Nested path lookup bug by @cmrschwarz in #651
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /playground/www by @dependabot in #648
- chore(deps-dev): bump ws from 8.11.0 to 8.17.1 in /playground/www by @dependabot in #652
- Allow users to set single block params. by @cmrschwarz in #655
- Fix indent v2 by @cmrschwarz in #654
- feat: add PathSeg to public API by @geoffreygarrett in #656
- Fix #611 by @cmrschwarz in #657
- apply clippy fixes by @cmrschwarz in #659
- Fix edge case around nested empty partials by @cmrschwarz in #658
- fix: clippy warnings on optional feature tests by @sunng87 in #660
- Avoid cloning the Render Context by @cmrschwarz in #661
- Zero alloc indent write by @cmrschwarz in #663
- Eliminate
RenderContextInner
by @cmrschwarz in #662
See manually crafted changelog here: https://github.com/sunng87/handlebars-rust/blob/master/CHANGELOG.md#600---2024-07-20
New Contributors
- @cmrschwarz made their first contribution in #644
- @geoffreygarrett made their first contribution in #656
Full Changelog: v5.1.2...v6.0.0
v5.1.0
What's Changed
- chore(deps-dev): bump follow-redirects from 1.15.2 to 1.15.4 in /playground/www by @dependabot in #628
- Add chained else expression support by @progmboy in #629
New Contributors
Full Changelog: v5.0.0...v5.1.0
v5.0.0
5.0.0
A semver major release that introduces some API breaking changes.
Highlights
RenderError
has been rewritten for typed error reason. In previous versions we use string message forRenderError
which is impossible to handle with code. This version introducesRenderErrorReason
so you can usematch
to deal various error reasons.- Lifetime in
Helper
trait has been simplified.
Changes compared to 4.3
- [Added] public mutable access to local variables in
BlockContext
[#533] - [Changed] Simplified lifetime specifiers for
Helper
,ScopedJson
and some
other related types and functions. [#532] - [Changed] Updated
TemplateError
to reduce its size. Direct field access is
removed in favor of access methods - [Changed] Introducing
RenderErrorReason
for typed render error - [Changed] Changed
register_template_directory
api for more customizations
#[610] - [Changed] Updated rust-embed to 8.0
Collaboration Wanted
I'm looking for collaborations to join the development with me on this project. Contact via email if your are interested in.
Auto-generated changelog
- chore(deps): update criterion requirement from 0.3 to 0.4 by @dependabot in #530
- issue 529: simplify lifetime requirements by @lovasoa in #532
- Allow public access to local variables by @lovasoa in #533
- Fix issue when using partial context within each block by @sunng87 in #536
- chore(deps): update tiny_http requirement from 0.11 to 0.12 by @dependabot in #538
- fix: enable include-exclude feature for rust-embed by @sunng87 in #542
- Fix looking up provided null value in strict mode by @sunng87 in #543
- chore(deps): update pprof requirement from 0.10 to 0.11 by @dependabot in #544
- Able to get the missing variable path from error by @linw1995 in #546
- chore(deps): update env_logger requirement from 0.9 to 0.10 by @dependabot in #547
- fix: loading templates which has multiple extensions by @sunng87 in #551
- Web playground by @sunng87 in #548
- chore(deps): bump loader-utils from 1.2.3 to 1.4.2 in /playground/www by @dependabot in #553
- chore(deps): bump y18n from 4.0.0 to 4.0.3 in /playground/www by @dependabot in #555
- chore(deps): bump kind-of from 6.0.2 to 6.0.3 in /playground/www by @dependabot in #554
- chore(deps): bump ssri from 6.0.1 to 6.0.2 in /playground/www by @dependabot in #558
- chore(deps): bump json5 from 1.0.1 to 1.0.2 in /playground/www by @dependabot in #560
- chore(deps): bump serialize-javascript from 2.1.2 to 6.0.0 in /playground/www by @dependabot in #556
- chore(deps-dev): bump webpack from 5.75.0 to 5.76.0 in /playground/www by @dependabot in #568
- feat: raise an render error when partial not found by @sunng87 in #571
- fix: use std::result::Result instead of Result in handlebar_helper!() macro by @meuter in #578
- Fix parameter passing for single-quoted string literals by @nickvollmar in #577
- Refactor more RenderError into RenderErrorReason by @sunng87 in #581
- chore(deps): update criterion requirement from 0.4 to 0.5 by @dependabot in #584
- Render arrays without trailing commas by @aromeronavia in #588
- fix issue #589 to make the quick-start example complete by @szabgab in #590
- chore(deps): update pprof requirement from 0.11 to 0.12 by @dependabot in #591
- Added TemplateErrorReason to exported types by @Julian-Alberts in #594
- Added dev mode and extension filter for RustEmbed by @qxuken in #596
- chore(deps): update rust-embed requirement from 6.3.0 to 8.0.0 by @dependabot in #599
- Add hidden flag to control when hidden files are ignored by @yhakbar in #601
- fix: expose directory source options by @sunng87 in #603
- chore: update rhai to 1.16.1 and set msrv to 1.66 by @sunng87 in #605
- fix: public access to
DirectorySourceOptions
by @sunng87 in #607 - Improve recursive call macros hygiene by @FirelightFlagboy in #609
- Re-export JsonTruthy by @Dosenpfand in #610
- chore(deps): update pprof requirement from 0.12 to 0.13 by @dependabot in #612
- Support for case conversion helpers. by @gabhijit in #619
- refactor: improve RenderError and RenderErrorReason for 5.0 branch by @sunng87 in #625
New Contributors
- @lovasoa made their first contribution in #532
- @linw1995 made their first contribution in #546
- @meuter made their first contribution in #578
- @nickvollmar made their first contribution in #577
- @aromeronavia made their first contribution in #588
- @szabgab made their first contribution in #590
- @Julian-Alberts made their first contribution in #594
- @qxuken made their first contribution in #596
- @yhakbar made their first contribution in #601
- @FirelightFlagboy made their first contribution in #609
- @Dosenpfand made their first contribution in #610
- @gabhijit made their first contribution in #619
Full Changelog: v4.5.0...v5.0.0
v4.3.7
v4.3.6
v4.3.0
Changes included in 4.3.0 release:
- [Changed] update MSRV to 1.57 as rhai requires
- [Fixed] Reimplemented indent support for partial expression {{> partial}}, which is introduced in 4.2.0. The new implementation is aligned with original javascript version, that every text line generated from partial are indented as {{> partial}} does. prevent_indent will turn-off this feature. [#505]
- [Changed] changed error support library from quick_error to
thiserror
Caution that the partial indent fix will make handlebars 4.3 behaviour different with 4.2 when there is indent with {{> partial}}
statement.