chore(deps): update rust crate tera to v2 - #389
Merged
Conversation
| 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
force-pushed
the
renovate/tera-2.x
branch
from
July 26, 2026 19:01
3afe379 to
1e567e6
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #389 +/- ##
=======================================
Coverage 79.97% 79.97%
=======================================
Files 434 434
Lines 126174 126175 +1
=======================================
+ Hits 100912 100913 +1
Misses 25262 25262
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1→2Release Notes
Keats/tera (tera)
v2.1.0Compare Source
Tera::contains_componentandTera::get_component_namesv2.0.0Compare Source
see migration guide for all the changes.
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate.