Skip to content

v2.1.0

Latest

Choose a tag to compare

@GabrielAndreiPreda GabrielAndreiPreda released this 12 Aug 10:07
2dc7f97

Install

uv tool install git+https://github.com/GabrielAndreiPreda/claude-code-cache-timer@v2.1.0
# or: pipx install git+https://github.com/GabrielAndreiPreda/claude-code-cache-timer@v2.1.0

claude-cache-timer install

Fixed

  • Install verification reported a working command as broken on Windows. It read the child
    process's output using the system's preferred encoding, which on a legacy code page
    cannot represent the hourglass. The failure happened inside a reader thread, so it
    neither propagated nor filled the buffer, and verification saw empty output. The reader
    now decodes UTF-8 explicitly, matching what the status line writes.
  • __version__ still read 2.0.0.
  • A test compared candidate().argv[0] against a literal POSIX path, but that value goes
    through os.path.abspath, which rewrites it on Windows. The test could not pass there.
  • test_real_repository compared git rev-parse --abbrev-ref HEAD against git_branch,
    which cannot hold on a detached HEAD, where the former answers the literal string HEAD
    and the latter answers a short SHA. It now resolves the SHA, so the detached case is
    tested against real git rather than only a fixture.
  • The README documented a status line wrapping mode that was removed in 2.0.0.
  • .claude/settings.local.json is now ignored by the repository rather than relying on a
    contributor's global git configuration.

Added

  • Continuous integration on Linux, macOS and Windows across Python 3.8 through 3.13, plus a
    job that builds the package, checks its metadata, installs the wheel and runs the console
    script.
  • CONTRIBUTING.md, issue and pull request templates, and a changelog.
  • Package metadata: author, issue and changelog URLs, and per-version Python classifiers.
  • A pinned install form, since installing from main gave no way to hold a version.

Changed

  • The README is reorganised so the install command is reachable without scrolling, and the
    longer explanations of PATH, shell quoting and settings.json parsing moved into
    collapsible sections.
  • image.png is now docs/statusline.png.

Full changelog: https://github.com/GabrielAndreiPreda/claude-code-cache-timer/blob/main/CHANGELOG.md

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.1.0