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.
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.2.
Release notes
Sourced from handlebars's releases.
... (truncated)
Changelog
Sourced from handlebars's changelog.
... (truncated)
Commits
47bc650
chore: Release handlebars version 5.1.23458be1
chore: changelog housekeepinge1c9ec2
Merge pull request #638 from lovasoa/better_error_messages231a3f5
fmt2a93400
improve error messages on parse errorsdea0ed9
Merge pull request #637 from sunng87/dependabot/npm_and_yarn/playground/www/w...4079121
chore(deps-dev): bump webpack-dev-middleware in /playground/wwwd37613c
Merge pull request #635 from sunng87/dependabot/cargo/heck-0.5590f1ce
Merge pull request #636 from sunng87/dependabot/npm_and_yarn/playground/www/f...b86a66a
chore(deps-dev): bump follow-redirects in /playground/wwwDependabot 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