2709 Commits

Author SHA1 Message Date
Guillaume Gomez
1f32616f02
Merge pull request #653 from GuillaumeGomez/simplify-versioning
Simplify versioning in non-published crates (ie tests and examples)
2025-12-29 16:35:18 +01:00
Guillaume Gomez
65a38cf470
Merge pull request #652 from GuillaumeGomez/test-clippy-lints
Add tests for clippy lints emitted in askama generated code
2025-12-29 16:35:03 +01:00
Guillaume Gomez
e9d35d8abf Only run clippy_lints test if clippy is installed 2025-12-29 16:15:14 +01:00
Guillaume Gomez
e294ae4d5d Simplify versioning in non-published crates (ie tests and examples) 2025-12-29 16:10:59 +01:00
Guillaume Gomez
aed4d6fc96 Add tests for clippy lints emitted in askama generated code 2025-12-29 16:07:51 +01:00
Guillaume Gomez
04436eb038
Merge pull request #650 from GuillaumeGomez/update-version
Update crates version to `0.15.1`
v0.15.1
2025-12-28 20:32:37 +01:00
Guillaume Gomez
5c550407bb Update crates version to 0.15.1 2025-12-28 20:12:24 +01:00
Guillaume Gomez
8c8379e7df
Merge pull request #649 from GuillaumeGomez/filter-lifetimes
Add support for lifetimes in filters
2025-12-28 19:07:32 +01:00
Guillaume Gomez
cfc0883ff2 Update tests for lifetimes in filters 2025-12-28 18:09:28 +01:00
Guillaume Gomez
40353f0efe Add support for lifetimes in filters 2025-12-28 18:09:28 +01:00
Guillaume Gomez
02cdd4fa14
Merge pull request #648 from GuillaumeGomez/cleanup
Remove forgotten commented code
2025-12-26 15:39:44 +01:00
Guillaume Gomez
4d7b559808 Remove forgotten commented code 2025-12-26 15:39:09 +01:00
Youn Mélois
c8df0a879d
fix(derive): use call_site to avoid clippy false positives (#647)
Implements the suggestion from https://github.com/askama-rs/askama/issues/643#issuecomment-3690599397 by using `Span::call_site()`.
2025-12-25 23:42:57 +01:00
Guillaume Gomez
f78f130d5b
Merge pull request #646 from GuillaumeGomez/filter-arg-mut
Fix missing mutability information in generated filters
2025-12-25 17:24:27 +01:00
Guillaume Gomez
eb94dec464 Add regression test for filters arguments mutability 2025-12-25 16:56:58 +01:00
Guillaume Gomez
c2f9ef025c Do not generate leading & if the internal of named argument should not have one 2025-12-25 16:52:50 +01:00
Guillaume Gomez
4c13086e63 Fix missing mutability information in generated filters 2025-12-25 16:52:20 +01:00
Guillaume Gomez
59b63fdb2a
Merge pull request #645 from GuillaumeGomez/broken-intra-doc
Fix broken intra-doc links
2025-12-25 16:09:55 +01:00
Guillaume Gomez
405157318c Fix broken intra-doc links 2025-12-25 15:57:35 +01:00
Guillaume Gomez
b251aeba27
Merge pull request #639 from GuillaumeGomez/fix-book-generation
Simplify book creation
v0.15.0
2025-12-22 19:04:49 +01:00
Guillaume Gomez
15d458b771 Simplify book creation 2025-12-22 18:32:26 +01:00
Guillaume Gomez
efe6071473
Merge pull request #637 from GuillaumeGomez/publish
Remove `publish = false` from `askama_macros` Cargo.toml file
2025-12-22 15:42:05 +01:00
Guillaume Gomez
99470833da Remove publish = false from askama_macros and askama_derive Cargo.toml files
f
2025-12-22 15:10:10 +01:00
Guillaume Gomez
d95c912a65
Merge pull request #636 from GuillaumeGomez/update-version
Update askama crates version to `0.15.0`
2025-12-22 14:25:48 +01:00
Guillaume Gomez
5aacb32d87 Update askama crates version to 0.15.0 2025-12-22 14:03:57 +01:00
Guillaume Gomez
4e85c108df
Merge pull request #635 from GuillaumeGomez/method-call-enum-variants
Fix method call on enum variant templates
2025-12-21 00:18:42 +01:00
Guillaume Gomez
87429c892f Fix custom_ui test on nightly 2025-12-20 23:56:28 +01:00
Guillaume Gomez
243164ccd0 Fix method call on enum variant templates 2025-12-20 01:18:58 +01:00
Guillaume Gomez
cff0acca4a
Merge pull request #613 from GuillaumeGomez/create
Add new tag to declare variable without value
2025-12-13 22:17:55 +01:00
Guillaume Gomez
ed08f85de5 Update book about new decl keyword 2025-12-13 21:51:03 +01:00
Guillaume Gomez
ea35a8b8db Emit a warning for let without a value 2025-12-13 21:31:59 +01:00
Guillaume Gomez
683f4a2e52 Add new decl tag 2025-12-13 21:31:28 +01:00
Guillaume Gomez
a9f534ed25
Merge pull request #632 from askama-rs/dependabot/github_actions/actions/upload-artifact-6
build(deps): bump actions/upload-artifact from 5 to 6
2025-12-13 21:21:57 +01:00
Guillaume Gomez
9837cdbb56
Merge pull request #623 from askama-rs/dependabot/github_actions/actions/checkout-6
build(deps): bump actions/checkout from 5 to 6
2025-12-13 21:21:48 +01:00
dependabot[bot]
552429c2b8 build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-13 18:30:10 +01:00
dependabot[bot]
af1560189e build(deps): bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-13 18:29:36 +01:00
Guillaume Gomez
6e5fb56971
Merge pull request #633 from GuillaumeGomez/fix-clippy-lints
Fix new clippy lints
2025-12-13 18:28:49 +01:00
Guillaume Gomez
9211c599f9 Update ui tests output for rust 1.92 2025-12-13 18:04:06 +01:00
Guillaume Gomez
79942e3657
Merge pull request #630 from bwcii/Issue-#629
Update lib.rs To Fix Doc Formatting
2025-12-13 17:46:12 +01:00
Guillaume Gomez
5bb0e5ff95 Fix new clippy lints 2025-12-13 17:27:37 +01:00
Benjamin Crouch II
ca8a52eb81
Update lib.rs To Fix Doc Formatting
Updated lib.rs to fix documentation formatting issues to better align with the format used for almost all of the sub attributes. Should resolve Issue #629 in the upstream repo.
2025-12-12 11:03:40 -06:00
Guillaume Gomez
a918f65937
Merge pull request #628 from askama-rs/dependabot/cargo/criterion-0.8
build(deps): update criterion requirement from 0.7 to 0.8
2025-12-02 13:42:56 +01:00
dependabot[bot]
8308d94248
build(deps): update criterion requirement from 0.7 to 0.8
Updates the requirements on [criterion](https://github.com/criterion-rs/criterion.rs) to permit the latest version.
- [Release notes](https://github.com/criterion-rs/criterion.rs/releases)
- [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/criterion-rs/criterion.rs/compare/criterion-plot-v0.7.0...criterion-v0.8.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.8.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 21:53:02 +00:00
Guillaume Gomez
1427493186
Merge pull request #626 from seijikun/mr-array-repeat
feat: Add support for array repeat syntax: `[<element_expr>; <cnt_expr>]`
2025-11-25 14:56:51 +01:00
Markus Ebner
633de66a65
feat: Add support for array repeat syntax: [<element_expr>; <cnt_expr>] 2025-11-25 14:35:31 +01:00
Guillaume Gomez
0495fc9be9
Merge pull request #627 from GuillaumeGomez/update-to-new-mdbook
Update to new mdbook version
2025-11-24 18:05:03 +01:00
Guillaume Gomez
448c6fee35 Remove removed multilingual configuration for mdbook 2025-11-24 17:45:59 +01:00
Guillaume Gomez
43a98a26df Update to new mdbook version 2025-11-24 17:42:44 +01:00
Guillaume Gomez
08f0c49a36
Merge pull request #614 from seijikun/mr-filterfn2
filter_fn: Further improve invalid invocation compile error messages
2025-11-07 12:01:15 +01:00
Markus Ebner
6bb01e8520
filter_fn: Further improve invalid invocation compile error messages
This round fixes compile error messages for when not all required arguments have been supplied.
2025-11-06 18:55:28 +01:00