From aab8d6bf4f6c3d3fae05bb35bcf9d66b048533f5 Mon Sep 17 00:00:00 2001 From: ya-luotao <7478427+ya-luotao@users.noreply.github.com> Date: Tue, 27 Oct 2026 08:28:51 +0000 Subject: [PATCH] Bump PINNED_CLI_VERSION to 2.1.311 --- 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 105a8d6..cf293dd 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.295 to **2.1.311**, 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.4.2] - 2026-10-27 ### Fixed diff --git a/lib/claude_agent_sdk/cli_installer.rb b/lib/claude_agent_sdk/cli_installer.rb index 706d8a8..9e9735f 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.295' + PINNED_CLI_VERSION = '2.1.311' # @api private BINARY_NAME = 'claude' # @api private