Claude Code:GitHub Releases(RSS)
Claude Code v2.1.90 版本更新
阅读原文· github.com精选理由
Claude Code新增/powerup交互式教程与多项性能优化,提升开发体验
AI 摘要
Claude Code 发布 v2.1.90 版本。新增 /powerup 交互式教程命令,通过动画演示教授功能使用;增加环境变量支持离线环境保留 marketplace 缓存。修复多项关键 bug:解决速率限制对话框崩溃、--resume 缓存未命中、编辑操作与 format-on-save 冲突等问题。性能方面优化 MCP 工具缓存、SSE 传输及长对话转录效率。同时移除 DNS 缓存查询自动权限以增强隐私,并加固 PowerShell 工具权限检查。
原文 · 保持原样,未翻译
What's changed
- Added
/powerup— interactive lessons teaching Claude Code features with animated demos - Added
CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILUREenv var to keep the existing marketplace cache whengit pullfails, useful in offline environments - Added
.huskyto protected directories (acceptEdits mode) - Fixed an infinite loop where the rate-limit options dialog would repeatedly auto-open after hitting your usage limit, eventually crashing the session
- Fixed
--resumecausing a full prompt-cache miss on the first request for users with deferred tools, MCP servers, or custom agents (regression since v2.1.69) - Fixed
Edit/Writefailing with "File content has changed" when a PostToolUse format-on-save hook rewrites the file between consecutive edits - Fixed
PreToolUsehooks that emit JSON to stdout and exit with code 2 not correctly blocking the tool call - Fixed collapsed search/read summary badge appearing multiple times in fullscreen scrollback when a CLAUDE.md file auto-loads during a tool call
- Fixed auto mode not respecting explicit user boundaries ("don't push", "wait for X before Y") even when the action would otherwise be allowed
- Fixed click-to-expand hover text being nearly invisible on light terminal themes
- Fixed UI crash when malformed tool input reached the permission dialog
- Fixed headers disappearing when scrolling
/model,/config, and other selection screens - Hardened PowerShell tool permission checks: fixed trailing
&background job bypass,-ErrorAction Breakdebugger hang, archive-extraction TOCTOU, and parse-fail fallback deny-rule degradation - Improved performance: eliminated per-turn JSON.stringify of MCP tool schemas on cache-key lookup
- Improved performance: SSE transport now handles large streamed frames in linear time (was quadratic)
- Improved performance: SDK sessions with long conversations no longer slow down quadratically on transcript writes
- Improved
/resumeall-projects view to load project sessions in parallel, improving load times for users with many projects - Changed
--resumepicker to no longer show sessions created byclaude -por SDK invocations - Removed
Get-DnsClientCacheandipconfig /displaydnsfrom auto-allow (DNS cache privacy)