Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All releases Home olderv0.2.125 v1.0.0newer

Claude Code v0.2.126

12 entries read diff v0.2.125 → v0.2.126 Markdown
Find
Pick an entry · j / k steps through
9 entries

Changesopen

#

# Claude Code v0.2.126 Changelog

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Enhanced GitHub App Installation Workflow#

The GitHub app installation process has been significantly improved with better error handling and user guidance:

  • Prerequisite Checks: The CLI now performs comprehensive checks before attempting GitHub app installation:
  • Verifies GitHub CLI (gh) is installed
  • Checks authentication status
  • Validates required permissions (specifically the "workflow" scope)
  • Detailed Error Messages: When issues are encountered, users now receive specific instructions:
  # If GitHub CLI is not installed:
  - macOS: brew install gh
  - Windows: winget install --id GitHub.cli
  - Linux: See installation instructions at https://github.com/cli/cli#installation
  
  # If not authenticated:
  - Run: gh auth login
  
  # If missing workflow permissions:
  - Run: gh auth refresh -h github.com -s workflow
  • Workflow Update Dialog: When an existing Claude workflow is detected, users are presented with three options:
  1. Update workflow file with latest version
  2. Skip workflow update (configure secrets only)
  3. Exit without making changes

Improved Exit Handling#

  • Graceful Shutdown: A new cleanup mechanism ensures all pending operations complete before exit
  • Cleanup functions are registered and executed on exit
  • 2-second timeout prevents hanging on shutdown
  • Handles process.exitCode properly for clean exits

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

OpenTelemetry Enhancements#

  • Configurable Timeout: New environment variable CLAUDE_CODE_OTEL_SHUTDOWN_TIMEOUT_MS allows customizing the OpenTelemetry shutdown timeout (default: 1000ms)
  • Better Error Messages: When metrics flush times out, users receive helpful guidance:
  OpenTelemetry metrics flush timed out after [X]ms
  
  To resolve this issue, you can:
  1. Increase the timeout by setting CLAUDE_CODE_OTEL_SHUTDOWN_TIMEOUT_MS env var
  2. Check if your OpenTelemetry backend is experiencing scalability issues
  3. Disable OpenTelemetry by unsetting CLAUDE_CODE_ENABLE_TELEMETRY env var

Code Editing Metrics#

  • New Telemetry: Added metrics tracking for code editing tool permission decisions (accept/reject) for Edit, MultiEdit, Write, and NotebookEdit tools

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Sonnet Model Handling#

  • Improved support for the "sonnet" model identifier
  • Better model selection logic that properly handles custom models and built-in model aliases

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Diff Generation Enhancement#

  • The diff generation function now supports a singleHunk parameter for better control over diff output format

Import Path Updates#

  • Updated Node.js imports to use the node: prefix convention (e.g., import { cwd } from "node:process")

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Error Code Expansion#

The GitHub app installation error codes have been expanded with new specific error types:

  • GH_CLI_NOT_INSTALLED (7)
  • GH_CLI_NOT_AUTHENTICATED (8)
  • GH_CLI_MISSING_SCOPES (9)
  • REPO_NOT_FOUND (10)
  • WORKFLOW_FILE_EXISTS (11)
  • APP_NOT_INSTALLED (12)
1 entry

Bug Fixesopen

#

  • Fixed potential issues with process exit handling in error scenarios
  • Improved error handling for GitHub API calls with better 404 detection
  • Enhanced workflow file detection to check for existing .github/workflows/claude.yml

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

1 entry

Version Updateopen

#

  • Version bumped from 0.2.125 to 0.2.126

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Verbatim
No official entry

Not individually listed upstream

v0.2.126 does not have its own entry in Anthropic’s official changelog, because prerelease builds are often folded into a neighbouring release. Browse the full changelog for the closest official notes. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

System prompt

The system prompt was not captured for this release, so this page cannot say whether it moved.