Skip to content

chore(deps): Update Rust crate tera to v2 - #624

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/tera-2.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/tera-2.x

Conversation

@renovate

@renovate renovate Bot commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
tera (source) dev-dependencies major 1.19 → 2.0

Release Notes

Keats/tera (tera)

v2.4.0

Compare Source

  • 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

v2.3.0

Compare Source

  • 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

v2.2.0

Compare Source

  • 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

v2.1.1

Compare Source

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

v2.1.0

Compare Source

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

v2.0.0

Compare Source

see migration guide for all the changes.

v1.20.1

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 5am on the first day of the month"
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/tera-2.x branch 2 times, most recently from 7afdc2d to 928ffa7 Compare July 23, 2026 11:03
@renovate
renovate Bot force-pushed the renovate/tera-2.x branch from 928ffa7 to 8f5e2de Compare August 12, 2026 04:13
@renovate
renovate Bot force-pushed the renovate/tera-2.x branch 3 times, most recently from 66ff7d9 to 7d22c50 Compare August 27, 2026 01:37
@renovate
renovate Bot force-pushed the renovate/tera-2.x branch from 7d22c50 to 9806416 Compare September 2, 2026 23:46
@renovate
renovate Bot force-pushed the renovate/tera-2.x branch from 9806416 to d4c2a30 Compare September 11, 2026 17:09

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants