## anthropics/anthropic-sdk-python — v0.121.0…v0.122.0

_28 commits._

### Features
- **feat(api): add output_behavior to dream creation (create a new memory store or update the input store in place)** (1571ddd)

### Fixes
- **fix(client): keep token exchange bound per client across copy() (#388)** (fd3eaa6)
- **fix(streaming): keep omitted content block fields unset in accumulated messages (#346)** (57bc2ce)
- **fix(client): read PathLike contents passed inside a file tuple** (934d429)
- **fix(streaming): apply all message_delta fields when accumulating streamed messages (#380)** (d2e7c4e)
- **fix(streaming): run the request transform once in messages.stream() (#347)** (12c744c)
- **fix(bedrock,aws): run SigV4 signing off the event loop in async clients (#334)** (16a3e91)
- **fix(streaming): add context to malformed tool input JSON errors in the non-beta accumulator (#339)** (8f8bfd7)
- **fix(streaming): silence pydantic serializer warnings on message_stop events (#338)** (fd3c6bd)
- **fix(streaming): emit input_json events for server tool use blocks (#336)** (4e698e5)
- **fix(client): treat empty ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN as unset (#341)** (74ab4b8)
- **fix(bedrock): expose beta.messages.parse, stream and tool_runner (#366)** (08ef824)
- **fix(vertex): expose beta.messages.parse and tool_runner (#367)** (264f82f)
- **fix(client): add models** (fcb54cf)
- **fix(tools): reject symlink loops in tool paths and skip special skill-archive members (#322)** (c7c5d66)

### Backend
- **release: 0.122.0** (ad53cac)
- **codegen metadata** (f1c1701)

### Docs
- **docs(api): clarify that user profile name is optional for resold profiles** (de9fe77)
- **docs: fix fulfillment typos in session runner (#1795)** (009b035)
- **docs: fix incorrect docstring in AsyncAnthropicFoundry.models (#1592)** (f1f5e9b)

### Chore
- **chore(tests): use pytest monkeypatch instead of unittest.mock** (c71b2f5)
- **chore(internal): drop remaining references to black** (932488d)
- **refactor: use the not_given singleton instead of the legacy NOT_GIVEN alias** (db4581d)
- **chore(tests): use pytest monkeypatch and fakes instead of unittest.mock** (36cbc3a)
- **chore(ci): run breaking-change detection as a ci.yml job on every push** (05cdf07)
- **chore(internal): codegen related update** (c18fcbf)
- **chore(internal): remove misc things** (29ea614)
- **chore(examples): update messages_stream.py shebang from rye to uv (#1519)** (98b0729)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/anthropics/anthropic-sdk-python?utm_source=github-action)._