Skip to content

Bump toml to 1.1.6 (consolidate #251) - #258

Merged
l1a merged 1 commit into
mainfrom
chore/dependabot-b2061204c1
Sep 19, 2026
Merged

l1a merged 1 commit into
mainfrom
chore/dependabot-b2061204c1

Conversation

@l1a

@l1a l1a commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Consolidates Dependabot #251 (toml 1.1.5 -> 1.1.6) onto a gated branch, following the standing pattern (#167/v0.6.3 through #228/v0.11.8). Dependabot skips the version bump, NOTES entry and man regen; this does them.

What changes

  • Lockfile-only. The "1.1" caret spec already admits 1.1.6, so neither manifest widens. The Cargo.lock diff is exactly the toml entry plus the retch-cli version, with no transitive movement.
  • retch-cli -> 0.17.16. retch-sysinfo unchanged at 0.1.76 (it does not depend on toml).
  • docs/retch.1 regenerated (version footer only); NOTES.md header + entry.

Why it is safe — established from the source, not from a green build

Both .crate files were downloaded (sha256 matching the lockfile checksums) and compared file by file. The whole code change is one function, src/de/parser/document.rs::finish_table, and unlike v0.11.4's 1.1.5 bump it is reachable: toml::from_str (retch's only call site, src/config.rs) runs it for every [table] header. It is an ownership refactor only — the header key is moved into the parent table instead of cloned, and key_span is computed before that move rather than inside the duplicate-key error branch. The crate's own manifest changes only its version line (MSRV still 1.85). toml_edit, where the upstream changelog's other perf work landed, is not in retch's graph.

Test plan

  • just pr passes (branch, version, NOTES header, man page, Cargo.lock, fmt + clippy incl. --features graphics, tests, audit)
  • cargo test --workspace: 322 tests green (95 + 16 + 210 + 1)
  • Cargo.lock diff is the toml entry + retch-cli version only
  • Both finish_table branches exercised live with a throwaway XDG_CONFIG_HOME: a [custom_theme] table with label_color = "#ff0000" renders the label as ESC[38;2;255;0;0m; a duplicated [custom_theme] header fails with duplicate key at line 4, column 2
  • README, wiki and docs/retch.md checked — none names the dependency, so none changes
  • CI green on all platforms (22 checks: 18 SUCCESS, 4 documented skips, 0 failing)

Closes #251 once merged (Dependabot auto-closes after it sees the change land).

🤖 Generated with Claude Code

Rolls Dependabot #251 onto a gated branch so the version bump, NOTES
entry and man-page regeneration it skips are done. Lockfile-only: the
"1.1" caret spec already admits 1.1.6, and nothing else moves.

The only code change in 1.1.6 is an ownership refactor in
de/parser/document.rs::finish_table, which toml::from_str reaches for
every table header. Both of its branches were exercised live against a
throwaway config: a [custom_theme] table applies, and a duplicated
header still reports the correct span.

Assisted-By: Claude Opus 5
@l1a
l1a merged commit 0b87e58 into main Sep 19, 2026
22 checks passed
@l1a
l1a deleted the chore/dependabot-b2061204c1 branch September 19, 2026 05:21
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.

1 participant