braintrust breaking changes
Updated December 4, 2026
On this page
Latest version 0.55.0, released December 4, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
braintrust 0.49.3 breaking changes
- Signature changed
braintrust.integrations.mcp.wrap_mcp_client
Was def wrap_mcp_client(client_or_session: ServerT, capture_content: bool = True) -> ServerT; now def wrap_mcp_client(client_or_session: mcp.ClientSession | mcp.Client | fastmcp.Client, capture_content: bool = True) -> mcp.ClientSession |... pypi.org
braintrust 0.49.2 breaking changes
- Removed
braintrust.api.client.SimulatedUsersAPI
braintrust.api.client.SimulatedUsersAPI was removed in braintrust 0.49.2 pypi.org - Removed
braintrust.api.types.CreateSimulatedUser
braintrust.api.types.CreateSimulatedUser was removed in braintrust 0.49.2 pypi.org - Removed
braintrust.api.types.ListSimulatedUsersResponse
braintrust.api.types.ListSimulatedUsersResponse was removed in braintrust 0.49.2 pypi.org - Removed
braintrust.api.types.PatchSimulatedUser
braintrust.api.types.PatchSimulatedUser was removed in braintrust 0.49.2 pypi.org - Removed
braintrust.api.types.SimulatedUser
braintrust.api.types.SimulatedUser was removed in braintrust 0.49.2 pypi.org - Removed
braintrust.BraintrustOpenApiClient.simulated_users
BraintrustOpenApiClient.simulated_users was removed in braintrust 0.49.2 pypi.org - Signature changed
braintrust.api.types.CreateView.view_type
Was view_type: Literal['projects', 'experiments', 'experiment', 'playgrounds', 'playground', 'datasets', 'dataset', 'prompts', 'parameters', 'tools', 'scorers', 'classifiers', 'logs', 'monitor', 'for_review_project_log'... pypi.org - Signature changed
braintrust.api.types.PatchProjectAutomation.config
Was config: NotRequired[Config12 | Config13 | Config14 | Config15 | Config16 | WindowedAutomationConfig | TopicAutomationConfig | TopicDigestAutomationConfig | Any]; now config: NotRequired[Config12 | Config13 | Config14 | Config15 |... pypi.org - Signature changed
braintrust.api.types.PatchView.view_type
Was view_type: NotRequired[Literal['projects', 'experiments', 'experiment', 'playgrounds', 'playground', 'datasets', 'dataset', 'prompts', 'parameters', 'tools', 'scorers', 'classifiers', 'logs', 'monitor', 'for_review_project_log'... pypi.org - Signature changed
braintrust.api.types.View.view_type
Was view_type: Literal['projects', 'experiments', 'experiment', 'playgrounds', 'playground', 'datasets', 'dataset', 'prompts', 'parameters', 'tools', 'scorers', 'classifiers', 'logs', 'monitor', 'for_review_project_log'... pypi.org
And 1 more in this version. Sign up to see every change
braintrust 0.49.1 breaking changes
- Signature changed
braintrust.auto_instrument
Was def auto_instrument(*, openai: bool = True, anthropic: bool = True, litellm: bool = True, ai_sdk: bool = True, pydantic_ai: bool = True, google_genai: bool = True, google_discoveryengine: bool = True, instructor: bool = True... pypi.org
braintrust 0.49.0 breaking changes
- Signature changed
braintrust.auto_instrument
Was def auto_instrument(*, openai: bool = True, anthropic: bool = True, litellm: bool = True, ai_sdk: bool = True, pydantic_ai: bool = True, google_genai: bool = True, google_discoveryengine: bool = True, instructor: bool = True... pypi.org
braintrust 0.48.1 breaking changes
- Signature changed
braintrust.integrations.anthropic.tracing.TracedMessageStreamManager.__aexit__
Was def __aexit__(self, exc_type, exc_value, traceback); now async def __aexit__(self, exc_type, exc_value, traceback). pypi.org - Signature changed
braintrust.View.view_type
Was view_type: Literal['projects', 'experiments', 'experiment', 'playgrounds', 'playground', 'datasets', 'dataset', 'prompts', 'parameters', 'tools', 'scorers', 'classifiers', 'logs', 'monitor', 'for_review_project_log'... pypi.org
braintrust 0.48.0 breaking changes
- Removed
braintrust.api.conftest
braintrust.api.conftest was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_client
braintrust.api.test_client was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_datasets
braintrust.api.test_datasets was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_experiments
braintrust.api.test_experiments was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_functions
braintrust.api.test_functions was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_generated_models
braintrust.api.test_generated_models was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_projects
braintrust.api.test_projects was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_prompts
braintrust.api.test_prompts was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.api.test_transport
braintrust.api.test_transport was removed in braintrust 0.48.0 pypi.org - Removed
braintrust.btx.conftest
braintrust.btx.conftest was removed in braintrust 0.48.0 pypi.org
And 102 more in this version. Sign up to see every change
Older versions
25 older versions, each with its first changes. Sign up to see every change
Show 25 older versions
braintrust 0.47.0 breaking changes
- Signature changed
braintrust.api.types.PatchProjectAutomation.config
Was config: NotRequired[Config8 | Config9 | Config10 | Config11 | Config12 | WindowedAutomationConfig | TopicAutomationConfig | TopicDigestAutomationConfig | Any]; now config: NotRequired[Config12 | Config13 | Config14 | Config15 |... pypi.org - Signature changed
braintrust.api.types.ProjectAutomation.config
Was config: Config13 | Config14 | Config15 | Config16 | Config17 | WindowedAutomationConfig | TopicAutomationConfig | TopicDigestAutomationConfig; now config: Config17 | Config18 | Config19 | Config20 | Config21 | WindowedAutomationConfig... pypi.org
braintrust 0.46.1 breaking changes
- Removed
braintrust.integrations.adk.tracing.bt_safe_deep_copy
braintrust.integrations.adk.tracing.bt_safe_deep_copy was removed in braintrust 0.46.1 pypi.org - Removed
braintrust.integrations.anthropic.test_anthropic.test_anthropic_messages_create_stream_true
braintrust.integrations.anthropic.test_anthropic.test_anthropic_messages_create_stream_true was removed in braintrust 0.46.1 pypi.org
And 33 more in this version.
braintrust 0.46.0 breaking changes
- Removed
braintrust.asyncio
braintrust.asyncio was removed in braintrust 0.46.0 pypi.org - Removed
braintrust.cpu_count
braintrust.cpu_count was removed in braintrust 0.46.0 pypi.org
And 184 more in this version.
braintrust 0.45.0 breaking changes
- Removed
braintrust.integrations.claude_agent_sdk.test_claude_agent_sdk.FakeCancelledClaudeSDKClient
braintrust.integrations.claude_agent_sdk.test_claude_agent_sdk.FakeCancelledClaudeSDKClient was removed in braintrust 0.45.0 pypi.org - Removed
braintrust.integrations.claude_agent_sdk.test_claude_agent_sdk.test_genuine_task_cancel_propagates_after_receive_response
braintrust.integrations.claude_agent_sdk.test_claude_agent_sdk.test_genuine_task_cancel_propagates_after_receive_response was removed in braintrust 0.45.0 pypi.org
And 8 more in this version.
braintrust 0.44.1 breaking changes
- Signature changed
braintrust.EnvVar.secret_category
Was secret_category: NotRequired[Literal['env_var', 'ai_provider', 'sandbox_provider'] | None]; now secret_category: NotRequired[Literal['env_var', 'ai_provider', 'sandbox_provider', 'automation_integration']]. pypi.org - Signature changed
braintrust.Experiment.start_span
Was def start_span(self, name: str | None = None, type: SpanTypeAttribute | None = None, span_attributes: SpanAttributes | Mapping[str, Any] | None = None, start_time: float | None = None, set_current: bool | None = None, parent: str |... pypi.org
And 8 more in this version.
braintrust 0.44.0 breaking changes
- Removed
braintrust.integrations.pipecat.test_pipecat.PipecatIntegration
braintrust.integrations.pipecat.test_pipecat.PipecatIntegration was removed in braintrust 0.44.0 pypi.org - Removed
braintrust.OnlineScoreConfig.run_once
OnlineScoreConfig.run_once was removed in braintrust 0.44.0 pypi.org
And 101 more in this version.
braintrust 0.43.0 breaking changes
- Removed
braintrust.integrations.adk.test_adk.CapitalOutput
braintrust.integrations.adk.test_adk.CapitalOutput was removed in braintrust 0.43.0 pypi.org - Removed
braintrust.integrations.adk.test_adk.test_adk_structured_output_pydantic
braintrust.integrations.adk.test_adk.test_adk_structured_output_pydantic was removed in braintrust 0.43.0 pypi.org
And 105 more in this version.
braintrust 0.41.0 breaking changes
- Signature changed
braintrust.auto_instrument
Was def auto_instrument(*, openai: bool = True, anthropic: bool = True, litellm: bool = True, ai_sdk: bool = True, pydantic_ai: bool = True, google_genai: bool = True, instructor: bool = True, openrouter: bool = True, mistral: bool = True... pypi.org
braintrust 0.40.0 breaking changes
- Removed
braintrust.BraintrustState.loader_conn
BraintrustState.loader_conn was removed in braintrust 0.40.0 pypi.org - Removed
braintrust.integrations.adk.integration.ToolCallAsyncPatcher.resolve_root
ToolCallAsyncPatcher.resolve_root was removed in braintrust 0.40.0 pypi.org
And 11 more in this version.
braintrust 0.39.0 breaking changes
- Removed
braintrust.test_trace.TestCachedSpanFetcher.test_empty_results_with_type_filter
TestCachedSpanFetcher.test_empty_results_with_type_filter was removed in braintrust 0.39.0 pypi.org - Removed
braintrust.test_trace.TestCachedSpanFetcher.test_empty_then_populated_refetches
TestCachedSpanFetcher.test_empty_then_populated_refetches was removed in braintrust 0.39.0 pypi.org
And 16 more in this version.
braintrust 0.38.0 breaking changes
- Removed
braintrust.integrations.adk.integration.AgentRunPatcher
braintrust.integrations.adk.integration.AgentRunPatcher was removed in braintrust 0.38.0 pypi.org - Removed
braintrust.integrations.adk.patchers.AgentRunPatcher
braintrust.integrations.adk.patchers.AgentRunPatcher was removed in braintrust 0.38.0 pypi.org
And 29 more in this version.
braintrust 0.36.0 breaking changes
- Removed
braintrust.api.test_transport.test_transport_closes_owned_session
braintrust.api.test_transport.test_transport_closes_owned_session was removed in braintrust 0.36.0 pypi.org - Removed
braintrust.integrations.agno.tracing.clean
braintrust.integrations.agno.tracing.clean was removed in braintrust 0.36.0 pypi.org
And 17 more in this version.
braintrust 0.35.0 breaking changes
- Removed
braintrust.api.attachments
braintrust.api.attachments was removed in braintrust 0.35.0 pypi.org - Removed
braintrust.api.AttachmentsAPI
braintrust.api.AttachmentsAPI was removed in braintrust 0.35.0 pypi.org
And 49 more in this version.
braintrust 0.34.0 breaking changes
- Signature changed
braintrust.api.test_transport.Transport.__init__
Was def __init__(self, *, session: requests.Session | None = None, adapter: HTTPAdapter | None = None, enable_sdk_retries: bool | None = None, sleep: Callable[[float], None] = time.sleep, monotonic: Callable[[], float] = time.monotonic... pypi.org - Signature changed
braintrust.auto_instrument
Was def auto_instrument(*, openai: bool = True, anthropic: bool = True, litellm: bool = True, ai_sdk: bool = True, pydantic_ai: bool = True, google_genai: bool = True, instructor: bool = True, openrouter: bool = True, mistral: bool = True... pypi.org
And 13 more in this version.
braintrust 0.33.0 breaking changes
- Signature changed
braintrust.auto_instrument
Was def auto_instrument(*, openai: bool = True, anthropic: bool = True, litellm: bool = True, pydantic_ai: bool = True, google_genai: bool = True, instructor: bool = True, openrouter: bool = True, mistral: bool = True, huggingface_hub... pypi.org - Signature changed
braintrust.integrations.test_utils.autoinstrument_test_context
Was def autoinstrument_test_context(cassette_name: str, *, integration: str | None = None, use_vcr: bool = True, cassettes_dir: Path | None = None); now def autoinstrument_test_context(cassette_name: str, *, integration: str | None = None... pypi.org
braintrust 0.32.0 breaking changes
- Removed
braintrust.api.__all__
braintrust.api.__all__ was removed in braintrust 0.32.0 pypi.org - Signature changed
braintrust.auto_instrument
Was def auto_instrument(*, openai: bool = True, anthropic: bool = True, litellm: bool = True, pydantic_ai: bool = True, google_genai: bool = True, instructor: bool = True, openrouter: bool = True, mistral: bool = True, huggingface_hub... pypi.org
And 3 more in this version.
braintrust 0.31.1 breaking changes
- Removed
braintrust.requests
braintrust.requests was removed in braintrust 0.31.1 pypi.org - Removed
braintrust.Retry
braintrust.Retry was removed in braintrust 0.31.1 pypi.org
And 2 more in this version.
braintrust 0.31.0 breaking changes
- Removed
braintrust.integrations.pydantic_ai.test_pydantic_ai_integration.test_v2_message_and_response_fields_are_shaped
braintrust.integrations.pydantic_ai.test_pydantic_ai_integration.test_v2_message_and_response_fields_are_shaped was removed in braintrust 0.31.0 pypi.org - Signature changed
braintrust.Dataset.__init__
Was def __init__(self, lazy_metadata: LazyValue[ProjectDatasetMetadata], version: None | int | str = None, legacy: bool = DEFAULT_IS_LEGACY_DATASET, _internal_btql: dict[str, Any] | None = None, state: BraintrustState | None = None); now... pypi.org
And 2 more in this version.
braintrust 0.30.1 breaking changes
- Removed
braintrust.integrations.openrouter.tracing.bt_safe_deep_copy
braintrust.integrations.openrouter.tracing.bt_safe_deep_copy was removed in braintrust 0.30.1 pypi.org - Removed
braintrust.integrations.openrouter.tracing.sanitize_openrouter_logged_value
braintrust.integrations.openrouter.tracing.sanitize_openrouter_logged_value was removed in braintrust 0.30.1 pypi.org
braintrust 0.30.0 breaking changes
- Removed
braintrust.integrations.google_genai.tracing.bt_safe_deep_copy
braintrust.integrations.google_genai.tracing.bt_safe_deep_copy was removed in braintrust 0.30.0 pypi.org - Removed
braintrust.integrations.langchain.callbacks.BraintrustCallbackHandler.exclude_metadata_props
BraintrustCallbackHandler.exclude_metadata_props was removed in braintrust 0.30.0 pypi.org
And 6 more in this version.
braintrust 0.29.0 breaking changes
- Removed
braintrust.integrations.adk.test_adk_mcp_tool
braintrust.integrations.adk.test_adk_mcp_tool was removed in braintrust 0.29.0 pypi.org - Removed
braintrust.integrations.adk.test_adk.bt_safe_deep_copy
braintrust.integrations.adk.test_adk.bt_safe_deep_copy was removed in braintrust 0.29.0 pypi.org
And 59 more in this version.
braintrust 0.28.0 breaking changes
- Signature changed
braintrust.init_logger
Was def init_logger(project: str | None = None, project_id: str | None = None, async_flush: bool = True, app_url: str | None = None, api_key: str | None = None, org_name: str | None = None, force_login: bool = False, set_current: bool =... pypi.org - Signature changed
braintrust.otel.add_braintrust_span_processor
Was def add_braintrust_span_processor(tracer_provider, api_key: str | None = None, parent: str | None = None, api_url: str | None = None, filter_ai_spans: bool = False, custom_filter=None, headers: dict[str, str] | None = None); now def... pypi.org
And 1 more in this version.
braintrust 0.27.0 breaking changes
- Signature changed
braintrust.ObjectFetcher.__init__
Was def __init__(self, object_type: str, pinned_version: None | int | str = None, mutate_record: Callable[[TMapping], TMapping] | None = None, _internal_btql: dict[str, Any] | None = None); now def __init__(self, object_type: str... pypi.org - Signature changed
braintrust.test_trace.CachedSpanFetcher.__init__
Was def __init__(self, object_type: str | None = None, object_id: str | None = None, root_span_id: str | None = None, get_state: Callable[[], Awaitable[BraintrustState]] | None = None, fetch_fn: SpanFetchFn | None = None); now def... pypi.org
And 1 more in this version.
braintrust 0.26.0 breaking changes
- Removed
braintrust.test_logger.test_experiment_export_respects_otel_compat_default
braintrust.test_logger.test_experiment_export_respects_otel_compat_default was removed in braintrust 0.26.0 pypi.org - Removed
braintrust.test_logger.test_get_exporter_returns_v3_by_default
braintrust.test_logger.test_get_exporter_returns_v3_by_default was removed in braintrust 0.26.0 pypi.org
And 12 more in this version.
braintrust 0.25.0 breaking changes
- Signature changed
braintrust.auto_instrument
Was def auto_instrument(*, openai: bool = True, anthropic: bool = True, litellm: bool = True, pydantic_ai: bool = True, google_genai: bool = True, instructor: bool = True, openrouter: bool = True, mistral: bool = True, huggingface_hub... pypi.org
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.