← All breaking-change reports

Anthropic breaking change: v0.115.1

anthropic · breaking · 2026-07-01 · upstream source

What changed

removed beta webhook event data types (environment/memory_store families)

From the upstream announcement:

0.115.1 (2026-07-01) Full Changelog: v0.115.0...v0.115.1 Chores api: remove some nonfunctional types from the SDKs ( 5e7c431 )

Who is affected

Delete imports of the removed Beta webhook event data classes (BetaWebhookEnvironmentEventData, BetaWebhookEnvironmentDeletedEventType, BetaWebhookMemoryStoreEventData) and any type annotations or isinstance checks referencing them.

To find out whether your repo is hit — file and line number, no code leaving your machine:

npx mendapi scan --repo .

How to fix it

Migration path:

Delete imports of the removed Beta webhook event data classes (BetaWebhookEnvironmentEventData, BetaWebhookEnvironmentDeletedEventType, BetaWebhookMemoryStoreEventData) and any type annotations or isinstance checks referencing them. Because the upstream API never emitted these event payloads (they were nonfunctional type stubs), no runtime behavior depends on them: removing the annotation usage is a mechanically safe cleanup. Where an annotation is structurally required, replace with the surviving BetaWebhookEventData union or object. Confidence is medium because isinstance branches keyed on these classes need per-site review to confirm the branch body is dead.

Before:

from anthropic.types.beta import BetaWebhookEnvironmentCreatedEventData

def on_event(data: BetaWebhookEnvironmentCreatedEventData) -> None: ...

After:

from anthropic.types.beta import BetaWebhookEventData

def on_event(data: BetaWebhookEventData) -> None: ...

With your own LLM key configured (BYO compute — mendapi never proxies your credentials), npx mendapi llmfix turns this guide into a reviewable draft patch for your repo.

Detected and tracked by mendapi — Dependabot for every API you depend on. Scans run locally; your code never leaves your machine.

Related

Pre-release. Change data is recorded from upstream provider releases, changelogs and OpenAPI spec diffs; every article links its source.