diff --git a/CHANGELOG.md b/CHANGELOG.md index a56d80f..ed4d6b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Documentation -- **Claude Code Releases**: Updated tracking to v2.1.49 - - `--worktree` / `-w` CLI flag + subagent `isolation: "worktree"` for isolated git worktrees - - `background: true` in agent definitions to always run as background task - - `ConfigChange` hook event for enterprise security auditing - - Simple mode now includes file edit tool; Sonnet 4.6 now has 1M context on Max plan +- **Claude Code Releases**: Updated tracking to v2.1.50 + - `WorktreeCreate`/`WorktreeRemove` hook events; `isolation: worktree` in agent definitions + - `claude agents` CLI command; `CLAUDE_CODE_DISABLE_1M_CONTEXT` env var + - Opus 4.6 fast mode now has full 1M context window + - Major memory leak fixes + headless mode startup performance improvements ### Added diff --git a/guide/claude-code-releases.md b/guide/claude-code-releases.md index 2432070..a86b281 100644 --- a/guide/claude-code-releases.md +++ b/guide/claude-code-releases.md @@ -10,13 +10,13 @@ tags: [reference, release] > **Full details**: [github.com/anthropics/claude-code/CHANGELOG.md](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) > **Machine-readable**: [claude-code-releases.yaml](../machine-readable/claude-code-releases.yaml) -**Latest**: v2.1.49 | **Updated**: 2026-02-20 +**Latest**: v2.1.50 | **Updated**: 2026-02-21 --- ## Quick Jump -- [2.1.x Series (January-February 2026)](#21x-series-january-february-2026) — Worktree isolation, background agents, ConfigChange hook, Fast mode Opus 4.6, claude.ai MCP connectors +- [2.1.x Series (January-February 2026)](#21x-series-january-february-2026) — Worktree isolation, background agents, ConfigChange hook, Fast mode Opus 4.6, 1M context, claude.ai MCP connectors - [2.0.x Series (Nov 2025 - Jan 2026)](#20x-series-november-2025---january-2026) — Opus 4.5, Claude in Chrome, Background agents - [Breaking Changes Summary](#breaking-changes-summary) - [Milestone Features](#milestone-features) @@ -25,6 +25,29 @@ tags: [reference, release] ## 2.1.x Series (January-February 2026) +### v2.1.50 (2026-02-21) + +- **New**: `WorktreeCreate` and `WorktreeRemove` hook events — custom VCS setup/teardown when agent worktree isolation creates or removes worktrees +- **New**: `isolation: worktree` in agent definitions for declarative worktree isolation (no longer requires setting in each call) +- **New**: `claude agents` CLI command to list all configured agents +- **New**: `startupTimeout` configuration for LSP servers +- **New**: `CLAUDE_CODE_DISABLE_1M_CONTEXT` env var to disable 1M context window support +- **New**: Pre-configured OAuth client credentials for MCP servers that don't support Dynamic Client Registration (Slack); use `--client-id` and `--client-secret` with `claude mcp add` +- **New**: VSCode `/extra-usage` command support +- **Changed**: Opus 4.6 (fast mode) now includes full 1M context window +- **Changed**: `CLAUDE_CODE_SIMPLE` mode now also disables MCP tools, attachments, hooks, and CLAUDE.md loading for fully minimal experience +- **Fixed**: Bug where resumed sessions could be invisible when working directory involved symlinks +- **Fixed**: `disableAllHooks` setting to respect managed settings hierarchy (non-managed settings can no longer disable managed hooks) +- **Fixed**: Linux: native modules not loading on systems with glibc older than 2.30 (RHEL 8) +- **Fixed**: Memory leak in agent teams where completed teammate tasks were never garbage collected +- **Fixed**: Memory leak where completed task state objects were never removed from AppState +- **Fixed**: Memory leak where LSP diagnostic data was never cleaned up after delivery +- **Fixed**: Unbounded memory growth in long sessions (file history snapshots capped; circular buffer fix; stream buffers released after use) +- **Fixed**: MCP tools not discovered when tool search is enabled and prompt passed as launch argument +- **Fixed**: Prompt suggestion cache regression that reduced cache hit rates +- **Improved**: Startup performance for headless mode (`-p`) by deferring Yoga WASM and UI component imports +- **Improved**: Memory usage during long sessions by clearing internal caches after compaction and clearing large tool results after processing + ### v2.1.49 (2026-02-20) - **New**: `--worktree` / `-w` CLI flag to start Claude in an isolated git worktree diff --git a/machine-readable/claude-code-releases.yaml b/machine-readable/claude-code-releases.yaml index bf1d651..a89d8dc 100644 --- a/machine-readable/claude-code-releases.yaml +++ b/machine-readable/claude-code-releases.yaml @@ -3,8 +3,8 @@ # Purpose: Track Claude Code product releases for documentation sync # Maintained: Manual updates when new releases are announced -latest: "2.1.49" -updated: "2026-02-20" +latest: "2.1.50" +updated: "2026-02-21" # ════════════════════════════════════════════════════════════════ # RELEASES (newest first, condensed highlights only) @@ -15,6 +15,15 @@ releases: # 2.1.x Series (January-February 2026) # ───────────────────────────────────────────────────────────── + - version: "2.1.50" + date: "2026-02-21" + highlights: + - "⭐ `WorktreeCreate` and `WorktreeRemove` hook events for custom VCS setup/teardown with agent worktree isolation" + - "`isolation: worktree` in agent definitions for declarative worktree isolation; `claude agents` CLI command to list configured agents" + - "Opus 4.6 (fast mode) now has full 1M context window; `CLAUDE_CODE_DISABLE_1M_CONTEXT` env var to disable it" + - "Major memory leak fixes + startup performance improvements for headless mode; `CLAUDE_CODE_SIMPLE` now fully minimal" + breaking: [] + - version: "2.1.49" date: "2026-02-20" highlights: