NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #3152 most downloaded on crates.io
Procedural macro package for Askama
Latest stable
0.16.1
Last release 2 months ago
04 Sep 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
11 months old
9 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
docs: explain how to install by enabling feature specific for each framework by @pinage404 in https://github.com/askama-rs/askama/pull/742
let/set block type by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/760Full Changelog: https://github.com/askama-rs/askama/compare/v0.16.0...v0.16.1
This new release increases compatibility with jinja language, add support for more rust expressions in the templates. Take a look at the book for the
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This new release increases compatibility with jinja language, add support for more rust expressions in the templates. Take a look at the book for the migration guide.
(❗ = breaking change)
❗Add support for let blocks by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/697
Implement compound assignments (e.g. {% mut a += 1 %}) by @Kijewski in https://github.com/askama-rs/askama/pull/685
Add support for tuple, array and slice in type generics by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/721
Add support for macro args type annotations by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/722
Add support for caller() in variable declaration by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/724
Add glob support for dirs in config file by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/731
size_hint is collected by @Kijewski in https://github.com/askama-rs/askama/pull/700dyn instead of plain generic bounds by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/726std::path::absolute to avoid symlinking template paths by @kaepr in https://github.com/askama-rs/askama/pull/720config by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/732Template trait methods can return Err by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/730Ty generics by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/723complex-expression benchmark by @Kijewski in https://github.com/askama-rs/askama/pull/691Cargo.toml files by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/696rand+rand_xoshiro dev-dependencies by @Kijewski in https://github.com/askama-rs/askama/pull/701trybuild version to 1.0.116 to enforce diagnostics width by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/718Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.4...v0.16.0
Correctly handle non-ident item in block error by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/717
.clone() by @jplatte in https://github.com/askama-rs/askama/pull/716SyntaxAndCache by @jplatte in https://github.com/askama-rs/askama/pull/714winnow to 1.0 by @jplatte in https://github.com/askama-rs/askama/pull/715Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.5...v0.15.6
parser: reject non-ASCII characters in byte literals by @Kijewski in https://github.com/askama-rs/askama/pull/694
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.4...v0.15.5
Improve function call handling by @Kijewski in https://github.com/askama-rs/askama/pull/684
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.3...v0.15.4
Update book links (askama.rs) by @Kijewski in https://github.com/askama-rs/askama/pull/678
Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.2...v0.15.3
Correctly handle local variables in extends blocks by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/670
extends blocks by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/670#[filter_fn] by @Kijewski in https://github.com/askama-rs/askama/pull/655salvo by @Kijewski in https://github.com/askama-rs/askama/pull/659Upgrading to new versions chapter in the askama book by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/665extends by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/666where bounds in #[filter_fn] by @Kijewski in https://github.com/askama-rs/askama/pull/672filters chapter by @Tirka in https://github.com/askama-rs/askama/pull/673filters chapter examples (by making us of defined_or filter) by @Tirka in https://github.com/askama-rs/askama/pull/675Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.1...v0.15.2
Fix broken intra-doc links by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/645
call_site for code generated by the derive proc-macro by @sehnryr in https://github.com/askama-rs/askama/pull/647Full Changelog: https://github.com/askama-rs/askama/compare/v0.15.0...v0.15.1
The main breaking change is about custom filters, they now require the filter_fn attribute. More information about it in the askama book.
The main breaking change is about custom filters, they now require the filter_fn attribute. More information about it in the askama book.
(❗ = breaking change)
reject filter❗ by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/430|default, |assigned_or and |defined_or❗ by @Kijewski in https://github.com/askama-rs/askama/pull/425askama::filter_fn proc-macro for custom filters with named/optional arg support❗ by @seijikun in https://github.com/askama-rs/askama/pull/545enum variants by @Kijewski in https://github.com/askama-rs/askama/pull/255[<element_expr>; <cnt_expr>] by @seijikun in https://github.com/askama-rs/askama/pull/626Improve error location to give better errors:
TokenStream rather than a String by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/558LocatingSlice<&str> instead of &str by @Kijewski in https://github.com/askama-rs/askama/pull/560Parser::[with_]span() to get byte range and use byte range for proc_macro::Span by @Kijewski in https://github.com/askama-rs/askama/pull/571filesizeformat with proper accuracy❗ by @seijikun in https://github.com/askama-rs/askama/pull/568linebreaks, paragraphbreaks and linebreaksbr only need core by @Kijewski in https://github.com/askama-rs/askama/pull/486ref documentation by @sinder38 in https://github.com/askama-rs/askama/pull/456performance.md by @zamazan4ik in https://github.com/askama-rs/askama/pull/188mdbook version and highlight jinja blocks by @Kijewski in https://github.com/askama-rs/askama/pull/544{# comment #} parsing by @Kijewski in https://github.com/askama-rs/askama/pull/488Expr::Attr into Expr::AssociatedItem by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/499Expr variants by @Kijewski in https://github.com/askama-rs/askama/pull/498|filter and {% filter %} parsing by @Kijewski in https://github.com/askama-rs/askama/pull/500if-let-chains by @Kijewski in https://github.com/askama-rs/askama/pull/527if-let by @Kijewski in https://github.com/askama-rs/askama/pull/532#[inline] annotations by @Kijewski in https://github.com/askama-rs/askama/pull/421indent Filter Implementation by @strickczq in https://github.com/askama-rs/askama/pull/466wordcount filter work with core only by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/480Expr::Call handling for {{ expressions }} and remove parentheses by @Kijewski in https://github.com/askama-rs/askama/pull/540Expr/Node with Box<Expr>/Box<Node> by @Kijewski in https://github.com/askama-rs/askama/pull/542punction() finding by @Kijewski in https://github.com/askama-rs/askama/pull/543loop.first is known by being at index == 0 by @Kijewski in https://github.com/askama-rs/askama/pull/436impl FastWritable for Cow by @C0D3-M4513R in https://github.com/askama-rs/askama/pull/432unicode-ident to determine what is an identifier by @Kijewski in https://github.com/askama-rs/askama/pull/443__askama by @Kijewski in https://github.com/askama-rs/askama/pull/444crate to be used as identifier by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/450LoopItem::index to LoopItem::index0 by @Kijewski in https://github.com/askama-rs/askama/pull/481U+10FFFF is the highest Unicode codepoint by @Kijewski in https://github.com/askama-rs/askama/pull/484{% raw %} and Lit::parse() without skip_till by @Kijewski in https://github.com/askama-rs/askama/pull/489{% raw %} for delimiters starting with - by @Kijewski in https://github.com/askama-rs/askama/pull/491suffix# by @Kijewski in https://github.com/askama-rs/askama/pull/496check_expr() recursion by @Kijewski in https://github.com/askama-rs/askama/pull/519EvaluatedResult know its unknown result by @Kijewski in https://github.com/askama-rs/askama/pull/538r#self is not a valid raw identifier in macro calls by @Kijewski in https://github.com/askama-rs/askama/pull/553:: by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/569lib.rs by @Kijewski in https://github.com/askama-rs/askama/pull/573r#_ is not a valid identifier by @Kijewski in https://github.com/askama-rs/askama/pull/579block calls are done by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/580safe filter in template_syntax.md by @FalkWoldmann in https://github.com/askama-rs/askama/pull/587syn stack overflow by @GuillaumeGomez in https://github.com/askama-rs/askama/pull/611Full Changelog: https://github.com/askama-rs/askama/compare/v0.14.0...v0.15.0
One column per month.