---
title: "monocle-test-tools 0.8.16 Breaking Changes on PyPI"
description: "What each monocle-test-tools release removed, renamed or changed: 70 breaking changes in 8 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/monocle-test-tools
last_updated: 2026-12-04
---

# monocle-test-tools breaking changes

monocle-test-tools 0.8.16 (October 30, 2026) is its newest release with breaking changes, 4 of them. The first: Span obfuscation falls back to built-in credentials obfuscator when configured ones fail to load in monocle-test-tools 0.8.16. Every breaking API change we have recorded in monocle-test-tools on PyPI: 70 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.8.16`, released October 30, 2026. [Source repository](https://github.com/monocle2ai/monocle)

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

- From [0.8.9](#v-0-8-9) to [0.8.16](#v-0-8-16): 67 breaking changes in 7 versions.

## monocle-test-tools 0.8.16 breaking changes

monocle-test-tools 0.8.16, released October 30, 2026: 4 breaking changes.

- **Behavior changed**  

If none of the configured span obfuscators can be loaded, the built-in credentials obfuscator is used instead of exporting unscrubbed payloads. Only an explicit opt-out now turns scrubbing off. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.16)
- **Behavior changed**  

Inline base64 images, audio and PDFs are exported as a short type and size marker instead of the full encoded content. Code reading the raw payload must expect this; use patterns=list(CREDENTIAL_PATTERNS) to turn it off. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.16)
- **Behavior changed**  

Retrieval spans keep all retrieved text, truncated only past MONOCLE_RETRIEVAL_OUTPUT_MAX_CHARS (default 65536), so they are larger. Lower the cap to trim them. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.16)
- **Signature changed** `monocle_test_tools.MonocleValidator.run_agent_async`  

Was async def run_agent_async(self, agent, agent_type: str, \*args, session_id: str = None, turn_id: str = None, mock_tools: list\[MockTool\] = \[\], \*\*kwargs); now async def run_agent_async(self, agent, agent_type: str, \*args, session_id: str... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.16/)

## monocle-test-tools 0.8.15 breaking changes

monocle-test-tools 0.8.15, released September 11, 2026: 32 breaking changes.

- **Behavior changed**  

Test discovery now walks all pages, so a window that previously showed only the first page can yield more test cases. Users with large windows may see more tests or longer collection time. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.15)
- **Behavior changed** `setup_test_cases`  

setup_test_cases now raises instead of returning every fact when a window holds more than max_facts facts (default 1000). Users with larger windows must raise the limit or narrow the window. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.15)
- **Default changed**  

The wait for agent spans to reach the backend is now set by MONOCLE_REMOTE_TRACE_ID_TIMEOUT and defaults to 60 seconds, replacing the hard-coded 10 seconds. Tests may run longer while waiting. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.15)
- **Signature changed** `monocle_test_tools.file_span_loader.JSONSpanLoader.from_json`  

Was @staticmethod def from_json(json_file_path: str) -> List\[ReadableSpan\]; now @staticmethod def from_json(json_file_path: str, start_time: Optional\[str\] = None, end_time: Optional\[str\] = None) -> List\[ReadableSpan\]. [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.15/)
- **Signature changed** `monocle_test_tools.fluent_api.OkahuSpanLoader.get_spans`  

Was @staticmethod def get_spans(workflow_name: str, trace_id: str, filter_fact: Optional\[str\] = None, filter_fact_id: Optional\[str\] = None, endpoint: Optional\[str\] = None, api_key: Optional\[str\] = None, timeout: int = 30) ->... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.15/)
- **Signature changed** `monocle_test_tools.fluent_api.OkahuSpanLoader.get_trace_ids`  

Was @staticmethod def get_trace_ids(workflow_name: str, fact_name: str, fact_id: str, endpoint: Optional\[str\] = None, api_key: Optional\[str\] = None, timeout: int = 30) -> List\[str\]; now @staticmethod def get_trace_ids(workflow_name: str... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.15/)
- **Signature changed** `monocle_test_tools.fluent_api.OkahuSpanLoader.load_by_scope`  

Was @staticmethod def load_by_scope(workflow_name: str, scope_name: str, scope_id: str, endpoint: Optional\[str\] = None, api_key: Optional\[str\] = None, timeout: int = 60) -> List\[ReadableSpan\]; now @staticmethod def... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.15/)
- **Signature changed** `monocle_test_tools.fluent_api.OkahuSpanLoader.load_by_session`  

Was @staticmethod def load_by_session(workflow_name: str, session_id: str, endpoint: Optional\[str\] = None, api_key: Optional\[str\] = None, timeout: int = 60) -> List\[ReadableSpan\]; now @staticmethod def load_by_session(workflow_name: str... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.15/)
- **Signature changed** `monocle_test_tools.MonocleValidator.import_traces`  

Was def import_traces(self, trace_source: str, id: Optional\[str\] = None, trace_path: Optional\[str\] = None, fact_name: Optional\[str\] = 'trace', scope_name: Optional\[str\] = None, workflow_name: Optional\[str\] = None) -> None; now def... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.15/)
- **Signature changed** `monocle_test_tools.TraceAssertion.__init__`  

Was def \_\_init\_\_(self, filtered_spans: Optional\[list\[Span\]\] = None, fluent_chain: list\[str\] = \[\], is_assertion_failed: bool = False, \_eval: Optional\[Union\[str, BaseEval\]\] = None, okahu_filter: Optional\[dict\] = None) -> None; now def... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.15/)

And 22 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## monocle-test-tools 0.8.14 breaking changes

monocle-test-tools 0.8.14, released August 27, 2026: 1 breaking change.

- **Behavior changed**  

Credentials in span input and output payloads are scrubbed before any exporter receives them. To keep the previous behavior, set MONOCLE_DISABLE_SPAN_OBFUSCATION=true, MONOCLE_SPAN_OBFUSCATORS=none, or span_obfuscators=\[\]. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.14)

## monocle-test-tools 0.8.13 breaking changes

monocle-test-tools 0.8.13, released August 20, 2026: 9 breaking changes.

- **Behavior changed**  

Deployments using trace return must set MONOCLE_TRACE_RETRIEVAL_DEFAULT_KEY, and tests must set MONOCLE_TRACE_RETRIEVAL_KEY to match, or no spans come back. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.13)
- **Behavior changed**  

Health check routes are now recognized by path and sampled to one span per reset counter; requests with params or a body still export. Routes can be replaced with MONOCLE_HEALTH_CHECK_ROUTES. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.13)
- **Behavior changed**  

Failing health checks on these instrumentations are now always exported, since their metamodels report status_code rather than error_code. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.13)
- **Signature changed** `monocle_test_tools.TestGenerator.__init__`  

Was def \_\_init\_\_(self, spans: List\[ReadableSpan\], trace_file: str = None, trace_source: Optional\[str\] = None, trace_id: Optional\[str\] = None, workflow_name: Optional\[str\] = None, session_id: Optional\[str\] = None, scope_name: Optional\[str\]... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.13/)
- **Signature changed** `monocle_test_tools.TestGenerator.from_json_file`  

Was @classmethod def from_json_file(cls, filepath: str, trace_source: Optional\[str\] = None, injected_evals: Optional\[List\[Dict\]\] = None, eval_source: Optional\[str\] = 'okahu'); now @classmethod def from_json_file(cls, filepath: str... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.13/)
- **Signature changed** `monocle_test_tools.TestGenerator.from_okahu`  

Was @classmethod def from_okahu(cls, trace_id: str, workflow_name: str, trace_source: Optional\[str\] = None, injected_evals: Optional\[List\[Dict\]\] = None, eval_source: Optional\[str\] = 'okahu'); now @classmethod def from_okahu(cls, trace_id... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.13/)
- **Signature changed** `monocle_test_tools.TestGenerator.from_okahu_scope`  

Was @classmethod def from_okahu_scope(cls, scope_name: str, scope_id: str, workflow_name: str, trace_source: Optional\[str\] = None, injected_evals: Optional\[List\[Dict\]\] = None, eval_source: Optional\[str\] = 'okahu'); now @classmethod def... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.13/)
- **Signature changed** `monocle_test_tools.TestGenerator.from_okahu_session`  

Was @classmethod def from_okahu_session(cls, session_id: str, workflow_name: str, trace_source: Optional\[str\] = None, injected_evals: Optional\[List\[Dict\]\] = None, eval_source: Optional\[str\] = 'okahu'); now @classmethod def... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.13/)
- **Signature changed** `monocle_test_tools.TraceAssertion.check_eval`  

Was def check_eval(self, eval_name: Optional\[str\] = None, expected: Optional\[Union\[str, list\[str\]\]\] = None, not_expected: Optional\[Union\[str, list\[str\]\]\] = None, fact_name: Optional\[str\] = 'traces', message: Optional\[str\] = None... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.13/)

## monocle-test-tools 0.8.12 breaking changes

monocle-test-tools 0.8.12, released August 17, 2026: 8 breaking changes.

- **Removed** `claim_verdicts`  

The judge's output is now carried verbatim in judge_output. Read row\["judge_output"\]\["claim_verdicts"\] instead of row\["claim_verdicts"\]. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.12)
- **Removed** `entity_match_check`  

The field is no longer a top-level row key. Read it from the judge_output field of the row instead. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.12)
- **Removed** `hallucination_types`  

The field is no longer a top-level row key. Read it from the judge_output field of the row instead. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.12)
- **Renamed** `MONOCLE_S3_KEY_PREFIX`  

The old name still works but emits a deprecation warning. Switch to MONOCLE_S3_FILE_PREFIX. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.12)
- **Behavior changed** `check_eval`  

check_eval now collects every failing fact with a per-fact breakdown rather than raising at the first failure. Code that expects an exception on the first failure must change. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.12)
- **Behavior changed** `run_agent_async`  

Turns without a turn_id are now numbered per session, and the resolved turn id is saved back onto the turn. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.12)
- **Signature changed** `monocle_test_tools.MonocleValidator.run_agent_async`  

Was async def run_agent_async(self, agent, agent_type: str, \*args, session_id: str = None, mock_tools: list\[MockTool\] = \[\], \*\*kwargs); now async def run_agent_async(self, agent, agent_type: str, \*args, session_id: str = None, turn_id: str... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.12/)
- **Signature changed** `monocle_test_tools.TraceAssertion.run_agent_async`  

Was async def run_agent_async(self, agent, agent_type: str, \*args, session_id: str = None, \*\*kwargs) -> any; now async def run_agent_async(self, agent, agent_type: str, \*args, session_id: str = None, turn_id: str = None, \*\*kwargs) -> any. [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.12/)

## monocle-test-tools 0.8.11 breaking changes

monocle-test-tools 0.8.11, released August 3, 2026: 8 breaking changes.

- **Behavior changed**  

Cloud exporters no longer fall back to a default bucket or container name. Users must pass the bucket or container name explicitly. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.11)
- **Signature changed** `monocle_test_tools.runner.http_runner.HttpRunner`  

Was class HttpRunner(AgentRunner); now class HttpRunner(\_BaseHttpRunner). [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.11/)
- **Signature changed** `monocle_test_tools.runner.http_runner.HttpRunner.get_remote_traces_source`  

Was def get_remote_traces_source(self) -> str; now def get_remote_traces_source(self). [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.11/)
- **Signature changed** `monocle_test_tools.runner.http_runner.HttpRunner.run_agent`  

Was def run_agent(self, root_agent: str, \*args, \*\*kwargs) -> str; now def run_agent(self, root_agent: str, \*args, \*\*kwargs) -> Any. [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.11/)
- **Signature changed** `monocle_test_tools.runner.http_runner.HttpRunner.run_agent_async`  

Was async def run_agent_async(self, root_agent: str, \*args, \*\*kwargs) -> str; now async def run_agent_async(self, root_agent: str, \*args, \*\*kwargs) -> Any. [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.11/)
- **Signature changed** `monocle_test_tools.TestGenerator.__init__`  

Was def \_\_init\_\_(self, spans: List\[ReadableSpan\], trace_file: str = None, trace_source: Optional\[str\] = None, trace_id: Optional\[str\] = None, workflow_name: Optional\[str\] = None); now def \_\_init\_\_(self, spans: List\[ReadableSpan\]... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.11/)
- **Signature changed** `monocle_test_tools.TestGenerator.from_json_file`  

Was @classmethod def from_json_file(cls, filepath: str, trace_source: Optional\[str\] = None); now @classmethod def from_json_file(cls, filepath: str, trace_source: Optional\[str\] = None, injected_evals: Optional\[List\[Dict\]\] = None... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.11/)
- **Signature changed** `monocle_test_tools.TestGenerator.from_okahu`  

Was @classmethod def from_okahu(cls, trace_id: str, workflow_name: str, trace_source: Optional\[str\] = None); now @classmethod def from_okahu(cls, trace_id: str, workflow_name: str, trace_source: Optional\[str\] = None, injected_evals... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.11/)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### monocle-test-tools 0.8.10 breaking changes

monocle-test-tools 0.8.10, released July 25, 2026: 5 breaking changes.

- **Behavior changed**  

The scope_name for invoke, ainvoke, stream and astream spans changed from agent.invocation to agentic.invocation. Code that matches spans by the old scope name must be updated. [github.com](https://github.com/monocle2ai/monocle/releases/tag/v0.8.10)
- **Signature changed** `monocle_test_tools.TraceAssertion.__init__`  

Was def \_\_init\_\_(self, filtered_spans: Optional\[list\[Span\]\] = None, fluent_chain: list\[str\] = \[\], is_assertion_failed: bool = False, \_eval: Optional\[Union\[str, BaseEval\]\] = None) -> None; now def \_\_init\_\_(self, filtered_spans... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.10/)

And 3 more in this version.

### monocle-test-tools 0.8.9 breaking changes

monocle-test-tools 0.8.9, released July 13, 2026: 3 breaking changes.

- **Signature changed** `monocle_test_tools.TestGenerator.__init__`  

Was def \_\_init\_\_(self, spans: List\[ReadableSpan\], trace_file: str = None); now def \_\_init\_\_(self, spans: List\[ReadableSpan\], trace_file: str = None, trace_source: Optional\[str\] = None, trace_id: Optional\[str\] = None, workflow_name... [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.9/)
- **Signature changed** `monocle_test_tools.TestGenerator.from_json_file`  

Was @classmethod def from_json_file(cls, filepath: str); now @classmethod def from_json_file(cls, filepath: str, trace_source: Optional\[str\] = None). [pypi.org](https://pypi.org/project/monocle-test-tools/0.8.9/)

And 1 more in this version.

## Related packages

- [monocle-apptrace](https://since.dev/packages/pypi/monocle-apptrace.md)

## 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.
