From 3fe2892e0de85ea5edf53c8b86037afdd9eeb9cd Mon Sep 17 00:00:00 2001 From: ya-luotao <7478427+ya-luotao@users.noreply.github.com> Date: Mon, 5 Oct 2026 14:40:16 +0000 Subject: [PATCH] Bump PINNED_CLI_VERSION to 2.1.289 --- CHANGELOG.md | 3 +++ lib/claude_agent_sdk/cli_installer.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7a39e04..79fda243 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- `CLIInstaller::PINNED_CLI_VERSION` moves from 2.1.288 to **2.1.289**, following the CLI the Python SDK bundles. `CLIInstaller.install_pinned` installs it. See the [Claude Code changelog](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md). + ## [1.2.0] - 2026-10-03 Fixes from a review of the whole SDK, a reference for every option (`docs/options.md`), and Claude Code 2.1.288 as the pinned CLI. Settings the SDK used to drop without an error now take effect — hook outputs and `sandbox:` Hashes in Ruby spelling, a `tools:` String, option Hashes with a Symbol `type` — so read the entries in bold before upgrading: they say what changes for code that relied on the old behavior. diff --git a/lib/claude_agent_sdk/cli_installer.rb b/lib/claude_agent_sdk/cli_installer.rb index f5374993..044e9c96 100644 --- a/lib/claude_agent_sdk/cli_installer.rb +++ b/lib/claude_agent_sdk/cli_installer.rb @@ -53,7 +53,7 @@ module CLIInstaller # rubocop:disable Metrics/ModuleLength -- Http/Platform/Rele # Single source of truth: bumped here (and only here) by # .github/workflows/cli-pin-bump.yml or a Python-sync release, so a # Dependabot bump of the gem carries the CLI forward with it. - PINNED_CLI_VERSION = '2.1.288' + PINNED_CLI_VERSION = '2.1.289' # @api private BINARY_NAME = 'claude' # @api private