fix(deps): update rust crate askama to 0.16.0 #14
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LibrePages/neo!14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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.16.0Release Notes
askama-rs/askama (askama)
v0.16.0Compare Source
This new release increases compatibility with
jinjalanguage, add support for more rust expressions in the templates. Take a look at the book for the migration guide.(❗ = breaking change)
New features
❗Add support for
let blocksby @GuillaumeGomez in #697Implement compound assignments (e.g.
{% mut a += 1 %}) by @Kijewski in #685Add support for tuple, array and slice in type generics by @GuillaumeGomez in #721
Add support for macro args type annotations by @GuillaumeGomez in #722
Add support for
caller()in variable declaration by @GuillaumeGomez in #724Add glob support for
dirsin config file by @GuillaumeGomez in #731Bugfixes
size_hintis collected by @Kijewski in #700dyninstead of plain generic bounds by @GuillaumeGomez in #726std::path::absoluteto avoid symlinking template paths by @kaepr in #720Other
Performance
Documentation
configby @GuillaumeGomez in #732Templatetrait methods can returnErrby @GuillaumeGomez in #730Internal changes
Tygenerics by @GuillaumeGomez in #723complex-expressionbenchmark by @Kijewski in #691Cargo.tomlfiles by @GuillaumeGomez in #696rand+rand_xoshirodev-dependencies by @Kijewski in #701trybuildversion to1.0.116to enforce diagnostics width by @GuillaumeGomez in #718New Contributors
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.4...v0.16.0
v0.15.6Compare Source
What's Changed
.clone()by @jplatte in #716SyntaxAndCacheby @jplatte in #714winnowto 1.0 by @jplatte in #715Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.5...v0.15.6
v0.15.5Compare Source
What's Changed
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.4...v0.15.5
v0.15.4Compare Source
What's Changed
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.3...v0.15.4
v0.15.3Compare Source
What's Changed
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.2...v0.15.3
v0.15.2Compare Source
What's Changed
extendsblocks by @GuillaumeGomez in #670#[filter_fn]by @Kijewski in #655salvoby @Kijewski in #659Upgrading to new versionschapter in the askama book by @GuillaumeGomez in #665extendsby @GuillaumeGomez in #666wherebounds in#[filter_fn]by @Kijewski in #672filterschapter by @Tirka in #673filterschapter examples (by making us ofdefined_orfilter) by @Tirka in #675New Contributors
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.1...v0.15.2
v0.15.1Compare Source
What's Changed
call_sitefor code generated by the derive proc-macro by @sehnryr in #647New Contributors
Full Changelog: https://github.com/askama-rs/askama/compare/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: 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: 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 has been generated by Renovate Bot.
3c14031881to160a91e383fix(deps): update rust crate askama to 0.15.0to fix(deps): update rust crate askama to 0.16.0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.