v2.20.0
2.20.0 (2025-09-25)
Full Changelog: v2.19.2...v2.20.0
Features
- api: add auto_run_tools, metadata, and recall_tools to session (4bcb8b9)
- api: api update (fb19b14)
- api: api update (768c941)
- client: support file upload requests (cf64f9c)
- improve future compat with pydantic v3 (3a1ceb7)
- types: replace List[str] with SequenceNotStr in params (85c0d00)
Bug Fixes
- avoid newer type syntax (ab2b07f)
- compat: compat with
pydantic<2.8.0when using additional fields (754734b) - tests: update schema types from 'type' to 'string' and 'object' in multiple test files (f4b6f79)
Chores
- do not install brew dependencies in ./scripts/bootstrap by default (9611b52)
- internal: add Sequence related utils (ae91df8)
- internal: change ci workflow machines (7d299f1)
- internal: fix ruff target version (c830640)
- internal: move mypy configurations to
pyproject.tomlfile (777fa24) - internal: update comment in script (1c530b2)
- internal: update pydantic dependency (c0d79b5)
- internal: update pyright exclude list (ac85eb4)
- tests: simplify
get_platformtest (d3ce5e9) - types: change optional parameter type from NotGiven to Omit (04c2aa0)
- update @stainless-api/prism-cli to v5.15.0 (e6ad37f)
- update github action (6de72a2)