splunk-sdk breaking changes
splunk-sdk 3.0.0 (May 12, 2026) is its newest release with breaking changes, 16 of them. The first: Removed AgentState.token_count. Every breaking API change we have recorded in splunk-sdk on PyPI: 16 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.0.2, released December 1, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
splunk-sdk 3.0.0 breaking changes
- Removed
AgentState.token_count
The token_count field was removed from AgentState. Code that reads it will fail. github.com - Removed
AgentState.total_steps
The total_steps field was removed from AgentState. Code that reads it will fail. github.com - Removed
splunklib.__version__
splunklib.__version__ was removed in splunk-sdk 3.0.0 pypi.org - Removed
splunklib.__version_info__
splunklib.__version_info__ was removed in splunk-sdk 3.0.0 pypi.org - Removed
splunklib.results.ResultsReader
The ResultsReader class was removed in this release. Code that uses it must be changed before upgrading. pypi.org - Removed
splunklib.searchcommands.internals.environment
splunklib.searchcommands.internals.environment was removed in splunk-sdk 3.0.0 pypi.org - Removed
splunklib.searchcommands.reporting_command.json_encode_string
splunklib.searchcommands.reporting_command.json_encode_string was removed in splunk-sdk 3.0.0 pypi.org - Removed
splunklib.searchcommands.search_command.json_encode_string
splunklib.searchcommands.search_command.json_encode_string was removed in splunk-sdk 3.0.0 pypi.org - Removed
splunklib.six
splunklib.six was removed in splunk-sdk 3.0.0 pypi.org - Renamed
AgentState.response
AgentState.response was renamed to AgentState.messages. Update code that reads response to use messages. github.com - Renamed
splunklib.ai.hooks
The limit middlewares moved from splunklib.ai.hooks to splunklib.ai.limits. Update imports to the new module. github.com - Behavior changed
null
Limits are configured as settings rather than being added implicitly as middlewares. Code relying on the implicit middlewares must be updated. github.com - Signature changed
null
All dataclasses are now keyword-only (kw_only=True). Positional construction will fail and must be changed to keyword arguments. github.com - Signature changed
splunklib.searchcommands.external_search_command.logger
Was from splunklib.searchcommands import splunklib_logger as logger; now from splunklib.searchcommands.environment import splunklib_logger as logger. pypi.org - Signature changed
SubagentTextResult
The SubagentTextResult constructor now uses keyed parameters. Pass arguments by name. github.com - Signature changed
ToolResult.content
ToolResult.content now holds a str instead of its previous type, so code reading or building it must be updated. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.