Skip to content

chore(deps): update rust crate tera to v2 - #389

Merged
mwendigg merged 2 commits into
mainfrom
renovate/tera-2.x
Jul 26, 2026
Merged

chore(deps): update rust crate tera to v2#389
mwendigg merged 2 commits into
mainfrom
renovate/tera-2.x

Conversation

@dreadnode-renovate-bot

@dreadnode-renovate-bot dreadnode-renovate-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
tera workspace.dependencies major 12

Release Notes

Keats/tera (tera)

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 Mend Renovate.

dreadnode-renovate-bot Bot and others added 2 commits July 26, 2026 13:00
| datasource | package | from   | to    |
| ---------- | ------- | ------ | ----- |
| crate      | tera    | 1.20.1 | 2.0.0 |
**Changed:**

- Use owned String keys when inserting into Tera Context to match API and
  avoid lifetime/borrow issues in both extras and variable handling - templates.rs
- Switch tuple access in system instructions template from dot notation
  (entry.0/entry.1) to bracket indexing (entry[0]/entry[1]) per Tera syntax -
  redteam/agents/system_instructions.md.tera
- Update prompt helper tests to assert via Context::get instead of consuming
  the context with into_json, and verify password remains hidden - helpers.rs tests
@mwendigg
mwendigg force-pushed the renovate/tera-2.x branch from 3afe379 to 1e567e6 Compare July 26, 2026 19:01
@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.97%. Comparing base (2962878) to head (1e567e6).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #389   +/-   ##
=======================================
  Coverage   79.97%   79.97%           
=======================================
  Files         434      434           
  Lines      126174   126175    +1     
=======================================
+ Hits       100912   100913    +1     
  Misses      25262    25262           
Files with missing lines Coverage Δ
ares-llm/src/prompt/helpers.rs 97.34% <100.00%> (+0.01%) ⬆️
ares-llm/src/prompt/templates.rs 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mwendigg
mwendigg merged commit 05bf06f into main Jul 26, 2026
12 checks passed
@mwendigg
mwendigg deleted the renovate/tera-2.x branch July 26, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants