-
Notifications
You must be signed in to change notification settings - Fork 12
Commit c4ee8cd
Update Rust crate askama to 0.14 (#36882)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [askama](https://askama.readthedocs.io/) ([source](https://redirect.github.com/askama-rs/askama)) | workspace.dependencies | minor | `0.12` -> `0.14` |
---
### Release Notes
<details>
<summary>askama-rs/askama (askama)</summary>
### [`v0.14.0`](https://redirect.github.com/askama-rs/askama/releases/tag/v0.14.0)
[Compare Source](https://redirect.github.com/askama-rs/askama/compare/v0.13.1...v0.14.0)
#### Added Features
- Implement `Values` on tuple by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/391](https://redirect.github.com/askama-rs/askama/pull/391)
- Pass variables to sub-templates more reliably even if indirectly by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/397](https://redirect.github.com/askama-rs/askama/pull/397)
- Implement `first` and `blank` arguments for `|indent` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/401](https://redirect.github.com/askama-rs/askama/pull/401)
- Add named arguments for builtin filters by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/403](https://redirect.github.com/askama-rs/askama/pull/403)
- Add `unique` filter by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/405](https://redirect.github.com/askama-rs/askama/pull/405)
#### Bug Fixes And Consistency
- `askama_derive` accidentally exposed as a feature by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/384](https://redirect.github.com/askama-rs/askama/pull/384)
- Track config files by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/385](https://redirect.github.com/askama-rs/askama/pull/385)
- If using local variable as value when creating a new variable, do not put it behind a reference by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/392](https://redirect.github.com/askama-rs/askama/pull/392)
- generator: make `CARGO_MANIFEST_DIR` part of `ConfigKey` by [@​strickczq](https://redirect.github.com/strickczq) in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395)
- Do not put question mark initialization expressions behind a reference by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/400](https://redirect.github.com/askama-rs/askama/pull/400)
- Update to more current rust version on readthedocs by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/410](https://redirect.github.com/askama-rs/askama/pull/410)
- Fix `unique` filter implementation by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/417](https://redirect.github.com/askama-rs/askama/pull/417)
- Add `|titlecase` as alias for `|title` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/416](https://redirect.github.com/askama-rs/askama/pull/416)
#### Further Changes
- book: add page about `FastWritable` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/407](https://redirect.github.com/askama-rs/askama/pull/407)
- Add throughput to derive benchmark by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/413](https://redirect.github.com/askama-rs/askama/pull/413)
- Move `FastWritable` into `askama` root by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/411](https://redirect.github.com/askama-rs/askama/pull/411)
#### New Contributors
- [@​strickczq](https://redirect.github.com/strickczq) made their first contribution in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395)
**Full Changelog**: askama-rs/askama@v0.13.0...v0.14.0
### [`v0.13.1`](https://redirect.github.com/askama-rs/askama/releases/tag/v0.13.1)
[Compare Source](https://redirect.github.com/askama-rs/askama/compare/v0.13.0...v0.13.1)
#### What's Changed
- `askama_derive` accidentally exposed as a feature by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/384](https://redirect.github.com/askama-rs/askama/pull/384)
- Track config files by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/385](https://redirect.github.com/askama-rs/askama/pull/385)
- Implement `Values` on tuple by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/391](https://redirect.github.com/askama-rs/askama/pull/391)
- generator: make `CARGO_MANIFEST_DIR` part of `ConfigKey` by [@​strickczq](https://redirect.github.com/strickczq) in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395)
#### New Contributors
- [@​strickczq](https://redirect.github.com/strickczq) made their first contribution in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395)
**Full Changelog**: askama-rs/askama@v0.13.0...v0.13.1
### [`v0.13.0`](https://redirect.github.com/askama-rs/askama/releases/tag/v0.13.0): – Rinja is Askama, again!
[Compare Source](https://redirect.github.com/askama-rs/askama/compare/0.12.1...v0.13.0)
With this release, the [fork](https://blog.guillaume-gomez.fr/articles/2024-07-31+docs.rs+switching+jinja+template+framework+from+tera+to+rinja) rinja got merged back into the main project. Please have a look at our [blog post](https://blog.guillaume-gomez.fr/articles/2025-03-19+Askama+and+Rinja+merge) for more information about the split and the merge.
#### What's Changed
This release (v0.13.0), when [compared to](https://redirect.github.com/askama-rs/askama/compare/0.12.1...v0.13.0) the last stable askama release (v0.12.1), consists of:
- over 1000 commits
- with changes in over 500 files
- with over 40k additions and 8000 deletions
#### Compared to rinja v0.3.5
- Rename `rinja` into `askama` by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/353](https://redirect.github.com/askama-rs/askama/pull/353)
- Bump version number to 0.13.0 by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/382](https://redirect.github.com/askama-rs/askama/pull/382)
Major added and improved features:
- Add support for "runtime" values by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/311](https://redirect.github.com/askama-rs/askama/pull/311)
- Implement `enum` variants by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/255](https://redirect.github.com/askama-rs/askama/pull/255)
- Relax `filesizeformat` filter requirements by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/216](https://redirect.github.com/askama-rs/askama/pull/216)
- derive: implement template attribute `blocks` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/337](https://redirect.github.com/askama-rs/askama/pull/337)
- Add concat operator `~` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/236](https://redirect.github.com/askama-rs/askama/pull/236)
- Remove restriction preventing to have | surrounded by whistespace characters by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/250](https://redirect.github.com/askama-rs/askama/pull/250)
- Make rinja `#![no_std]` compatible by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/286](https://redirect.github.com/askama-rs/askama/pull/286)
- Make `derive` optional by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/342](https://redirect.github.com/askama-rs/askama/pull/342)
More added and improved features:
- Let `FastWritable` propagate custom errors by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/217](https://redirect.github.com/askama-rs/askama/pull/217)
- Implement `PrimitiveType` for non-zero integers by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/220](https://redirect.github.com/askama-rs/askama/pull/220)
- Implement `AsIndent` for `NonZeroUsize` and `Wrapping<usize>` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/221](https://redirect.github.com/askama-rs/askama/pull/221)
- Implement `HtmlSafe` for all reference wrappers by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/219](https://redirect.github.com/askama-rs/askama/pull/219)
- Add support for default value in macros by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/207](https://redirect.github.com/askama-rs/askama/pull/207)
- parser: allow whitespace control on `extends` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/241](https://redirect.github.com/askama-rs/askama/pull/241)
- Allow idents to start with `_` by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/244](https://redirect.github.com/askama-rs/askama/pull/244)
- `std::num::Saturating` is stable since rust 1.74 by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/270](https://redirect.github.com/askama-rs/askama/pull/270)
- Make working with `Error`s a bit easier by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/277](https://redirect.github.com/askama-rs/askama/pull/277)
- Add full support for if let chain feature by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/296](https://redirect.github.com/askama-rs/askama/pull/296)
- Make filters `|fmt` and `|format` available with feature `"alloc"`, but without `"std"` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/319](https://redirect.github.com/askama-rs/askama/pull/319)
- Add support for generics syntax in parser by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/317](https://redirect.github.com/askama-rs/askama/pull/317)
- derive: add ".askama" to list of HTML extensions by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/321](https://redirect.github.com/askama-rs/askama/pull/321)
- derive: for `enum`s, let `Self` refer to the original type by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/333](https://redirect.github.com/askama-rs/askama/pull/333)
- derive: add option to specify `rinja` path by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/334](https://redirect.github.com/askama-rs/askama/pull/334)
- Implement `Values` for all collection types by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/346](https://redirect.github.com/askama-rs/askama/pull/346)
- Revive `askama_escaped` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/378](https://redirect.github.com/askama-rs/askama/pull/378)
Removed features:
- Remove `EXTENSION` constant from `Template` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/252](https://redirect.github.com/askama-rs/askama/pull/252)
- parser: remove obsolete parser fuzzing by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/261](https://redirect.github.com/askama-rs/askama/pull/261)
- Remove integrations and `MIME_TYPE` guessing by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/271](https://redirect.github.com/askama-rs/askama/pull/271)
- parser: deny all rust keywords as target names and add `gen` to keywords by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/294](https://redirect.github.com/askama-rs/askama/pull/294)
Performance:
- Omit `fmt::Formatter` machinery in URL encoding by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/218](https://redirect.github.com/askama-rs/askama/pull/218)
- filters: don't collect into intermediate `String` if we can help it by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/235](https://redirect.github.com/askama-rs/askama/pull/235)
- parser: use built-in whitespace trimming by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/238](https://redirect.github.com/askama-rs/askama/pull/238)
- derive: some clean-ups and optimizations by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/260](https://redirect.github.com/askama-rs/askama/pull/260)
- parser: shrink the size of `WithSpan` to one register by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/257](https://redirect.github.com/askama-rs/askama/pull/257)
- derive: less `format!()`, shorter context on error by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/276](https://redirect.github.com/askama-rs/askama/pull/276)
- Speed-up HTML escaping a bit by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/301](https://redirect.github.com/askama-rs/askama/pull/301)
- Remove intermediate allocations for error messages by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/322](https://redirect.github.com/askama-rs/askama/pull/322)
- derive: some optimizations by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/338](https://redirect.github.com/askama-rs/askama/pull/338)
- Allow parallel compilation of `serde` and `serde_derive` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/343](https://redirect.github.com/askama-rs/askama/pull/343)
Safety and correctness:
- parser: reject excessively long syntax delimiters by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/230](https://redirect.github.com/askama-rs/askama/pull/230)
- derive: reject `union`s as they require `unsafe` code by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/231](https://redirect.github.com/askama-rs/askama/pull/231)
- Canonicalize include paths before emitting by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/258](https://redirect.github.com/askama-rs/askama/pull/258)
- fix: normalize macro args on call (fixes [#​259](https://redirect.github.com/askama-rs/askama/issues/259)) by [@​chrisp60](https://redirect.github.com/chrisp60) in [https://github.com/askama-rs/askama/pull/262](https://redirect.github.com/askama-rs/askama/pull/262)
- derive: a safe-guard to disable bindings a unit struct was expected by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/269](https://redirect.github.com/askama-rs/askama/pull/269)
- Canonicalize paths to ensure includes behave as expected when folders are involved by [@​LukeMathWalker](https://redirect.github.com/LukeMathWalker) in [https://github.com/askama-rs/askama/pull/289](https://redirect.github.com/askama-rs/askama/pull/289)
- derive: reserve variable prefix `__rinja` and free name `writer` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/292](https://redirect.github.com/askama-rs/askama/pull/292)
- parser: use drop guards to track nesting level by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/297](https://redirect.github.com/askama-rs/askama/pull/297)
- parser: fix excessive filter blocks by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/304](https://redirect.github.com/askama-rs/askama/pull/304)
- parser: add missing level guard in `if let` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/332](https://redirect.github.com/askama-rs/askama/pull/332)
- Replace `from_utf8_unsafe()` with `AsciiStr` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/351](https://redirect.github.com/askama-rs/askama/pull/351)
- Allow variables inheritance in block by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/264](https://redirect.github.com/askama-rs/askama/pull/264)
- Fix minimum supported `syn` version by [@​paolobarbolini](https://redirect.github.com/paolobarbolini) in [https://github.com/askama-rs/askama/pull/379](https://redirect.github.com/askama-rs/askama/pull/379)
Documentation, our book, and examples:
- Fix crate version numbers in book by [@​BD103](https://redirect.github.com/BD103) in [https://github.com/askama-rs/askama/pull/212](https://redirect.github.com/askama-rs/askama/pull/212)
- Add link to blog post for differences between rinja and askama by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/233](https://redirect.github.com/askama-rs/askama/pull/233)
- book: pin to mdbook v0.4.40 for now and add table of contents to pages by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/240](https://redirect.github.com/askama-rs/askama/pull/240)
- Fix integrations book chapter by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/249](https://redirect.github.com/askama-rs/askama/pull/249)
- Add missing "Escapers" title in the book by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/248](https://redirect.github.com/askama-rs/askama/pull/248)
- book: add `upgrading.md` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/303](https://redirect.github.com/askama-rs/askama/pull/303)
- book: document `blocks` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/340](https://redirect.github.com/askama-rs/askama/pull/340)
- Add bleeding edge API documentation to rtd by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/363](https://redirect.github.com/askama-rs/askama/pull/363)
- docs: update twig's URL by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/364](https://redirect.github.com/askama-rs/askama/pull/364)
- Update askama_playground URL by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/368](https://redirect.github.com/askama-rs/askama/pull/368)
- book: mention `askama_web` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/369](https://redirect.github.com/askama-rs/askama/pull/369)
- book: fix article link by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/372](https://redirect.github.com/askama-rs/askama/pull/372)
- fix toml features field in the filters chapter of the book by [@​bionicles](https://redirect.github.com/bionicles) in [https://github.com/askama-rs/askama/pull/373](https://redirect.github.com/askama-rs/askama/pull/373)
- Add link to blog post explaining merge of rinja and askama by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/374](https://redirect.github.com/askama-rs/askama/pull/374)
- Remove "Using integrations" part in book by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/310](https://redirect.github.com/askama-rs/askama/pull/310)
- examples: add {axum,poem,rocket,warp} by translating the actix-web example; book: add frameworks section by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/308](https://redirect.github.com/askama-rs/askama/pull/308)
- Add salvo example by translating the axum example by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/313](https://redirect.github.com/askama-rs/askama/pull/313)
- docs: fix recursive example in template_syntax.md by [@​m4tx](https://redirect.github.com/m4tx) in [https://github.com/askama-rs/askama/pull/315](https://redirect.github.com/askama-rs/askama/pull/315)
- book: a features section by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/316](https://redirect.github.com/askama-rs/askama/pull/316)
- "object safe" is now "dyn-compatible" by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/199](https://redirect.github.com/askama-rs/askama/pull/199)
- Rename `Escaper` argument `fmt` into `dest` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/349](https://redirect.github.com/askama-rs/askama/pull/349)
Testing:
- Move types into their tests by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/228](https://redirect.github.com/askama-rs/askama/pull/228)
- ci: add cluster-fuzz integration by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/229](https://redirect.github.com/askama-rs/askama/pull/229)
- ci: group checks in fast, average and slow by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/305](https://redirect.github.com/askama-rs/askama/pull/305)
- Update ui tests for rust 1.84, and deprecations in winnow 0.6.24 by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/312](https://redirect.github.com/askama-rs/askama/pull/312)
- ci: ignore typos in librustdoc sources by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/360](https://redirect.github.com/askama-rs/askama/pull/360)
- Add failing test from issue 272 by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/278](https://redirect.github.com/askama-rs/askama/pull/278)
- Update fuzzing corpus URL by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/361](https://redirect.github.com/askama-rs/askama/pull/361)
- ci: re-enable `Cluster-Fuzz` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/376](https://redirect.github.com/askama-rs/askama/pull/376)
- ci: ensure that github CI config is safe using zizmor by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/380](https://redirect.github.com/askama-rs/askama/pull/380)
- ci: fix up to [#​380](https://redirect.github.com/askama-rs/askama/issues/380) by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/381](https://redirect.github.com/askama-rs/askama/pull/381)
Migrate to from nom to winnow
- Migrate to from Nom 7 to Winnow 0.3 by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/209](https://redirect.github.com/askama-rs/askama/pull/209)
- Upgrade from Winnow 0.3 to 0.4 by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/210](https://redirect.github.com/askama-rs/askama/pull/210)
- refactor(parser): Clean up prep for 0.5 by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/213](https://redirect.github.com/askama-rs/askama/pull/213)
- refactor(parser): Clean up prep for 0.5 by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/226](https://redirect.github.com/askama-rs/askama/pull/226)
- refactor(parser): Move off of deprecated re-export by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/234](https://redirect.github.com/askama-rs/askama/pull/234)
- refactor(parser): Remove redundant closure by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/242](https://redirect.github.com/askama-rs/askama/pull/242)
- refactor(parser): Be explicit about `i`nput state by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/275](https://redirect.github.com/askama-rs/askama/pull/275)
- Upgrade from Winnow 0.4 to 0.5 by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/214](https://redirect.github.com/askama-rs/askama/pull/214)
- refactor(parser): Upgrade to Winnow 0.6 by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/291](https://redirect.github.com/askama-rs/askama/pull/291)
- chore: Upgrade to Winnow 0.7 by [@​epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/330](https://redirect.github.com/askama-rs/askama/pull/330)
Refactoring, error messages, and changes invisible to the user:
- derive: refactor `#[template]` parsing by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/243](https://redirect.github.com/askama-rs/askama/pull/243)
- derive: refactor generator for greater re-usability by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/253](https://redirect.github.com/askama-rs/askama/pull/253)
- derive standalone: opt out of native `proc-macro` support by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/268](https://redirect.github.com/askama-rs/askama/pull/268)
- Second round of optimizations extracted from PR to implement `enum` variants by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/266](https://redirect.github.com/askama-rs/askama/pull/266)
- derive: remove generics injection for `write_header()` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/274](https://redirect.github.com/askama-rs/askama/pull/274)
- Fix clippy warnings in rust nightly 1.85 by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/284](https://redirect.github.com/askama-rs/askama/pull/284)
- Use cargo reference manifest section order by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/285](https://redirect.github.com/askama-rs/askama/pull/285)
- derive: fix typo that mixes up `uppercase` and `urlencode` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/287](https://redirect.github.com/askama-rs/askama/pull/287)
- derive: use `file_info` in `find_template` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/290](https://redirect.github.com/askama-rs/askama/pull/290)
- Improve reserved variable name error message by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/293](https://redirect.github.com/askama-rs/askama/pull/293)
- parser: add better error messages for broken closing block tags by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/239](https://redirect.github.com/askama-rs/askama/pull/239)
- Improve error message when an extension escaper is missing by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/247](https://redirect.github.com/askama-rs/askama/pull/247)
- derive: fix typos and unify error messages by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/251](https://redirect.github.com/askama-rs/askama/pull/251)
- derive: split generator implementation into 3 files by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/295](https://redirect.github.com/askama-rs/askama/pull/295)
- derive: keep track of called macros by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/299](https://redirect.github.com/askama-rs/askama/pull/299)
- Fix `block_in_include` and add explanations on what is going on by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/279](https://redirect.github.com/askama-rs/askama/pull/279)
- Minor clean-ups by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/327](https://redirect.github.com/askama-rs/askama/pull/327)
- Fix rust 1.86 clippy warnings by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/331](https://redirect.github.com/askama-rs/askama/pull/331)
- Improve macro call arguments mismatch errors by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/325](https://redirect.github.com/askama-rs/askama/pull/325)
- Improve code readability by [@​GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/339](https://redirect.github.com/askama-rs/askama/pull/339)
- derive: fail if requested template block is missing by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/341](https://redirect.github.com/askama-rs/askama/pull/341)
- Don't format with `overflow_delimited_expr` by [@​Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/350](https://redirect.github.com/askama-rs/askama/pull/350)
- build(deps): update pulldown-cmark requirement from 0.12.0 to 0.13.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/askama-rs/askama/pull/352](https://redirect.github.com/askama-rs/askama/pull/352)
#### New Contributors
- [@​epage](https://redirect.github.com/epage) made their first contribution in [https://github.com/askama-rs/askama/pull/209](https://redirect.github.com/askama-rs/askama/pull/209)
- [@​BD103](https://redirect.github.com/BD103) made their first contribution in [https://github.com/askama-rs/askama/pull/212](https://redirect.github.com/askama-rs/askama/pull/212)
- [@​chrisp60](https://redirect.github.com/chrisp60) made their first contribution in [https://github.com/askama-rs/askama/pull/262](https://redirect.github.com/askama-rs/askama/pull/262)
- [@​LukeMathWalker](https://redirect.github.com/LukeMathWalker) made their first contribution in [https://github.com/askama-rs/askama/pull/289](https://redirect.github.com/askama-rs/askama/pull/289)
- [@​m4tx](https://redirect.github.com/m4tx) made their first contribution in [https://github.com/askama-rs/askama/pull/315](https://redirect.github.com/askama-rs/askama/pull/315)
- [@​bionicles](https://redirect.github.com/bionicles) made their first contribution in [https://github.com/askama-rs/askama/pull/373](https://redirect.github.com/askama-rs/askama/pull/373)
- [@​paolobarbolini](https://redirect.github.com/paolobarbolini) made their first contribution in [https://github.com/askama-rs/askama/pull/379](https://redirect.github.com/askama-rs/askama/pull/379)
**Full Changelog**: askama-rs/askama@v0.3.5...v0.13.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, 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.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate).
GitOrigin-RevId: 9adc910b42ba0b1a2f80aa38351262d474b311131 parent 7d3fec3 commit c4ee8cdCopy full SHA for c4ee8cd
File tree
Expand file treeCollapse file tree
1 file changed
+10
-10
lines changedFilter options
Expand file treeCollapse file tree
1 file changed
+10
-10
lines changedCollapse file: Cargo.toml
+10-10Lines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 |
| |
12 | 19 |
| |
13 | 20 |
| |
| |||
18 | 25 |
| |
19 | 26 |
| |
20 | 27 |
| |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
|
0 commit comments