Skip to content

chore(deps-dev): Bump @anthropic-ai/claude-code from 2.1.12 to 2.1.50#92

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/anthropic-ai/claude-code-2.1.50
Closed

chore(deps-dev): Bump @anthropic-ai/claude-code from 2.1.12 to 2.1.50#92
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/anthropic-ai/claude-code-2.1.50

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps @anthropic-ai/claude-code from 2.1.12 to 2.1.50.

Release notes

Sourced from @​anthropic-ai/claude-code's releases.

v2.1.50

What's changed

  • Added support for startupTimeout configuration for LSP servers
  • Added WorktreeCreate and WorktreeRemove hook events, enabling custom VCS setup and teardown when agent worktree isolation creates or removes worktrees.
  • Fixed a bug where resumed sessions could be invisible when the working directory involved symlinks, because the session storage path was resolved at different times during startup. Also fixed session data loss on SSH disconnect by flushing session data before hooks and analytics in the graceful shutdown sequence.
  • Linux: Fixed native modules not loading on systems with glibc older than 2.30 (e.g., RHEL 8)
  • Fixed memory leak in agent teams where completed teammate tasks were never garbage collected from session state
  • Fixed CLAUDE_CODE_SIMPLE to fully strip down skills, session memory, custom agents, and CLAUDE.md token counting
  • Fixed /mcp reconnect freezing the CLI when given a server name that doesn't exist
  • Fixed memory leak where completed task state objects were never removed from AppState
  • Added support for isolation: worktree in agent definitions, allowing agents to declaratively run in isolated git worktrees.
  • CLAUDE_CODE_SIMPLE mode now also disables MCP tools, attachments, hooks, and CLAUDE.md file loading for a fully minimal experience.
  • Fixed bug where MCP tools were not discovered when tool search is enabled and a prompt is passed in as a launch argument
  • Improved memory usage during long sessions by clearing internal caches after compaction
  • Added claude agents CLI command to list all configured agents
  • Improved memory usage during long sessions by clearing large tool results after they have been processed
  • Fixed a memory leak where LSP diagnostic data was never cleaned up after delivery, causing unbounded memory growth in long sessions
  • Fixed a memory leak where completed task output was not freed from memory, reducing memory usage in long sessions with many tasks
  • Improved startup performance for headless mode (-p flag) by deferring Yoga WASM and UI component imports
  • Fixed prompt suggestion cache regression that reduced cache hit rates
  • Fixed unbounded memory growth in long sessions by capping file history snapshots
  • Added CLAUDE_CODE_DISABLE_1M_CONTEXT environment variable to disable 1M context window support
  • Opus 4.6 (fast mode) now includes the full 1M context window
  • VSCode: Added /extra-usage command support in VS Code sessions
  • Fixed memory leak where TaskOutput retained recent lines after cleanup
  • Fixed memory leak in CircularBuffer where cleared items were retained in the backing array
  • Fixed memory leak in shell command execution where ChildProcess and AbortController references were retained after cleanup

v2.1.49

