Update Rust crate askama to 0.13.0 #375
Loading…
x
Reference in New Issue
Block a user
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.12.1
->0.13.0
Release Notes
askama-rs/askama (askama)
v0.13.0
: – Rinja is Askama, again!Compare Source
With this release, the fork rinja got merged back into the main project. Please have a look at our blog post for more information about the split and the merge.
What's Changed
This release (v0.13.0), when compared to the last stable askama release (v0.12.1), consists of:
Compared to rinja v0.3.5
rinja
intoaskama
by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/353Major added and improved features:
enum
variants by @Kijewski in https://github.com/askama-rs/askama/pull/255filesizeformat
filter requirements by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/216blocks
by @Kijewski in https://github.com/askama-rs/askama/pull/337~
by @Kijewski in https://github.com/askama-rs/askama/pull/236#![no_std]
compatible by @Kijewski in https://github.com/askama-rs/askama/pull/286derive
optional by @Kijewski in https://github.com/askama-rs/askama/pull/342More added and improved features:
FastWritable
propagate custom errors by @Kijewski in https://github.com/askama-rs/askama/pull/217PrimitiveType
for non-zero integers by @Kijewski in https://github.com/askama-rs/askama/pull/220AsIndent
forNonZeroUsize
andWrapping<usize>
by @Kijewski in https://github.com/askama-rs/askama/pull/221HtmlSafe
for all reference wrappers by @Kijewski in https://github.com/askama-rs/askama/pull/219extends
by @Kijewski in https://github.com/askama-rs/askama/pull/241_
by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/244std::num::Saturating
is stable since rust 1.74 by @Kijewski in https://github.com/askama-rs/askama/pull/270Error
s a bit easier by @Kijewski in https://github.com/askama-rs/askama/pull/277|fmt
and|format
available with feature"alloc"
, but without"std"
by @Kijewski in https://github.com/askama-rs/askama/pull/319enum
s, letSelf
refer to the original type by @Kijewski in https://github.com/askama-rs/askama/pull/333rinja
path by @Kijewski in https://github.com/askama-rs/askama/pull/334Values
for all collection types by @Kijewski in https://github.com/askama-rs/askama/pull/346askama_escaped
by @Kijewski in https://github.com/askama-rs/askama/pull/378Removed features:
EXTENSION
constant fromTemplate
by @Kijewski in https://github.com/askama-rs/askama/pull/252MIME_TYPE
guessing by @Kijewski in https://github.com/askama-rs/askama/pull/271gen
to keywords by @Kijewski in https://github.com/askama-rs/askama/pull/294Performance:
fmt::Formatter
machinery in URL encoding by @Kijewski in https://github.com/askama-rs/askama/pull/218String
if we can help it by @Kijewski in https://github.com/askama-rs/askama/pull/235WithSpan
to one register by @Kijewski in https://github.com/askama-rs/askama/pull/257format!()
, shorter context on error by @Kijewski in https://github.com/askama-rs/askama/pull/276serde
andserde_derive
by @Kijewski in https://github.com/askama-rs/askama/pull/343Safety and correctness:
union
s as they requireunsafe
code by @Kijewski in https://github.com/askama-rs/askama/pull/231__rinja
and free namewriter
by @Kijewski in https://github.com/askama-rs/askama/pull/292if let
by @Kijewski in https://github.com/askama-rs/askama/pull/332from_utf8_unsafe()
withAsciiStr
by @Kijewski in https://github.com/askama-rs/askama/pull/351syn
version by @paolobarbolini in https://github.com/askama-rs/askama/pull/379Documentation, our book, and examples:
upgrading.md
by @Kijewski in https://github.com/askama-rs/askama/pull/303blocks
by @Kijewski in https://github.com/askama-rs/askama/pull/340askama_web
by @Kijewski in https://github.com/askama-rs/askama/pull/369Escaper
argumentfmt
intodest
by @Kijewski in https://github.com/askama-rs/askama/pull/349Testing:
Cluster-Fuzz
by @Kijewski in https://github.com/askama-rs/askama/pull/376Migrate to from nom to winnow
i
nput state by @epage in https://github.com/askama-rs/askama/pull/275Refactoring, error messages, and changes invisible to the user:
#[template]
parsing by @Kijewski in https://github.com/askama-rs/askama/pull/243proc-macro
support by @Kijewski in https://github.com/askama-rs/askama/pull/268enum
variants by @Kijewski in https://github.com/askama-rs/askama/pull/266write_header()
by @Kijewski in https://github.com/askama-rs/askama/pull/274uppercase
andurlencode
by @Kijewski in https://github.com/askama-rs/askama/pull/287file_info
infind_template
by @Kijewski in https://github.com/askama-rs/askama/pull/290block_in_include
and add explanations on what is going on by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/279overflow_delimited_expr
by @Kijewski in https://github.com/askama-rs/askama/pull/350New Contributors
Full Changelog: https://github.com/askama-rs/askama/compare/v0.3.5...v0.13.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.