Claude Code v2.1.59 ~ v2.1.63 Update Roundup: HTTP Hooks, a Big Memory Cleanup, and Shared Worktree Settings

4 min read

New features and a big memory cleanup all at once. v2.1.63 might be the most "comprehensive" update in a while.

Have you all updated Claude Code yet?

This wave ran from v2.1.59 (2/26) to v2.1.63 (2/28), four releases pushed out over four days. v2.1.61 and v2.1.62 in the middle are single hotfixes, and the main course is v2.1.63: HTTP Hooks mean you no longer have to write shell scripts for hooks, /simplify and /batch become built-in commands, worktrees finally share project settings, and on top of all that it fixes more than 10 memory leaks in one go, so long-running sessions no longer keep getting fatter.

Here's a quick rundown of the highlights 👇

Claude Code v2.1.59 ~ v2.1.63 update roundup

v2.1.63: New Features + a Big Memory Cleanup

This release is the star of this wave; its changelog is several times longer than the previous three combined. It's half new features and half under-the-hood fixes, and both halves are packed.

HTTP Hooks: Hook Integrations Without Writing Shell Scripts

Before, Claude Code hooks only supported running shell commands. If you wanted to integrate an external service (like sending a Slack notification or writing logs to your own API), you had to write a curl shell script yourself.

Now there are HTTP Hooks. You can specify a URL directly in your hook settings, and Claude Code will POST JSON to it and receive JSON back. That means you can write a webhook endpoint in whatever backend language you're comfortable with, without wrestling with shell scripts anymore.

This is especially useful for teams: hook logic lives centrally on one API server, so you don't have to deploy a copy of the script to every dev machine.

/simplify and /batch: Built-in Slash Commands

Two new bundled slash commands:

  • /simplify: Reviews the code you just changed and finds places to reuse, simplify, or improve quality
  • /batch: Processes tasks in batches (see the help inside Claude Code for specific usage)

Both of these used to require setting up a custom slash command yourself. Now they're built in.

Worktrees Share Project Settings

Before, when you worked in a git worktree with --worktree, each worktree had its own separate project config and auto memory. But what you actually want is "different worktrees of the same repo share the same settings." That's changed now: worktrees of the same repository share project config and auto memory.

This is really convenient for people who use worktrees for feature branch development, since you don't have to set your preferences up again in every worktree.

Better MCP OAuth Authentication

There's a new manual URL paste fallback. If the MCP OAuth localhost redirect doesn't jump back successfully on its own, you can now manually copy the callback URL and paste it in to complete authentication. Before, when that happened, all you could do was stare at the screen or retry.

There's also a new environment variable:

ENABLE_CLAUDEAI_MCP_SERVERS=false

Adding this disables MCP servers configured on claude.ai so they don't show up in Claude Code.

/copy Upgrade and /model Improvements

  • /copy adds an "Always copy full response" option: Once selected, every future /copy copies the full response directly without popping up the picker
  • /model shows the current model: The /model menu now marks which model you're currently using
  • /clear fixes the skill cache: Before, when /clear started a new conversation, old skill content could linger. It now resets properly

VS Code Improvements

  • Session rename / remove: The VS Code session list now supports renaming and removing sessions
  • Remote session history fix: Remote sessions used to not show up in conversation history

The Big Memory Cleanup: 10+ Memory Leaks Fixed in One Go

This is the most "invisible but most important" change in this release. If you've run long Claude Code sessions (like all day), you may have noticed it getting slower and slower and eating more and more memory. v2.1.63 cleans out a whole pile of memory leaks at once:

Core fixes:

  • Git root detection cache: An ever-growing cache that ate more the longer the session ran
  • JSON parsing cache: Same as above; it would balloon without limit in long sessions
  • Bash command prefix cache: The cache had no cleanup mechanism
  • File count cache: Ignored glob ignore patterns and cached things it shouldn't have

MCP-related:

  • MCP server fetch cache: The cache wasn't cleared when a server disconnected and reconnected, so servers that reconnected frequently caused memory to keep growing
  • MCP OAuth flow cleanup: Listener leak
  • MCP tool/resource cache: Cache leak when servers reconnected

Other:

  • Bridge polling loop listener leak
  • Interactive permission handler listener leak: Triggered during auto-approval
  • IDE host IP detection cache: Shared results across ports that shouldn't have been shared
  • WebSocket listener leak: When the transport reconnected
  • Long-running Teammates sessions: AppState still kept every message after compaction
  • Subagent progress messages: Large payloads weren't cleared during context compaction

Honestly, the length of this fix list is pretty astonishing. You can tell Anthropic did a systematic audit of memory usage this time, not just a few scattered patches. The problem of long sessions getting slower and slower should be noticeably better in this release.

Other Fixes

  • REPL bridge message ordering: On initial connection, history messages and new messages could interleave, scrambling the order
  • Prompt suggestion cache: A regression, the fix from v2.1.62

v2.1.62: Hotfix

  • Prompt suggestion cache hit rate regression: Fixed a regression that was lowering the cache hit rate

One line in the changelog, but it affected performance, so it got its own release.

v2.1.61: Hotfix

  • Windows config file corruption: Concurrent writes were corrupting the config file. This is a different trigger from the "multi-instance config corruption" fixed in v2.1.59; this one is Windows-specific

Summary

VersionDateHighlights
v2.1.592/26Auto Memory, /copy command, multi-instance safety fixes
v2.1.612/26Fix for Windows config corruption from concurrent writes
v2.1.622/27Fix for the prompt suggestion cache hit rate regression
v2.1.632/28HTTP Hooks, /simplify, /batch, shared worktree settings, 10+ memory leak fixes

Conclusion

v2.1.61 and v2.1.62 are quick patches to steady things, and v2.1.63 ships the new HTTP Hooks feature along with a systematic memory cleanup all at once. The rhythm of this wave: stabilize first, then charge ahead.

What I felt most in this wave is that memory fix list. Long sessions getting more and more sluggish has been a pain point for a lot of people, and this time a dozen-plus leaks got cleaned up in one go. You can tell it wasn't patching one here and one there, but a full audit. If you tend to leave Claude Code running all day, it should feel quite different after updating.

HTTP Hooks are worth watching too. Hooks going from only running shell commands to being able to call HTTP basically opens the door to integrating with any backend service, which will make team collaboration scenarios a lot more useful.

I recommend everyone update to the latest version:

claude update

After updating, you can check your version:

claude --version

References

  1. Claude Code GitHub Releases
  2. Claude Code official changelog

Keywords

Claude Code, v2.1.63, v2.1.59, HTTP Hooks, memory leak, memory leaks, /simplify, /batch, worktree, AI Coding, Anthropic, dev tool updates