Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.6.5 - 2026-11-30

Compare with v1.6.4

Bug Fixes

v1.6.4 - 2026-11-30

Compare with v1.6.3

Features

  • regenerate settings models from the current SchemaStore schema (fb6659c by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.6.3 - 2026-11-26

Compare with v1.6.2

Bug Fixes

  • a stop at the result keeps the turn; cleanup survives anyio cancels (ac973c0 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • bound the message stream between reader and consumer (7fc03a1 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Code Refactoring

Performance Improvements

  • list_sessions reads only the transcripts of the page (9d9c719 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.6.2 - 2026-11-26

Compare with v1.6.1

Bug Fixes

  • project URL labels within PyPI's 32-character limit (9fb4545 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.6.1 - 2026-11-26

Compare with v1.6.0

Bug Fixes

  • no comma in project URL labels (PyPI rejected 1.6.0) (2c120e3 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.6.0 - 2026-11-26

Compare with v1.5.3

Features

  • warn when allowed_tools or bypassPermissions shadow on_permission (8bc8911 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • fine_grained_tool_streaming option, "auto" by default (795129a by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • skip unknown CLI message types unless CLAWD_STRICT_MESSAGES is set (d394768 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • sync to Claude Code 2.1.332 / TS SDK 0.3.332 (PreSkillShellCommand hook, set_permission_mode answer) (9c0a1b4 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Bug Fixes

  • bounded stderr tail, drain stdout on close, robust loaders (8f04988 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • keep reading after a bad control request; fail fast, withdraw, clean up (0d72baf by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • refuse .bat/.cmd CLIs on Windows, find claude.exe safely (3024b7d by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • pass setting_sources=[] to the CLI instead of dropping it (3e78a74 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Performance Improvements

  • check the CLI version from initialize instead of spawning claude -v (739ee2d by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.5.3 - 2026-11-24

Compare with v1.5.2

Bug Fixes

v1.5.2 - 2026-11-24

Compare with v1.5.1

Features

  • initialize request fields of the 0.3.331 SDK (plugins, SDK server settings, manifests) (446c117 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Bug Fixes

  • allow_dangerously_skip_permissions no longer starts in bypass mode (ad7c982 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
  • image parts use logfire's BlobPart.media_type (90f7eb9 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.5.1 - 2026-11-23

Compare with v1.5.0

Features

  • walk chains over raw JSON, validate only what's needed (d6ec18b by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.5.0 - 2026-11-23

Compare with v1.4.0

Features

Bug Fixes

Code Refactoring

Performance Improvements

v1.4.0 - 2026-11-22

Compare with v1.3.0

Features

v1.3.0 - 2026-11-22

Compare with v1.2.10

Features

  • send MCP servers in the initialize request by default (c2e1796 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.2.10 - 2026-11-22

Compare with v1.2.9

v1.2.9 - 2026-11-21

Compare with v1.2.8

Features

v1.2.8 - 2026-11-20

Compare with v1.2.7

Bug Fixes

  • add begun_message_ids to result messages (CLI 2.1.330) (50753ca by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.2.7 - 2026-11-20

Compare with v1.2.6

Features

  • steer messages into a running query; model command_lifecycle frames (d136e0e by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.2.6 - 2026-11-20

Compare with v1.2.5

Bug Fixes

  • send only explicitly set fields in apply_flag_settings (0a00e96 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.2.5 - 2026-11-20

Compare with v1.2.4

Features

Code Refactoring

v1.2.4 - 2026-11-20

Compare with v1.2.3

Features

v1.2.3 - 2026-11-20

Compare with v1.2.2

Features

  • accept every Messages API block type in message content (f25da96 by Philipp Temminghoff). Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

v1.2.2 - 2026-11-20

Compare with v1.2.1

Bug Fixes

v1.2.1 - 2026-11-17

Compare with v1.2.0

Bug Fixes

v1.2.0 - 2026-11-17

Compare with v1.1.9

Features

Bug Fixes

v1.1.9 - 2026-11-17

Compare with v1.1.8

Features

  • add initialize response fields from Claude Code 2.1.326 (9c7b895 by Philipp Temminghoff).

v1.1.8 - 2026-11-16

Compare with v1.1.7

Features

v1.1.7 - 2026-11-16

Compare with v1.1.6

v1.1.6 - 2026-04-23

Compare with v1.1.5

v1.1.5 - 2026-04-22

Compare with v1.1.4

v1.1.4 - 2026-04-22

Compare with v1.1.3

v1.1.3 - 2026-04-21

Compare with v1.1.2

v1.1.2 - 2026-04-20

Compare with v1.1.1

v1.1.1 - 2026-04-14

Compare with v1.1.0

v1.1.0 - 2026-04-10

Compare with v1.0.28

v1.0.28 - 2026-04-10

Compare with v1.0.27

v1.0.27 - 2026-04-04

Compare with v1.0.26

v1.0.26 - 2026-04-02

Compare with v1.0.25

v1.0.25 - 2026-04-01

Compare with v1.0.24

v1.0.24 - 2026-03-29

Compare with v1.0.23

v1.0.23 - 2026-03-29

Compare with v1.0.22

v1.0.22 - 2026-03-29

Compare with v1.0.21

v1.0.21 - 2026-03-29

Compare with v1.0.20

v1.0.20 - 2026-03-27

Compare with v1.0.19

v1.0.19 - 2026-03-26

Compare with v1.0.18

v1.0.18 - 2026-03-25

Compare with v1.0.17

v1.0.17 - 2026-03-24

Compare with v1.0.16

v1.0.16 - 2026-03-22

Compare with v1.0.15

v1.0.15 - 2026-03-20

Compare with v1.0.14

v1.0.14 - 2026-03-20

Compare with v1.0.13

v1.0.13 - 2026-03-19

Compare with v1.0.12

v1.0.12 - 2026-03-19

Compare with v1.0.11

v1.0.11 - 2026-03-18

Compare with v1.0.10

v1.0.10 - 2026-03-17

Compare with v1.0.9

v1.0.9 - 2026-03-17

Compare with v1.0.8

Bug Fixes

  • missing runtime import (90f4f1b by Philipp Temminghoff).

v1.0.8 - 2026-03-17

Compare with v1.0.7

v1.0.7 - 2026-03-16

Compare with v1.0.6

v1.0.6 - 2026-03-15

Compare with v1.0.5

v1.0.5 - 2026-03-14

Compare with v1.0.4

v1.0.4 - 2026-03-14

Compare with v1.0.3

v1.0.3 - 2026-03-14

Compare with v1.0.2

v1.0.2 - 2026-03-13

Compare with v1.0.1

v1.0.1 - 2026-03-12

Compare with v1.0.0

v1.0.0 - 2026-03-12

Compare with v0.6.7

v0.6.7 - 2026-03-10

Compare with v0.6.6

v0.6.6 - 2026-03-10

Compare with v0.6.5

v0.6.5 - 2026-03-09

Compare with v0.6.4

v0.6.4 - 2026-03-07

Compare with v0.6.3

v0.6.3 - 2026-03-06

Compare with v0.6.2

v0.6.2 - 2026-03-05

Compare with v0.6.1

v0.6.1 - 2026-03-05

Compare with v0.6.0

v0.6.0 - 2026-03-03

Compare with v0.5.4

v0.5.4 - 2026-03-03

Compare with v0.5.3

v0.5.3 - 2026-03-03

Compare with v0.5.2

v0.5.2 - 2026-03-03

Compare with v0.5.1

v0.5.1 - 2026-03-03

Compare with v0.5.0

v0.5.0 - 2026-03-02

Compare with v0.4.1

v0.4.1 - 2026-02-28

Compare with v0.4.0

v0.4.0 - 2026-02-28

Compare with v0.3.8

v0.3.8 - 2026-02-27

Compare with v0.3.7

Features

  • add FromPR session config and enable_agent_teams option (4dea29f by Philipp Temminghoff). Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
  • hooks for AgentDefinition (a840746 by Philipp Temminghoff).

v0.3.7 - 2026-02-27

Compare with v0.3.6

v0.3.6 - 2026-02-26

Compare with v0.3.5

v0.3.5 - 2026-02-26

Compare with v0.3.4

v0.3.4 - 2026-02-26

Compare with v0.3.3

v0.3.3 - 2026-02-26

Compare with v0.3.2

v0.3.2 - 2026-02-26

Compare with v0.3.1

v0.3.1 - 2026-02-25

Compare with v0.3.0

v0.3.0 - 2026-02-24

Compare with v0.2.4

v0.2.4 - 2026-02-24

Compare with v0.2.3

v0.2.3 - 2026-02-24

Compare with v0.2.2

v0.2.2 - 2026-02-24

Compare with v0.2.1

v0.2.1 - 2026-02-24

Compare with v0.2.0

v0.2.0 - 2026-02-24

Compare with v0.1.89

v0.1.89 - 2026-02-24

Compare with v0.1.88

v0.1.88 - 2026-02-24

Compare with v0.1.87

v0.1.87 - 2026-02-23

Compare with v0.1.86

v0.1.86 - 2026-02-22

Compare with v0.1.85

v0.1.85 - 2026-02-22

Compare with v0.1.84

Bug Fixes

  • use receive_response instead of receive_messages (8886bdd by Philipp Temminghoff).

v0.1.84 - 2026-02-22

Compare with v0.1.83

Bug Fixes

  • another missing field (3f6f145 by Philipp Temminghoff).

v0.1.83 - 2026-02-22

Compare with v0.1.82

Bug Fixes

  • proper type for Plugins (0120499 by Philipp Temminghoff).

v0.1.82 - 2026-02-20

Compare with v0.1.81

Code Refactoring

  • convert stream replay dispatch to match/case (35c19a6 by Philipp Temminghoff).
  • use match/case for trailing entry dispatch in stream replay (1a7291c by Philipp Temminghoff).

v0.1.81 - 2026-02-20

Compare with v0.1.80

Features

  • add include_summaries option to replay functions (9f0cab4 by Philipp Temminghoff).
  • add extract_usage utility for deduplicated token counts (f769092 by Philipp Temminghoff).
  • add leaf_uuid parameter for parent-chain thread resolution (792662d by Philipp Temminghoff).
  • add exclude_sidechains option to replay functions (d55b87d by Philipp Temminghoff).

Bug Fixes

  • preserve all tool_use_result forms in replay and wire model (5ef0a88 by Philipp Temminghoff).
  • map is_api_error_message to AssistantMessage.error in replay (bff9942 by Philipp Temminghoff).

Code Refactoring

  • use discriminated ClaudeContentBlock in message content fields (4474f73 by Philipp Temminghoff).

v0.1.80 - 2026-02-20

Compare with v0.1.79

Bug Fixes

  • filter CLAUDECODE env var (5a3c2c1 by Philipp Temminghoff).

v0.1.79 - 2026-02-20

Compare with v0.1.78

v0.1.78 - 2026-02-20

Compare with v0.1.77

v0.1.77 - 2026-02-19

Compare with v0.1.76

v0.1.76 - 2026-02-19

Compare with v0.1.75

Bug Fixes

  • make AssistantMessage inherit from BaseMessage (0e13313 by Philipp Temminghoff).

v0.1.75 - 2026-02-19

Compare with v0.1.74

v0.1.74 - 2026-02-19

Compare with v0.1.73

v0.1.73 - 2026-02-19

Compare with v0.1.72

v0.1.72 - 2026-02-19

Compare with v0.1.71

v0.1.71 - 2026-02-19

Compare with v0.1.70

v0.1.70 - 2026-02-19

Compare with v0.1.69

v0.1.69 - 2026-02-18

Compare with v0.1.68

v0.1.68 - 2026-02-18

Compare with v0.1.67

v0.1.67 - 2026-02-18

Compare with v0.1.66

v0.1.66 - 2026-02-18

Compare with v0.1.65

v0.1.65 - 2026-02-18

Compare with v0.1.64

v0.1.64 - 2026-02-18

Compare with v0.1.63

Features

  • missing ClaudeAgentOptions fields (2403b2e by Philipp Temminghoff).
  • mcp servers for SubAgents (b9d2dfc by Philipp Temminghoff).
  • memory field for SubAgents (c8a4cda by Philipp Temminghoff).

v0.1.63 - 2026-02-17

Compare with v0.1.62

v0.1.62 - 2026-02-17

Compare with v0.1.61

v0.1.61 - 2026-02-17

Compare with v0.1.60

v0.1.60 - 2026-02-17

Compare with v0.1.59

v0.1.59 - 2026-02-17

Compare with v0.1.58

v0.1.58 - 2026-02-17

Compare with v0.1.57

v0.1.57 - 2026-02-17

Compare with v0.1.56

v0.1.56 - 2026-02-17

Compare with v0.1.55

v0.1.55 - 2026-02-17

Compare with v0.1.54

v0.1.54 - 2026-02-17

Compare with v0.1.53

v0.1.53 - 2026-02-17

Compare with v0.1.52

v0.1.52 - 2026-02-17

Compare with v0.1.51

v0.1.51 - 2026-02-17

Compare with v0.1.50

v0.1.50 - 2026-02-17

Compare with v0.1.49

v0.1.49 - 2026-02-17

Compare with v0.1.48

v0.1.48 - 2026-02-17

Compare with v0.1.47

v0.1.47 - 2026-02-17

Compare with v0.1.46

v0.1.46 - 2026-02-16

Compare with v0.1.45

v0.1.45 - 2026-02-16

Compare with v0.1.44

v0.1.44 - 2026-02-16

Compare with v0.1.43

v0.1.43 - 2026-02-16

Compare with v0.1.42

Bug Fixes

  • add ModelUsage field (8cf500c by Philipp Temminghoff).

v0.1.42 - 2026-02-16

Compare with v0.1.41

Bug Fixes

  • add stop reason to ResultMessage (a8f16f5 by Philipp Temminghoff).

v0.1.41 - 2026-02-16

Compare with v0.1.40

v0.1.40 - 2026-02-12

Compare with v0.1.39

v0.1.39 - 2026-02-12

Compare with v0.1.38

Features

  • backport ThinkingConfig and effort from upstream PR #565 (5647d79 by Philipp Temminghoff).

Code Refactoring

  • remove deprecated debug_stderr field from ClaudeAgentOptions (9c104c8 by Philipp Temminghoff).
  • remove deprecated max_thinking_tokens field from ClaudeAgentOptions (9eb88b7 by Philipp Temminghoff).

v0.1.38 - 2026-02-06

Compare with v0.1.37

Features

v0.1.37 - 2026-02-03

Compare with v0.1.36

Features

  • add missing hook events and fix existing hook fields (f46a121 by Philipp Temminghoff).

v0.1.36 - 2026-01-31

Compare with v0.1.35

v0.1.35 - 2026-01-31

Compare with v0.1.34

v0.1.34 - 2026-01-31

Compare with v0.1.33

v0.1.33 - 2026-01-31

Compare with v0.1.32

v0.1.32 - 2026-01-31

Compare with v0.1.31

v0.1.31 - 2026-01-31

Compare with v0.1.30

v0.1.30 - 2026-01-31

Compare with v0.1.29

v0.1.29 - 2026-01-31

Compare with v0.1.28

v0.1.28 - 2026-01-30

Compare with v0.1.27

Features

v0.1.27 - 2026-01-29

Compare with v0.1.20

Features

  • add set_mcp_servers for dynamic MCP server registration (fa27670 by Philipp Temminghoff).
  • add set_max_thinking_tokens method for extended thinking control (10fe74f by Philipp Temminghoff).
  • add get_mcp_status method for MCP server connection status (bb3104b by Philipp Temminghoff). Related issues/PRs: anthropics/claude-agent-sdk-python#516
  • add document block support in tool results (8620e4e by oskar-korczak). Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
  • add tool_use_id and blocked_path to ToolPermissionContext (b939cf2 by Philipp Temminghoff).
  • support clear-thinking-20250115 beta feature (b6f82d4 by fatelei).
  • expose session_id in ClaudeAgentOptions (b2a23fb by Mike). Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Bug Fixes

  • raise API errors as exceptions instead of text messages (#472) (5ea3051 by Dickson Tsai). Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
  • send agent definitions via initialize request matching TypeScript SDK (28a066b by rodrigo olivares).
  • improve set_permission_mode type hints to use PermissionMode (048f28b by harupy). Signed-off-by: harupy 17039389+harupy@users.noreply.github.com
  • forward _meta field in SDK MCP tools/call requests (0f2a895 by Philipp Temminghoff).

Code Refactoring

  • convert dataclasses to Pydantic models with strict validation (59e7d97 by Philipp Temminghoff).

v0.1.20 - 2026-01-16

Compare with v0.1.19

Bug Fixes

  • make permission callback e2e test more robust (#485) (c13f94a by Ashwin Bhat).

v0.1.19 - 2026-01-08

Compare with v0.1.17

Bug Fixes

v0.1.17 - 2025-12-15

Compare with v0.1.16

v0.1.16 - 2025-12-12

Compare with v0.1.15

Bug Fixes

v0.1.15 - 2025-12-11

Compare with v0.1.14

Features

v0.1.14 - 2025-12-09

Compare with v0.1.13

Bug Fixes

  • move fetch-depth to publish job and use claude-opus-4-5 for changelog (#394) (5625286 by Ashwin Bhat). Co-authored-by: Claude noreply@anthropic.com

v0.1.13 - 2025-12-05

Compare with v0.1.12

Bug Fixes

  • propagate CLI errors to pending control requests (#388) (69a310c by Ramazan Rakhmatullin). Related issues/PRs: #387
  • add McpServer runtime placeholder for Pydantic 2.12+ compatibility (#385) (6791efe by 梨梨果). Related issues/PRs: #384 Co-authored-by: lyrica lyrica@example.com
  • add write lock to prevent concurrent transport writes (#391) (2d67166 by Carlos Cuevas).

v0.1.12 - 2025-12-04

Compare with v0.1.11

Features

v0.1.11 - 2025-12-03

Compare with v0.1.10

Features

  • bundle claude code CLI for linux arm64 (#373) (6e1769f by John Ott).

Bug Fixes

v0.1.10 - 2025-11-25

Compare with v0.1.9

v0.1.9 - 2025-11-21

Compare with v0.1.8

Features

Code Refactoring

v0.1.8 - 2025-11-18

Compare with v0.1.7

Features

Bug Fixes

v0.1.7 - 2025-11-18

Compare with v0.1.6

Features

  • add structured output support (#340) (50d6840 by bogini).
  • add support for Claude CLI at ~/.claude/local/claude (#302) (5a4cc2f by Ashwin Bhat). Co-authored-by: Claude noreply@anthropic.com

v0.1.6 - 2025-10-30

Compare with v0.1.5

Features

Bug Fixes

  • uses empty system prompt by default (#290) (841f8c0 by yokomotod). Related issues/PRs: #289

v0.1.5 - 2025-10-24

Compare with v0.1.4

Features

v0.1.4 - 2025-10-23

Compare with v0.1.3

Features

Bug Fixes

v0.1.3 - 2025-10-10

Compare with v0.1.2

Features

Bug Fixes

  • convert Python-safe field names (async_, continue_) to CLI format (#239) (48b62a0 by Ashwin Bhat). Co-authored-by: Claude noreply@anthropic.com

v0.1.2 - 2025-10-09

Compare with v0.1.1

Features

v0.1.1 - 2025-10-06

Compare with v0.1.0

Features

  • ClaudeSDKClient supports custom transport. (#187) (d9dd841 by wenxiang).

v0.1.0 - 2025-09-28

Compare with v0.0.23

Features

Code Refactoring

v0.0.23 - 2025-09-17

Compare with v0.0.22

Features

  • expose parent_tool_use_id to support subagent tracking #138 (#166) (607921d by Dan Siwiec).
  • allow claude code process to run as a custom user (#133) (#134) (fd98d12 by Dan Siwiec).

v0.0.22 - 2025-09-12

Compare with v0.0.21

v0.0.21 - 2025-09-05

Compare with v0.0.20

Features

Bug Fixes

  • Convert camelCase to snake_case for Python naming conventions (#146) (681f46c by Ashwin Bhat). Co-authored-by: Claude noreply@anthropic.com
  • propagate user cwd to subprocess environment (#136) (9a64bc3 by Anudeep Yegireddi). Tests: All existing tests pass

v0.0.20 - 2025-08-14

Compare with v0.0.19

Bug Fixes

v0.0.19 - 2025-07-31

Compare with v0.0.18

v0.0.18 - 2025-07-31

Compare with v0.0.17

v0.0.17 - 2025-07-23

Compare with v0.0.16

v0.0.16 - 2025-07-21

Compare with first commit

Features

  • automate version updates after PyPI release (149142c by Lina Tawfik).

Bug Fixes

  • Pass proper Exception to CLIJSONDecodeError (3ab62b6 by Lina Tawfik). Co-Authored-By: Claude noreply@anthropic.com
  • handle JSON messages split across multiple stream reads (2429541 by Lina Tawfik). Co-Authored-By: Claude noreply@anthropic.com
  • changelog comparison URL in release workflow (1e20f63 by Duc Nguyen).
  • update the tool list in README.md (b65751b by Grant Murphy). Related issues/PRs: #21