Nov 10, 2026 17:11 UTC
pypi
anthropic
anthropic 2.8.0 shipped: 80 interesting new strings (78 sentence, 3 feature_flag, 2 model_id, 2 endpoint)
anthropic 2.7.0 -> 2.8.0: +190 strings, -846 strings, 80 interesting [model_id] (2) + py client = Anthropic(middleware=[BetaRefusalFallbackMiddleware([{"model": "claude-opus-4-8"}])]) state = BetaFallbackState() with state: message = client.beta.messages.create(**params) + python with client.messages.stream( model="claude-haiku-5-5", max_tokens=1024, messages=[{"role": "user", "content": "Hello!"}], ) as stream: for text in stream.text_stream: print(text, end="", flush=True) [feature_flag] (3) + py client = Anthropic(middleware=[BetaRefusalFallbackMiddleware([{"model": "claude-opus-4-8"}])]) state = BetaFallbackState() with state: message = client.beta.messages.create(**params) + py with client.beta.messages.stream(...) as stream: for chunk in stream: ... + py client.beta.environments.work.worker(environment_id=..., environment_key=...) [endpoint] (2) + /v1/projects/{project}/locations/{location} + https://claude.googleapis.com [sentence] (78) + py client = Anthropic(middleware=[BetaRefusalFallbackMiddleware([{"model": "claude-opus-4-8"}])]) state = BetaFallbackState() with state: message = client.beta.messages.create(**params) + python with client.messages.stream( model="claude-haiku-5-5", max_tokens=1024, messages=[{"role": "user", "content": "Hello!"}], ) as stream: for text in stream.text_stream: print(text, end="", flush=True) + py with client.beta.messages.stream(...) as stream: for chunk in stream: ... + py client.beta.environments.work.worker(environment_id=..., environment_key=...) + ) whose option is unset has the client's own, so it reads none of them either. """ class RequestOptions(TypedDict, total=False): headers: Headers max_retries: int timeout: float | Timeout | None params: Query extra_json: AnyMapping idempotency_key: str """Deprecate
caught by the 20-minute sweep · the live wire · all receipts