What's changed

  • Fixed Ctrl+C and ESC being silently ignored when background agents are running and the main thread is idle. Pressing twice within 3 seconds now kills all background agents.
  • Fixed prompt suggestion cache regression that reduced cache hit rates.
  • Fixed plugin enable and plugin disable to auto-detect the correct scope when --scope is not specified, instead of always defaulting to user scope
  • Simple mode (CLAUDE_CODE_SIMPLE) now includes the file edit tool in addition to the Bash tool, allowing direct file editing in simple mode.
  • Permission suggestions are now populated when safety checks trigger an ask response, enabling SDK consumers to display permission options
  • Sonnet 4.5 with 1M context is being removed from the Max plan in favor of our frontier Sonnet 4.6 model, which now has 1M context. Please switch in /model.
  • Fixed verbose mode not updating thinking block display when toggled via /config — memo comparators now correctly detect verbose changes
  • Fixed unbounded WASM memory growth during long sessions by periodically resetting the tree-sitter parser
  • Fixed potential rendering issues caused by stale yoga layout references
  • Improved performance in non-interactive mode (-p) by skipping unnecessary API calls during startup
  • Improved performance by caching authentication failures for HTTP and SSE MCP servers, avoiding repeated connection attempts to servers requiring auth
  • Fixed unbounded memory growth during long-running sessions caused by Yoga WASM linear memory never shrinking
  • SDK model info now includes supportsEffort, supportedEffortLevels, and supportsAdaptiveThinking fields so consumers can discover model capabilities.
  • Added ConfigChange hook event that fires when configuration files change during a session, enabling enterprise security auditing and optional blocking of settings changes.
  • Improved startup performance by caching MCP auth failures to avoid redundant connection attempts
  • Improved startup performance by reducing HTTP calls for analytics token counting
  • Improved startup performance by batching MCP tool token counting into a single API call
  • Fixed disableAllHooks setting to respect managed settings hierarchy — non-managed settings can no longer disable managed hooks set by policy (#26637)

... (truncated)

Changelog

Sourced from @​anthropic-ai/claude-code's changelog.

2.1.50

  • Added support for startupTimeout configuration for LSP servers
  • Added WorktreeCreate and WorktreeRemove hook events, enabling custom VCS setup and teardown when agent worktree isolation creates or removes worktrees.
  • Fixed a bug where resumed sessions could be invisible when the working directory involved symlinks, because the session storage path was resolved at different times during startup. Also fixed session data loss on SSH disconnect by flushing session data before hooks and analytics in the graceful shutdown sequence.
  • Linux: Fixed native modules not loading on systems with glibc older than 2.30 (e.g., RHEL 8)
  • Fixed memory leak in agent teams where completed teammate tasks were never garbage collected from session state
  • Fixed CLAUDE_CODE_SIMPLE to fully strip down skills, session memory, custom agents, and CLAUDE.md token counting
  • Fixed /mcp reconnect freezing the CLI when given a server name that doesn't exist
  • Fixed memory leak where completed task state objects were never removed from AppState
  • Added support for isolation: worktree in agent definitions, allowing agents to declaratively run in isolated git worktrees.
  • CLAUDE_CODE_SIMPLE mode now also disables MCP tools, attachments, hooks, and CLAUDE.md file loading for a fully minimal experience.
  • Fixed bug where MCP tools were not discovered when tool search is enabled and a prompt is passed in as a launch argument
  • Improved memory usage during long sessions by clearing internal caches after compaction
  • Added claude agents CLI command to list all configured agents
  • Improved memory usage during long sessions by clearing large tool results after they have been processed
  • Fixed a memory leak where LSP diagnostic data was never cleaned up after delivery, causing unbounded memory growth in long sessions
  • Fixed a memory leak where completed task output was not freed from memory, reducing memory usage in long sessions with many tasks
  • Improved startup performance for headless mode (-p flag) by deferring Yoga WASM and UI component imports
  • Fixed prompt suggestion cache regression that reduced cache hit rates
  • Fixed unbounded memory growth in long sessions by capping file history snapshots
  • Added CLAUDE_CODE_DISABLE_1M_CONTEXT environment variable to disable 1M context window support
  • Opus 4.6 (fast mode) now includes the full 1M context window
  • VSCode: Added /extra-usage command support in VS Code sessions
  • Fixed memory leak where TaskOutput retained recent lines after cleanup
  • Fixed memory leak in CircularBuffer where cleared items were retained in the backing array
  • Fixed memory leak in shell command execution where ChildProcess and AbortController references were retained after cleanup

2.1.49

  • Improved MCP OAuth authentication with step-up auth support and discovery caching, reducing redundant network requests during server connections
  • Added --worktree (-w) flag to start Claude in an isolated git worktree
  • Subagents support isolation: "worktree" for working in a temporary git worktree
  • Added Ctrl+F keybinding to kill background agents (two-press confirmation)
  • Agent definitions support background: true to always run as a background task
  • Plugins can ship settings.json for default configuration
  • Fixed file-not-found errors to suggest corrected paths when the model drops the repo folder
  • Fixed Ctrl+C and ESC being silently ignored when background agents are running and the main thread is idle. Pressing twice within 3 seconds now kills all background agents.
  • Fixed prompt suggestion cache regression that reduced cache hit rates.
  • Fixed plugin enable and plugin disable to auto-detect the correct scope when --scope is not specified, instead of always defaulting to user scope
  • Simple mode (CLAUDE_CODE_SIMPLE) now includes the file edit tool in addition to the Bash tool, allowing direct file editing in simple mode.
  • Permission suggestions are now populated when safety checks trigger an ask response, enabling SDK consumers to display permission options
  • Sonnet 4.5 with 1M context is being removed from the Max plan in favor of our frontier Sonnet 4.6 model, which now has 1M context. Please switch in /model.
  • Fixed verbose mode not updating thinking block display when toggled via /config — memo comparators now correctly detect verbose changes
  • Fixed unbounded WASM memory growth during long sessions by periodically resetting the tree-sitter parser
  • Fixed potential rendering issues caused by stale yoga layout references
  • Improved performance in non-interactive mode (-p) by skipping unnecessary API calls during startup
  • Improved performance by caching authentication failures for HTTP and SSE MCP servers, avoiding repeated connection attempts to servers requiring auth
  • Fixed unbounded memory growth during long-running sessions caused by Yoga WASM linear memory never shrinking
  • SDK model info now includes supportsEffort, supportedEffortLevels, and supportsAdaptiveThinking fields so consumers can discover model capabilities.

... (truncated)

Commits
  • 3ad3231 chore: Update CHANGELOG.md
  • 65dfa98 chore: Update CHANGELOG.md
  • 0d996a7 chore: Update CHANGELOG.md
  • b18f2e7 chore: Update CHANGELOG.md
  • b757fc9 chore: Update CHANGELOG.md
  • 1718a57 Fix issues being auto-closed despite human activity (#26360)
  • 4523c00 chore: Update CHANGELOG.md
  • 32c7ff2 chore: Update CHANGELOG.md
  • d787369 chore: Update CHANGELOG.md
  • 8c09097 Post a comment when lifecycle labels are applied to issues (#25665)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@anthropic-ai/claude-code](https://github.com/anthropics/claude-code) from 2.1.12 to 2.1.50.
- [Release notes](https://github.com/anthropics/claude-code/releases)
- [Changelog](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md)
- [Commits](anthropics/claude-code@v2.1.12...v2.1.50)

---
updated-dependencies:
- dependency-name: "@anthropic-ai/claude-code"
  dependency-version: 2.1.50
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 2, 2026

Superseded by #94.

@dependabot dependabot bot closed this Mar 2, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/anthropic-ai/claude-code-2.1.50 branch March 2, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant