-
Notifications
You must be signed in to change notification settings - Fork 626
Comparing changes
Open a pull request
base repository: anthropics/anthropic-sdk-python
base: v0.86.0
head repository: anthropics/anthropic-sdk-python
compare: v0.87.0
- 19 commits
- 32 files changed
- 5 contributors
Commits on Mar 31, 2026
-
fix: honor __api_exclude__ in async transform path (#1612)
The sync transform path was updated to pass `exclude=getattr(data, "__api_exclude__", None)` to `model_dump()`, but the async path was missed. This caused `parsed_output` to leak into API requests when using the async client for multi-turn structured output conversations, resulting in a 400 error. Closes #1610
Configuration menu - View commit details
-
Copy full SHA for e459cae - Browse repository at this point
Copy the full SHA e459caeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89db282 - Browse repository at this point
Copy the full SHA 89db282View commit details -
Configuration menu - View commit details
-
Copy full SHA for a363d87 - Browse repository at this point
Copy the full SHA a363d87View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1540ac - Browse repository at this point
Copy the full SHA c1540acView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9e788 - Browse repository at this point
Copy the full SHA ea9e788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dc7de9 - Browse repository at this point
Copy the full SHA 8dc7de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b3f0bb - Browse repository at this point
Copy the full SHA 5b3f0bbView commit details -
add test to make sure runner overloads are in sync (#1414)
* add ability to test overloads are in sync on tool runner * formt * fix * use typing_extensions.get_overloads() for broader python version support Co-Authored-By: Claude Code (${CLAUDE_PROJECT_DIR}) <noreply@anthropic.com> * fix import ordering for ruff Co-Authored-By: Claude Code (${CLAUDE_PROJECT_DIR}) <noreply@anthropic.com> * Update tests/lib/streaming/test_beta_messages.py Co-authored-by: Robert Craigie <robert@craigie.dev> * format * format again --------- Co-authored-by: Claude Code (${CLAUDE_PROJECT_DIR}) <noreply@anthropic.com> Co-authored-by: Robert Craigie <robert@craigie.dev>Configuration menu - View commit details
-
Copy full SHA for ffc78d0 - Browse repository at this point
Copy the full SHA ffc78d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1920e30 - Browse repository at this point
Copy the full SHA 1920e30View commit details -
chore(ci): skip lint on metadata-only changes
Note that we still want to run tests, as these depend on the metadata.
Configuration menu - View commit details
-
Copy full SHA for 0eba0dd - Browse repository at this point
Copy the full SHA 0eba0ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8cf3c - Browse repository at this point
Copy the full SHA 7f8cf3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a06a90 - Browse repository at this point
Copy the full SHA 8a06a90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 764ddba - Browse repository at this point
Copy the full SHA 764ddbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b77b82 - Browse repository at this point
Copy the full SHA 3b77b82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4beda3c - Browse repository at this point
Copy the full SHA 4beda3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cdbc5f - Browse repository at this point
Copy the full SHA 6cdbc5fView commit details -
fix(memory): use restrictive file mode for memory files
* fix(memory): use restrictive file mode for memory files Extract _FILE_CREATE_MODE constant set to 0o600 (owner read/write only), replacing the previous 0o666. In environments with a permissive umask (e.g. Docker where umask is often 0o000), 0o666 would make memory files world-readable or even world-writable. * fix(client): update mkdir calls to use 0o700
Configuration menu - View commit details
-
Copy full SHA for 715030c - Browse repository at this point
Copy the full SHA 715030cView commit details -
fix(memory): return resolved path from async _validate_path
* fix(memory): return resolved path from async _validate_path to close TOCTOU window The async _validate_path was returning the unresolved path while the sync version correctly returned the resolved path, allowing a symlink swap between validation and use. * test(memory): add test for async _validate_path symlink TOCTOU fix Verifies that the async _validate_path returns the resolved real path rather than the unresolved symlink path, closing the TOCTOU window. * fix: remove unused temp_directory parameter from test
Configuration menu - View commit details
-
Copy full SHA for 6599043 - Browse repository at this point
Copy the full SHA 6599043View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab0c446 - Browse repository at this point
Copy the full SHA ab0c446View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.86.0...v0.87.0