Skip to content

chore(deps): bump tera from 1.20.1 to 2.4.0 - #498

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor

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.

1.21.1 (2025-10-30)

  • Replace unmaintained unic-segment dependency

1.20.0 (2024-05-27)

  • Support parenthesis in if statements
  • Allow escaped newline and tab join separator

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 15, 2026
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