Update Rust crate askama to 0.15.0 #448
Reference in New Issue
Block a user
Delete Branch "renovate/askama-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.14.0→0.15.0Release Notes
askama-rs/askama (askama)
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: https://github.com/askama-rs/askama/compare/v0.14.0...v0.15.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Renovate Bot.