Skip to content

build(deps): Bump tera from 1.20.1 to 2.4.0 - #11

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/tera-2.4.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/tera-2.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2026 •

Copy link
Copy Markdown

Bumps tera from 1.20.1 to 2.4.0.

Changelog

Sourced from tera's changelog.

2.4.0 (2026-09-11)

  • Add implicit parameters for components
  • Add Tera::render_component_with_implicits and Tera::render_component_with_implicits_to to render a component with implicit parameters as a separate context.
  • Fix bug in unique filter treating distinct maps as the same
  • Fix some deserializing issues with Value

2.3.0 (2026-08-26)

  • Add State::{escape,autoescaping_enabled,escape_if_needed}
  • Add StringInput to use for input/parameters that is safety aware and use it for built-in filters: this means you should need less | safe and that string safety is passed around correctly. Safety is dropped by filters where the changes depend on the content itself (truncate can cut anywhere) and preserved when they specify exactly what changes (trim, replace).
  • Add escape filter that is safety aware (it will not escape an already safe string) and uses the current instance escape function
  • Escaping included templates is now done base on where it's included rather than the included template itself: for example a .txt included in a .html will now be autoescaped if Tera autoescapes on .html.
  • Fix double escape of filter/set blocks

2.2.0 (2026-08-20)

  • Do not reserialize existing Value when serializing to a Value
  • Error on content in children templates that would have been ignored
  • Allows blocks inside if/elif/else again like in v1
  • Allows the indentation character of the indent filter to be configured
  • Add chained filter sections

2.1.1 (2026-08-11)

  • Fix component default value not allowing negative numbers
  • Fix component default value not checking whether default value matches expected type

2.1.0 (2026-06-23)

  • Add .iter() method to Kwargs
  • Add Tera::contains_component and Tera::get_component_names

2.0.0 (2026-06-26)

see migration guide for all the changes.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 12, 2026
Bumps [tera](https://github.com/Keats/tera) from 1.20.1 to 2.4.0.
- [Changelog](https://github.com/Keats/tera/blob/master/CHANGELOG.md)
- [Commits](Keats/tera@v1.20.1...v2.4.0)

---
updated-dependencies:
- dependency-name: tera
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tera-2.4.0 branch from b20c676 to f407ac0 Compare October 14, 2026 07:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants