Update Rust crate tera to v2 - #14
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.20.1→2.0.0Release Notes
Keats/tera (tera)
v2.4.0Compare Source
Tera::render_component_with_implicitsandTera::render_component_with_implicits_toto render a component with implicit parameters as a separate context.uniquefilter treating distinct maps as the samev2.3.0Compare Source
State::{escape,autoescaping_enabled,escape_if_needed}StringInputto use for input/parameters that is safety aware and use it for built-in filters: thismeans you should need less
| safeand that string safety is passed around correctly. Safety is dropped byfilters where the changes depend on the content itself (
truncatecan cut anywhere) and preserved when they specify exactly what changes (trim,replace).escapefilter that is safety aware (it will not escape an already safe string) and uses the current instanceescape function
for example a
.txtincluded in a.htmlwill now be autoescaped if Tera autoescapes on.html.v2.2.0Compare Source
indentfilter to be configuredv2.1.1Compare Source
v2.1.0Compare Source
Tera::contains_componentandTera::get_component_namesv2.0.0Compare Source
see migration guide for all the changes.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.