release: Claude Code v2.1.70 (20 patches)
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
{
|
||||
"latest": "2.1.69",
|
||||
"latest": "2.1.70",
|
||||
"releases": [
|
||||
{
|
||||
"version": "2.1.70",
|
||||
"date": "2026-03-06",
|
||||
"patches": 20,
|
||||
"status": "stable"
|
||||
},
|
||||
{
|
||||
"version": "2.1.69",
|
||||
"date": "2026-03-06",
|
||||
|
||||
31
claude/releases/v2.1.70/CHANGELOG_UPSTREAM.md
Normal file
31
claude/releases/v2.1.70/CHANGELOG_UPSTREAM.md
Normal file
@@ -0,0 +1,31 @@
|
||||
## 2.1.70
|
||||
|
||||
- Fixed API 400 errors when using `ANTHROPIC_BASE_URL` with a third-party gateway — tool search now correctly detects proxy endpoints and disables `tool_reference` blocks
|
||||
- Fixed `API Error: 400 This model does not support the effort parameter` when using custom Bedrock inference profiles or other model identifiers not matching standard Claude naming patterns
|
||||
- Fixed empty model responses immediately after `ToolSearch` — the server renders tool schemas with system-prompt-style tags at the prompt tail, which could confuse models into stopping early
|
||||
- Fixed prompt-cache bust when an MCP server with `instructions` connects after the first turn
|
||||
- Fixed Enter inserting a newline instead of submitting when typing over a slow SSH connection
|
||||
- Fixed clipboard corrupting non-ASCII text (CJK, emoji) on Windows/WSL by using PowerShell `Set-Clipboard`
|
||||
- Fixed extra VS Code windows opening at startup on Windows when running from the VS Code integrated terminal
|
||||
- Fixed voice mode failing on Windows native binary with "native audio module could not be loaded"
|
||||
- Fixed push-to-talk not activating on session start when `voiceEnabled: true` was set in settings
|
||||
- Fixed markdown links containing `#NNN` references incorrectly pointing to the current repository instead of the linked URL
|
||||
- Fixed repeated "Model updated to Opus 4.6" notification when a project's `.claude/settings.json` has a legacy Opus model string pinned
|
||||
- Fixed plugins showing as inaccurately installed in `/plugin`
|
||||
- Fixed plugins showing "not found in marketplace" errors on fresh startup by auto-refreshing after marketplace installation
|
||||
- Fixed `/security-review` command failing with `unknown option merge-base` on older git versions
|
||||
- Fixed `/color` command having no way to reset back to the default color — `/color default`, `/color gray`, `/color reset`, and `/color none` now restore the default
|
||||
- Fixed a performance regression in the `AskUserQuestion` preview dialog that re-ran markdown rendering on every keystroke in the notes input
|
||||
- Fixed feature flags read during early startup never refreshing their disk cache, causing stale values to persist across sessions
|
||||
- Fixed `permissions.defaultMode` settings values other than `acceptEdits` or `plan` being applied in Claude Code Remote environments — they are now ignored
|
||||
- Fixed skill listing being re-injected on every `--resume` (~600 tokens saved per resume)
|
||||
- Fixed teleport marker not rendering in VS Code teleported sessions
|
||||
- Improved error message when microphone captures silence to distinguish from "no speech detected"
|
||||
- Improved compaction to preserve images in the summarizer request, allowing prompt cache reuse for faster and cheaper compaction
|
||||
- Improved `/rename` to work while Claude is processing, instead of being silently queued
|
||||
- Reduced prompt input re-renders during turns by ~74%
|
||||
- Reduced startup memory by ~426KB for users without custom CA certificates
|
||||
- Reduced Remote Control `/poll` rate to once per 10 minutes while connected (was 1–2s), cutting server load ~300×. Reconnection is unaffected — transport loss immediately wakes fast polling.
|
||||
- [VSCode] Added spark icon in VS Code activity bar that lists all Claude Code sessions, with sessions opening as full editors
|
||||
- [VSCode] Added full markdown document view for plans in VS Code, with support for adding comments to provide feedback
|
||||
- [VSCode] Added native MCP server management dialog — use `/mcp` in the chat panel to enable/disable servers, reconnect, and manage OAuth authentication without switching to the terminal
|
||||
13148
claude/releases/v2.1.70/cli.js
Executable file
13148
claude/releases/v2.1.70/cli.js
Executable file
File diff suppressed because one or more lines are too long
36
claude/releases/v2.1.70/install.sh
Executable file
36
claude/releases/v2.1.70/install.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
# Claude Code Patcher — standalone installer for v2.1.70
|
||||
# Usage: sudo bash install.sh [--all] [--skip-cli]
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
CLI_JS="$SCRIPT_DIR/cli.js"
|
||||
PATCHER="$SCRIPT_DIR/claude_code_patcher.py"
|
||||
CONFIG="$SCRIPT_DIR/patcher.config.json"
|
||||
|
||||
TARGET="/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js"
|
||||
[ ! -f "$TARGET" ] && TARGET="/usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js"
|
||||
[ ! -f "$TARGET" ] && TARGET="/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js"
|
||||
|
||||
if [ ! -f "$TARGET" ]; then
|
||||
echo "ERROR: Claude Code cli.js not found. Install Claude Code first."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install patched cli.js
|
||||
if [ "$1" != "--skip-cli" ]; then
|
||||
echo "Installing patched cli.js..."
|
||||
BACKUP="$TARGET.bak.$(date +%Y%m%d%H%M%S)"
|
||||
cp "$TARGET" "$BACKUP"
|
||||
cp "$CLI_JS" "$TARGET"
|
||||
node --check "$TARGET" || { cp "$BACKUP" "$TARGET"; echo "SYNTAX ERROR, rolled back"; exit 1; }
|
||||
echo "Installed. Backup: $BACKUP"
|
||||
fi
|
||||
|
||||
# Apply user settings
|
||||
if [ -f "$PATCHER" ] && [ -f "$CONFIG" ]; then
|
||||
echo "Applying user settings..."
|
||||
python3 "$PATCHER" --config "$CONFIG" --all --skip-cli-patch --skip-update
|
||||
fi
|
||||
|
||||
echo "Done. Run 'claude --version' to verify."
|
||||
Reference in New Issue
Block a user