spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / CHANGELOG.md
490 lines · 16.7 KBPreviewCodeRaw
1# Changelog
2
3## 1.0.62
4
5- Added @-mention support with typeahead for custom agents. @<your-custom-agent> to invoke it
6- Hooks: Added SessionStart hook for new session initialization
7- /add-dir command now supports typeahead for directory paths
8- Improved network connectivity check reliability
9
10## 1.0.61
11
12- Transcript mode (Ctrl+R): Changed Esc to exit transcript mode rather than interrupt
13- Settings: Added `--settings` flag to load settings from a JSON file
14- Settings: Fixed resolution of settings files paths that are symlinks
15- OTEL: Fixed reporting of wrong organization after authentication changes
16- Slash commands: Fixed permissions checking for allowed-tools with Bash
17- IDE: Added support for pasting images in VSCode MacOS using ⌘+V
18- IDE: Added `CLAUDE_CODE_AUTO_CONNECT_IDE=false` for disabling IDE auto-connection
19- Added `CLAUDE_CODE_SHELL_PREFIX` for wrapping Claude and user-provided shell commands run by Claude Code
20
21## 1.0.60
22
23- You can now create custom subagents for specialized tasks! Run /agents to get started
24
25## 1.0.59
26
27- SDK: Added tool confirmation support with canUseTool callback
28- SDK: Allow specifying env for spawned process
29- Hooks: Exposed PermissionDecision to hooks (including "ask")
30- Hooks: UserPromptSubmit now supports additionalContext in advanced JSON output
31- Fixed issue where some Max users that specified Opus would still see fallback to Sonnet
32
33## 1.0.58
34
35- Added support for reading PDFs
36- MCP: Improved server health status display in 'claude mcp list'
37- Hooks: Added CLAUDE_PROJECT_DIR env var for hook commands
38
39## 1.0.57
40
41- Added support for specifying a model in slash commands
42- Improved permission messages to help Claude understand allowed tools
43- Fix: Remove trailing newlines from bash output in terminal wrapping
44
45## 1.0.56
46
47- Windows: Enabled shift+tab for mode switching on versions of Node.js that support terminal VT mode
48- Fixes for WSL IDE detection
49- Fix an issue causing awsRefreshHelper changes to .aws directory not to be picked up
50
51## 1.0.55
52
53- Clarified knowledge cutoff for Opus 4 and Sonnet 4 models
54- Windows: fixed Ctrl+Z crash
55- SDK: Added ability to capture error logging
56- Add --system-prompt-file option to override system prompt in print mode
57
58## 1.0.54
59
60- Hooks: Added UserPromptSubmit hook and the current working directory to hook inputs
61- Custom slash commands: Added argument-hint to frontmatter
62- Windows: OAuth uses port 45454 and properly constructs browser URL
63- Windows: mode switching now uses alt + m, and plan mode renders properly
64- Shell: Switch to in-memory shell snapshot to fix file-related errors
65
66## 1.0.53
67
68- Updated @-mention file truncation from 100 lines to 2000 lines
69- Add helper script settings for AWS token refresh: awsAuthRefresh (for foreground operations like aws sso login) and awsCredentialExport (for background operation with STS-like response).
70
71## 1.0.52
72
73- Added support for MCP server instructions
74
75## 1.0.51
76
77- Added support for native Windows (requires Git for Windows)
78- Added support for Bedrock API keys through environment variable AWS_BEARER_TOKEN_BEDROCK
79- Settings: /doctor can now help you identify and fix invalid setting files
80- `--append-system-prompt` can now be used in interactive mode, not just --print/-p.
81- Increased auto-compact warning threshold from 60% to 80%
82- Fixed an issue with handling user directories with spaces for shell snapshots
83- OTEL resource now includes os.type, os.version, host.arch, and wsl.version (if running on Windows Subsystem for Linux)
84- Custom slash commands: Fixed user-level commands in subdirectories
85- Plan mode: Fixed issue where rejected plan from sub-task would get discarded
86
87## 1.0.48
88
89- Fixed a bug in v1.0.45 where the app would sometimes freeze on launch
90- Added progress messages to Bash tool based on the last 5 lines of command output
91- Added expanding variables support for MCP server configuration
92- Moved shell snapshots from /tmp to ~/.claude for more reliable Bash tool calls
93- Improved IDE extension path handling when Claude Code runs in WSL
94- Hooks: Added a PreCompact hook
95- Vim mode: Added c, f/F, t/T
96
97## 1.0.45
98
99- Redesigned Search (Grep) tool with new tool input parameters and features
100- Disabled IDE diffs for notebook files, fixing "Timeout waiting after 1000ms" error
101- Fixed config file corruption issue by enforcing atomic writes
102- Updated prompt input undo to Ctrl+\_ to avoid breaking existing Ctrl+U behavior, matching zsh's undo shortcut
103- Stop Hooks: Fixed transcript path after /clear and fixed triggering when loop ends with tool call
104- Custom slash commands: Restored namespacing in command names based on subdirectories. For example, .claude/commands/frontend/component.md is now /frontend:component, not /component.
105
106## 1.0.44
107
108- New /export command lets you quickly export a conversation for sharing
109- MCP: resource_link tool results are now supported
110- MCP: tool annotations and tool titles now display in /mcp view
111- Changed Ctrl+Z to suspend Claude Code. Resume by running `fg`. Prompt input undo is now Ctrl+U.
112
113## 1.0.43
114
115- Fixed a bug where the theme selector was saving excessively
116- Hooks: Added EPIPE system error handling
117
118## 1.0.42
119
120- Added tilde (`~`) expansion support to `/add-dir` command
121
122## 1.0.41
123
124- Hooks: Split Stop hook triggering into Stop and SubagentStop
125- Hooks: Enabled optional timeout configuration for each command
126- Hooks: Added "hook_event_name" to hook input
127- Fixed a bug where MCP tools would display twice in tool list
128- New tool parameters JSON for Bash tool in `tool_decision` event
129
130## 1.0.40
131
132- Fixed a bug causing API connection errors with UNABLE_TO_GET_ISSUER_CERT_LOCALLY if `NODE_EXTRA_CA_CERTS` was set
133
134## 1.0.39
135
136- New Active Time metric in OpenTelemetry logging
137
138## 1.0.38
139
140- Released hooks. Special thanks to community input in https://github.com/anthropics/claude-code/issues/712. Docs: https://docs.anthropic.com/en/docs/claude-code/hooks
141
142## 1.0.37
143
144- Remove ability to set `Proxy-Authorization` header via ANTHROPIC_AUTH_TOKEN or apiKeyHelper
145
146## 1.0.36
147
148- Web search now takes today's date into context
149- Fixed a bug where stdio MCP servers were not terminating properly on exit
150
151## 1.0.35
152
153- Added support for MCP OAuth Authorization Server discovery
154
155## 1.0.34
156
157- Fixed a memory leak causing a MaxListenersExceededWarning message to appear
158
159## 1.0.33
160
161- Improved logging functionality with session ID support
162- Added prompt input undo functionality (Ctrl+Z and vim 'u' command)
163- Improvements to plan mode
164
165## 1.0.32
166
167- Updated loopback config for litellm
168- Added forceLoginMethod setting to bypass login selection screen
169
170## 1.0.31
171
172- Fixed a bug where ~/.claude.json would get reset when file contained invalid JSON
173
174## 1.0.30
175
176- Custom slash commands: Run bash output, @-mention files, enable thinking with thinking keywords
177- Improved file path autocomplete with filename matching
178- Added timestamps in Ctrl-r mode and fixed Ctrl-c handling
179- Enhanced jq regex support for complex filters with pipes and select
180
181## 1.0.29
182
183- Improved CJK character support in cursor navigation and rendering
184
185## 1.0.28
186
187- Slash commands: Fix selector display during history navigation
188- Resizes images before upload to prevent API size limit errors
189- Added XDG_CONFIG_HOME support to configuration directory
190- Performance optimizations for memory usage
191- New attributes (terminal.type, language) in OpenTelemetry logging
192
193## 1.0.27
194
195- Streamable HTTP MCP servers are now supported
196- Remote MCP servers (SSE and HTTP) now support OAuth
197- MCP resources can now be @-mentioned
198- /resume slash command to switch conversations within Claude Code
199
200## 1.0.25
201
202- Slash commands: moved "project" and "user" prefixes to descriptions
203- Slash commands: improved reliability for command discovery
204- Improved support for Ghostty
205- Improved web search reliability
206
207## 1.0.24
208
209- Improved /mcp output
210- Fixed a bug where settings arrays got overwritten instead of merged
211
212## 1.0.23
213
214- Released TypeScript SDK: import @anthropic-ai/claude-code to get started
215- Released Python SDK: pip install claude-code-sdk to get started
216
217## 1.0.22
218
219- SDK: Renamed `total_cost` to `total_cost_usd`
220
221## 1.0.21
222
223- Improved editing of files with tab-based indentation
224- Fix for tool_use without matching tool_result errors
225- Fixed a bug where stdio MCP server processes would linger after quitting Claude Code
226
227## 1.0.18
228
229- Added --add-dir CLI argument for specifying additional working directories
230- Added streaming input support without require -p flag
231- Improved startup performance and session storage performance
232- Added CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR environment variable to freeze working directory for bash commands
233- Added detailed MCP server tools display (/mcp)
234- MCP authentication and permission improvements
235- Added auto-reconnection for MCP SSE connections on disconnect
236- Fixed issue where pasted content was lost when dialogs appeared
237
238## 1.0.17
239
240- We now emit messages from sub-tasks in -p mode (look for the parent_tool_use_id property)
241- Fixed crashes when the VS Code diff tool is invoked multiple times quickly
242- MCP server list UI improvements
243- Update Claude Code process title to display "claude" instead of "node"
244
245## 1.0.11
246
247- Claude Code can now also be used with a Claude Pro subscription
248- Added /upgrade for smoother switching to Claude Max plans
249- Improved UI for authentication from API keys and Bedrock/Vertex/external auth tokens
250- Improved shell configuration error handling
251- Improved todo list handling during compaction
252
253## 1.0.10
254
255- Added markdown table support
256- Improved streaming performance
257
258## 1.0.8
259
260- Fixed Vertex AI region fallback when using CLOUD_ML_REGION
261- Increased default otel interval from 1s -> 5s
262- Fixed edge cases where MCP_TIMEOUT and MCP_TOOL_TIMEOUT weren't being respected
263- Fixed a regression where search tools unnecessarily asked for permissions
264- Added support for triggering thinking non-English languages
265- Improved compacting UI
266
267## 1.0.7
268
269- Renamed /allowed-tools -> /permissions
270- Migrated allowedTools and ignorePatterns from .claude.json -> settings.json
271- Deprecated claude config commands in favor of editing settings.json
272- Fixed a bug where --dangerously-skip-permissions sometimes didn't work in --print mode
273- Improved error handling for /install-github-app
274- Bugfixes, UI polish, and tool reliability improvements
275
276## 1.0.6
277
278- Improved edit reliability for tab-indented files
279- Respect CLAUDE_CONFIG_DIR everywhere
280- Reduced unnecessary tool permission prompts
281- Added support for symlinks in @file typeahead
282- Bugfixes, UI polish, and tool reliability improvements
283
284## 1.0.4
285
286- Fixed a bug where MCP tool errors weren't being parsed correctly
287
288## 1.0.1
289
290- Added `DISABLE_INTERLEAVED_THINKING` to give users the option to opt out of interleaved thinking.
291- Improved model references to show provider-specific names (Sonnet 3.7 for Bedrock, Sonnet 4 for Console)
292- Updated documentation links and OAuth process descriptions
293
294## 1.0.0
295
296- Claude Code is now generally available
297- Introducing Sonnet 4 and Opus 4 models
298
299## 0.2.125
300
301- Breaking change: Bedrock ARN passed to `ANTHROPIC_MODEL` or `ANTHROPIC_SMALL_FAST_MODEL` should no longer contain an escaped slash (specify `/` instead of `%2F`)
302- Removed `DEBUG=true` in favor of `ANTHROPIC_LOG=debug`, to log all requests
303
304## 0.2.117
305
306- Breaking change: --print JSON output now returns nested message objects, for forwards-compatibility as we introduce new metadata fields
307- Introduced settings.cleanupPeriodDays
308- Introduced CLAUDE_CODE_API_KEY_HELPER_TTL_MS env var
309- Introduced --debug mode
310
311## 0.2.108
312
313- You can now send messages to Claude while it works to steer Claude in real-time
314- Introduced BASH_DEFAULT_TIMEOUT_MS and BASH_MAX_TIMEOUT_MS env vars
315- Fixed a bug where thinking was not working in -p mode
316- Fixed a regression in /cost reporting
317- Deprecated MCP wizard interface in favor of other MCP commands
318- Lots of other bugfixes and improvements
319
320## 0.2.107
321
322- CLAUDE.md files can now import other files. Add @path/to/file.md to ./CLAUDE.md to load additional files on launch
323
324## 0.2.106
325
326- MCP SSE server configs can now specify custom headers
327- Fixed a bug where MCP permission prompt didn't always show correctly
328
329## 0.2.105
330
331- Claude can now search the web
332- Moved system & account status to /status
333- Added word movement keybindings for Vim
334- Improved latency for startup, todo tool, and file edits
335
336## 0.2.102
337
338- Improved thinking triggering reliability
339- Improved @mention reliability for images and folders
340- You can now paste multiple large chunks into one prompt
341
342## 0.2.100
343
344- Fixed a crash caused by a stack overflow error
345- Made db storage optional; missing db support disables --continue and --resume
346
347## 0.2.98
348
349- Fixed an issue where auto-compact was running twice
350
351## 0.2.96
352
353- Claude Code can now also be used with a Claude Max subscription (https://claude.ai/upgrade)
354
355## 0.2.93
356
357- Resume conversations from where you left off from with "claude --continue" and "claude --resume"
358- Claude now has access to a Todo list that helps it stay on track and be more organized
359
360## 0.2.82
361
362- Added support for --disallowedTools
363- Renamed tools for consistency: LSTool -> LS, View -> Read, etc.
364
365## 0.2.75
366
367- Hit Enter to queue up additional messages while Claude is working
368- Drag in or copy/paste image files directly into the prompt
369- @-mention files to directly add them to context
370- Run one-off MCP servers with `claude --mcp-config <path-to-file>`
371- Improved performance for filename auto-complete
372
373## 0.2.74
374
375- Added support for refreshing dynamically generated API keys (via apiKeyHelper), with a 5 minute TTL
376- Task tool can now perform writes and run bash commands
377
378## 0.2.72
379
380- Updated spinner to indicate tokens loaded and tool usage
381
382## 0.2.70
383
384- Network commands like curl are now available for Claude to use
385- Claude can now run multiple web queries in parallel
386- Pressing ESC once immediately interrupts Claude in Auto-accept mode
387
388## 0.2.69
389
390- Fixed UI glitches with improved Select component behavior
391- Enhanced terminal output display with better text truncation logic
392
393## 0.2.67
394
395- Shared project permission rules can be saved in .claude/settings.json
396
397## 0.2.66
398
399- Print mode (-p) now supports streaming output via --output-format=stream-json
400- Fixed issue where pasting could trigger memory or bash mode unexpectedly
401
402## 0.2.63
403
404- Fixed an issue where MCP tools were loaded twice, which caused tool call errors
405
406## 0.2.61
407
408- Navigate menus with vim-style keys (j/k) or bash/emacs shortcuts (Ctrl+n/p) for faster interaction
409- Enhanced image detection for more reliable clipboard paste functionality
410- Fixed an issue where ESC key could crash the conversation history selector
411
412## 0.2.59
413
414- Copy+paste images directly into your prompt
415- Improved progress indicators for bash and fetch tools
416- Bugfixes for non-interactive mode (-p)
417
418## 0.2.54
419
420- Quickly add to Memory by starting your message with '#'
421- Press ctrl+r to see full output for long tool results
422- Added support for MCP SSE transport
423
424## 0.2.53
425
426- New web fetch tool lets Claude view URLs that you paste in
427- Fixed a bug with JPEG detection
428
429## 0.2.50
430
431- New MCP "project" scope now allows you to add MCP servers to .mcp.json files and commit them to your repository
432
433## 0.2.49
434
435- Previous MCP server scopes have been renamed: previous "project" scope is now "local" and "global" scope is now "user"
436
437## 0.2.47
438
439- Press Tab to auto-complete file and folder names
440- Press Shift + Tab to toggle auto-accept for file edits
441- Automatic conversation compaction for infinite conversation length (toggle with /config)
442
443## 0.2.44
444
445- Ask Claude to make a plan with thinking mode: just say 'think' or 'think harder' or even 'ultrathink'
446
447## 0.2.41
448
449- MCP server startup timeout can now be configured via MCP_TIMEOUT environment variable
450- MCP server startup no longer blocks the app from starting up
451
452## 0.2.37
453
454- New /release-notes command lets you view release notes at any time
455- `claude config add/remove` commands now accept multiple values separated by commas or spaces
456
457## 0.2.36
458
459- Import MCP servers from Claude Desktop with `claude mcp add-from-claude-desktop`
460- Add MCP servers as JSON strings with `claude mcp add-json <n> <json>`
461
462## 0.2.34
463
464- Vim bindings for text input - enable with /vim or /config
465
466## 0.2.32
467
468- Interactive MCP setup wizard: Run "claude mcp add" to add MCP servers with a step-by-step interface
469- Fix for some PersistentShell issues
470
471## 0.2.31
472
473- Custom slash commands: Markdown files in .claude/commands/ directories now appear as custom slash commands to insert prompts into your conversation
474- MCP debug mode: Run with --mcp-debug flag to get more information about MCP server errors
475
476## 0.2.30
477
478- Added ANSI color theme for better terminal compatibility
479- Fixed issue where slash command arguments weren't being sent properly
480- (Mac-only) API keys are now stored in macOS Keychain
481
482## 0.2.26
483
484- New /approved-tools command for managing tool permissions
485- Word-level diff display for improved code readability
486- Fuzzy matching for slash commands
487
488## 0.2.21
489
490- Fuzzy matching for /commands