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 for RenderError which is impossible to handle with code. This version introduces RenderErrorReason so you can use match 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.
[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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps handlebars from 4.5.0 to 5.1.1.
Release notes
Sourced from handlebars's releases.
... (truncated)
Changelog
Sourced from handlebars's changelog.
... (truncated)
Commits
6cb6698
(cargo-release) version 5.1.194d9211
Merge pull request #630 from sunng87/fix/turn-off-chain-field-of-helper-templatef07f6fc
docs: update changelogc1a4aef
refactor: turn off pub access of chain in HelperTemplated8d9a78
chore: Release handlebars version 5.1.0137bce5
chore: minor cleanup for chained else support in #629e30d8ab
Merge pull request #629 from progmboy/else_chain8f16353
format code786d132
add else chain support23672e8
Merge pull request #628 from sunng87/dependabot/npm_and_yarn/playground/www/f...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show