deps: bump tera from 1.20.1 to 2.0.0 - #368
Merged
Merged
Conversation
dependabot
Bot
force-pushed
the
dependabot/cargo/tera-2.0.0
branch
from
July 20, 2026 02:46
938b33b to
5476452
Compare
dependabot
Bot
force-pushed
the
dependabot/cargo/tera-2.0.0
branch
from
July 28, 2026 23:28
5476452 to
dcc8654
Compare
Bumps [tera](https://github.com/Keats/tera) from 1.20.1 to 2.0.0. - [Changelog](https://github.com/Keats/tera/blob/master/CHANGELOG.md) - [Commits](Keats/tera@v1.20.1...v2.0.0) --- updated-dependencies: - dependency-name: tera dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
tera 2 is a rewrite, and two things the templates relied on no longer hold.
Tests take keyword arguments now, so `is starting_with("https://")` is a
parse error ("Found string but expected identifier"). The templates are
embedded and parsed in `init_tera()`, which both binaries call at startup,
so that one line took down every server-backed test at once and left the
e2e fixture waiting on a server that never booted. Add the `pat=` name.
Comparing null against a number is an error rather than silently false.
`server_versions` walks `version_distance` down a `< 2` / `< 5` / `< 10`
ladder, and that field is null whenever a server reports a version we
can't measure a distance for — most plainly when nothing is published, so
there is no latest to measure against. Give the unknown case its own
branch. This one is not new: tera 1 also errored ("used in a math
operation but is not a number"), so the page has been 500ing on that
fleet shape all along; the port just made it impossible to miss.
Rendering is otherwise unchanged — every template renders byte-identical
under 1.20.1 and 2.1.0 for the same context.
Cover both: a unit test that parses each embedded template, so the next
syntax break is one named failure instead of the whole suite, and a
server-versions test for a reported version with no distance.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175UuBBSRyvavmHPPQQaUfz
passcod
force-pushed
the
dependabot/cargo/tera-2.0.0
branch
from
August 2, 2026 03:02
dcc8654 to
14f8595
Compare
passcod
enabled auto-merge
August 2, 2026 03:04
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.
Bumps tera from 1.20.1 to 2.0.0.
Changelog
Sourced from tera's changelog.
... (truncated)
Commits
f60395cAdd changelog7d41f8dMerge branch 'docs'2e780baSome more tera2 leftover808248eReady for release04ae614Ready for releasea3c3c22Remove map/filter filters docs0654774Docs publishing9189b22Cleanupa29aa94Handle f32 todo40ae4c0Fix doc