---
title: "splunk-sdk 3.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each splunk-sdk release removed, renamed or changed: 16 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/splunk-sdk
last_updated: 2026-12-04
---

# 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

Latest version `3.0.2`, released December 1, 2026. [Source repository](https://github.com/splunk/splunk-sdk-python)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## splunk-sdk 3.0.0 breaking changes

splunk-sdk 3.0.0, released May 12, 2026: 16 breaking changes.

- **Removed** `AgentState.token_count`  

The token_count field was removed from AgentState. Code that reads it will fail. [github.com](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)
- **Removed** `AgentState.total_steps`  

The total_steps field was removed from AgentState. Code that reads it will fail. [github.com](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)
- **Removed** `splunklib.__version__`  

splunklib.\_\_version\_\_ was removed in splunk-sdk 3.0.0 [pypi.org](https://pypi.org/project/splunk-sdk/3.0.0/)
- **Removed** `splunklib.__version_info__`  

splunklib.\_\_version_info\_\_ was removed in splunk-sdk 3.0.0 [pypi.org](https://pypi.org/project/splunk-sdk/3.0.0/)
- **Removed** `splunklib.results.ResultsReader`  

The ResultsReader class was removed in this release. Code that uses it must be changed before upgrading. [pypi.org](https://pypi.org/project/splunk-sdk/3.0.0/)
- **Removed** `splunklib.searchcommands.internals.environment`  

splunklib.searchcommands.internals.environment was removed in splunk-sdk 3.0.0 [pypi.org](https://pypi.org/project/splunk-sdk/3.0.0/)
- **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](https://pypi.org/project/splunk-sdk/3.0.0/)
- **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](https://pypi.org/project/splunk-sdk/3.0.0/)
- **Removed** `splunklib.six`  

splunklib.six was removed in splunk-sdk 3.0.0 [pypi.org](https://pypi.org/project/splunk-sdk/3.0.0/)
- **Renamed** `AgentState.response`  

AgentState.response was renamed to AgentState.messages. Update code that reads response to use messages. [github.com](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)
- **Renamed** `splunklib.ai.hooks`  

The limit middlewares moved from splunklib.ai.hooks to splunklib.ai.limits. Update imports to the new module. [github.com](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)
- **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](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)
- **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](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)
- **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](https://pypi.org/project/splunk-sdk/3.0.0/)
- **Signature changed** `SubagentTextResult`  

The SubagentTextResult constructor now uses keyed parameters. Pass arguments by name. [github.com](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)
- **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](https://github.com/splunk/splunk-sdk-python/releases/tag/3.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
