Skip to content

v2.26.13

Choose a tag to compare

@github-actions github-actions released this 25 Jun 08:20
· 14 commits to main since this release
v2.26.13
5843ab9

Fixed

  • Preserve Config.toml on upgrade (#386, closes #385): Running statusline.sh --upgrade (or re-running install.sh over an existing install) previously overwrote the user's customized ~/.claude/statusline/Config.toml with the freshly downloaded template, silently losing every customization (display.* layout, theme.name, labels, emojis, timeouts). The installer now preserves the existing Config.toml by default: backup_existing_installation() records the user's config from the timestamped backup it already creates, and download_config_template() restores it after the fresh template is laid down — invalidating the config cache (.Config.cache.sh/.Config.checksum) so the restored file is re-parsed. The new-version template stays available at examples/Config.toml as a reference (with a diff hint), and a new opt-out flag --reset-config installs the clean template for users who want it. Safe because version-critical values (e.g. model pricing) live in code (lib/cost/pricing.sh), not config, and keys missing from an older file fall back to in-code getter defaults. Thanks @igor-batrakov.

Changed

  • CI: bump softprops/action-gh-release from v2 to v3 (#325). v3.0.0 moves the action runtime from Node 20 to Node 24 (supported on GitHub-hosted runners); release inputs are unchanged.
  • Docs: add JSDoc type annotations to the key constants in the npm CLI wrapper (bin/cli.js) and normalize the file to LF line endings (#374). Thanks @Lang-Qiu.

What's Changed

  • feat: CC v2.1.191 compatibility (docs/version update) by @rz1989s in #407
  • Release v2.26.12: CC v2.1.191 compatibility by @rz1989s in #408
  • fix(install): preserve existing Config.toml on upgrade (opt out with --reset-config) by @igor-batrakov in #386
  • fix(install): preserve Config.toml on upgrade (promote #386 → main, closes #385) by @rz1989s in #409
  • ci: bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in #325
  • Add JSDoc documentation to key constants in CLI wrapper by @Lang-Qiu in #374
  • chore(release): v2.26.13 by @rz1989s in #410
  • Release v2.26.13 → main by @rz1989s in #411

New Contributors

Full Changelog: v2.26.11...v2.26.13