Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.277 ·

Update-check version responses are now validated as semver before use

Update checks now validate that version strings from GCS, npm, Homebrew and the binary repo actually look like versions

You'll notice Bug Fixes
JSON All of v2.1.277
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
UpdaterArea: what it touches
Bug FixesKind: in v2.1.277,
Bug FixesSection of the release
What

When Claude Code checks for updates, it fetches a version string from sources like Google Cloud Storage (GCS), npm, and Homebrew. Previously it would trust whatever string came back; now it validates that the string is a properly formed version number (using semver, the standard versioning scheme) before using it. If the response is invalid, it's logged (truncated to 300 characters) and treated as no result rather than acted on. The same validation was added to the logic that compares a target version against the current one to decide whether to skip an update check.

  • GCS, npm-view, and Homebrew version fetches are now validated before use
  • The binary-repo version check now throws an error if the fetched value doesn't look like a version, instead of silently accepting it
Why

This prevents a malformed or unexpected response from a version-check endpoint from being mistaken for a real version and causing incorrect update behavior.

See this entry in the whole of v2.1.277 →

Feedback