Update Rust crate askama to 0.15.0 #160
Open
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:
0.13.0→0.15.0Release Notes
askama-rs/askama (askama)
v0.15.1Compare Source
What's Changed
call_sitefor code generated by the derive proc-macro by @sehnryr in #647New Contributors
Full Changelog: askama-rs/askama@v0.15.0...v0.15.1
v0.15.0Compare Source
The main breaking change is about custom filters, they now require the
filter_fnattribute. More information about it in the askama book.(❗ = breaking change)
New features
rejectfilter❗ by @GuillaumeGomez in #430|default,|assigned_orand|defined_or❗ by @Kijewski in #425askama::filter_fnproc-macro for custom filters with named/optional arg support❗ by @seijikun in #545enumvariants by @Kijewski in #255[<element_expr>; <cnt_expr>]by @seijikun in #626Major internal changes
Improve error location to give better errors:
TokenStreamrather than aStringby @GuillaumeGomez in #558LocatingSlice<&str>instead of&strby @Kijewski in #560Parser::[with_]span()to get byte range and use byte range forproc_macro::Spanby @Kijewski in #571Other
filesizeformatwith proper accuracy❗ by @seijikun in #568linebreaks,paragraphbreaksandlinebreaksbronly needcoreby @Kijewski in #486Book/documentation
refdocumentation by @sinder38 in #456performance.mdby @zamazan4ik in #188mdbookversion and highlightjinjablocks by @Kijewski in #544Internal changes
{# comment #}parsing by @Kijewski in #488Expr::AttrintoExpr::AssociatedItemby @GuillaumeGomez in #499Exprvariants by @Kijewski in #498|filterand{% filter %}parsing by @Kijewski in #500if-let-chainsby @Kijewski in #527if-letby @Kijewski in #532Performance
#[inline]annotations by @Kijewski in #421indentFilter Implementation by @strickczq in #466wordcountfilter work with core only by @GuillaumeGomez in #480Expr::Callhandling for{{ expressions }}and remove parentheses by @Kijewski in #540Expr/NodewithBox<Expr>/Box<Node>by @Kijewski in #542punction()finding by @Kijewski in #543loop.firstis known by being atindex == 0by @Kijewski in #436Bugfixes
impl FastWritable for Cowby @C0D3-M4513R in #432unicode-identto determine what is an identifier by @Kijewski in #443__askamaby @Kijewski in #444crateto be used as identifier by @GuillaumeGomez in #450LoopItem::indextoLoopItem::index0by @Kijewski in #481U+10FFFFis the highest Unicode codepoint by @Kijewski in #484{% raw %}andLit::parse()withoutskip_tillby @Kijewski in #489{% raw %}for delimiters starting with-by @Kijewski in #491suffix#by @Kijewski in #496check_expr()recursion by @Kijewski in #519EvaluatedResultknow its unknown result by @Kijewski in #538r#selfis not a valid raw identifier in macro calls by @Kijewski in #553::by @GuillaumeGomez in #569lib.rsby @Kijewski in #573r#_is not a valid identifier by @Kijewski in #579blockcalls are done by @GuillaumeGomez in #580safefilter intemplate_syntax.mdby @FalkWoldmann in #587synstack overflow by @GuillaumeGomez in #611New Contributors
Full Changelog: askama-rs/askama@v0.14.0...v0.15.0
v0.14.0Compare Source
Added Features
Valueson tuple by @GuillaumeGomez in #391firstandblankarguments for|indentby @Kijewski in #401uniquefilter by @GuillaumeGomez in #405Bug Fixes And Consistency
askama_deriveaccidentally exposed as a feature by @Kijewski in #384CARGO_MANIFEST_DIRpart ofConfigKeyby @strickczq in #395uniquefilter implementation by @GuillaumeGomez in #417|titlecaseas alias for|titleby @Kijewski in #416Further Changes
FastWritableby @Kijewski in #407FastWritableintoaskamaroot by @GuillaumeGomez in #411New Contributors
Full Changelog: askama-rs/askama@v0.13.0...v0.14.0
v0.13.1Compare Source
What's Changed
askama_deriveaccidentally exposed as a feature by @Kijewski in #384Valueson tuple by @GuillaumeGomez in #391CARGO_MANIFEST_DIRpart ofConfigKeyby @strickczq in #395New Contributors
Full Changelog: askama-rs/askama@v0.13.0...v0.13.1
Configuration
📅 Schedule: Branch creation - "before 6am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.