Releases: writer/writer-python
Releases · writer/writer-python
v2.3.0-rc1
2.3.0-rc1 (2025-08-12)
Full Changelog: v2.2.1...v2.3.0-rc1
Features
Bug Fixes
- Add web_search_data to streaming tests. (73f3db7)
- parsing: ignore empty metadata (8874173)
- parsing: parse extra field types (d1f5948)
Chores
- internal: fix ruff target version (851522b)
- internal: update comment in script (279d7df)
- project: add settings file for vscode (1c5e20c)
- update @stainless-api/prism-cli to v5.15.0 (cdbd4b3)
Documentation
v2.2.1
2.2.1 (2025-07-16)
Full Changelog: v2.2.0...v2.2.1
Features
- clean up environment call outs (fc436af)
- client: add follow_redirects request option (1bf8218)
- client: add support for aiohttp (843d69d)
Bug Fixes
- allow utf-8 encoded filename in headers (27ebc83)
- ci: correct conditional (7f49d8d)
- ci: release-doctor — report correct token name (0d20a9e)
- client: correctly parse binary response | stream (55872c2)
- client: don't send Content-Type header on GET requests (ffcc579)
- merged_headers -> default_headers to avoid conflicts (6b7aeb4)
- package: support direct resource imports (2016cda)
- parsing: correctly handle nested discriminated unions (a4774a8)
- tests: fix: tests which call HTTP endpoints directly with the example parameters (f5db115)
Chores
- ci: change upload type (9ee05fb)
- ci: enable for pull requests (2dc262b)
- ci: fix installation instructions (b421fd0)
- ci: only run for pushes and fork pull requests (ced5ec3)
- ci: upload sdks to package manager (bfc448f)
- docs: grammar improvements (302e1a8)
- docs: remove reference to rye shell (b6a9aff)
- docs: remove unnecessary param examples (b78bf04)
- internal: avoid errors for isinstance checks on proxies (6bec701)
- internal: avoid lint errors in pagination expressions (abf0203)
- internal: bump pinned h11 dep (383abab)
- internal: codegen related update (81c98bd)
- internal: update conftest.py (f6aa1eb)
- package: mark python 3.13 as supported (fe9f5d9)
- parse environment variables for default headers (fd7c358)
- readme: fix version rendering on pypi (b93bb29)
- readme: update badges (52ec704)
- tests: add tests for httpx client instantiation & proxies (5e99c8f)
- tests: run tests in parallel (6c8b5ad)
- tests: skip some failing tests on the latest python versions (94bb5d6)
Documentation
v2.2.0
v2.2.0-rc1
2.2.0-rc1 (2025-04-25)
Full Changelog: v2.1.0...v2.2.0-rc1
Features
- api: add ai detect tool endpoint (5155d78)
- api: add translation endpoint (c475528)
- chat: add parse method (#237) (81aae52)
Bug Fixes
- perf: optimize some hot paths (b1304d3)
- perf: skip traversing types for NotGiven values (db0383a)
- pydantic v1: more robust ModelField.annotation check (fe810b2)
Chores
- broadly detect json family of content-type headers (128b22a)
- ci: add timeout thresholds for CI jobs (7e48fde)
- ci: only use depot for staging repos (4e41929)
- ci: run on more branches and use depot runners (00cad5e)
- client: minor internal fixes (8f42cd8)
- internal: base client updates (77cdb4a)
- internal: bump pyright version (bcd957a)
- internal: expand CI branch coverage (#235) (672e10d)
- internal: fix list file params (d8f9820)
- internal: import reformatting (3994040)
- internal: minor formatting changes (2064f80)
- internal: reduce CI branch coverage (725029b)
- internal: refactor retries to not use recursion (acf730e)
- internal: slight transform perf improvement (#233) (92b7914)
- internal: update models test (ba97e8f)
- internal: update pyright settings (8f7e894)
Documentation
v2.1.0
v2.1.0-rc1
2.1.0-rc1 (2025-04-01)
Full Changelog: v2.0.0...v2.1.0-rc1
Features
- add chat streaming helpers (#209) (7b65fc1)
- api: Add Vision endpoint. (#220) (886b828)
- api: Add Vision endpoint. (#221) (967073d)
Bug Fixes
- ci: ensure pip is always available (#214) (7285bc1)
- ci: remove publishing patch (#215) (26c3993)
- types: handle more discriminated union shapes (#213) (d1a067c)
Chores
- docs: update client docstring (#203) (3779210)
- fix typos (#222) (2ad9218)
- internal: bump rye to 0.44.0 (#211) (7efe8a4)
- internal: codegen related update (#204) (f5e9ce7)
- internal: Fix README code samples. (#219) (2efd5ea)
- internal: Fix README samples. (#217) (a06f969)
- internal: remove extra empty newlines (#210) (3b5fd4c)
- internal: version bump (#200) (a7b5f67)
Documentation
v2.0.0
v2.0.0-rc1
2.0.0-rc1 (2025-02-21)
Full Changelog: v1.6.1...v2.0.0-rc1
⚠ BREAKING CHANGES
- api: define chat completion models (#157)
Features
- api: add async jobs and graph association (#167) (5ffd871)
- api: add list and retrieve applications (#176) (79e2193)
- api: add types for application jobs (#171) (e73ec53)
- api: define chat completion models (#157) (2a1d32a)
- api: update application jobs pagination response (#169) (cb30cef)
- client: allow passing
NotGivenfor body (#187) (b179ebb) - client: send
X-Stainless-Read-Timeoutheader (#175) (2f6ceb9)
Bug Fixes
- api: fix offset pagination schema (#177) (fca1562)
- asyncify on non-asyncio runtimes (#183) (b8d96bb)
- client: mark some request bodies as optional (b179ebb)
- client: only call .close() when needed (#152) (c999f9a)
- correctly handle deserialising
clsfields (#158) (b05ec58) - tests: make test_get_platform less flaky (#163) (04a7500)
Chores
- add missing isclass check (#149) (ceb0f57)
- api: fixes to ApplicationJobs pagination (#172) (65f35f9)
- internal: avoid pytest-asyncio deprecation warning (#164) (b31f771)
- internal: bummp ruff dependency (#174) (6f21ba2)
- internal: bump httpx dependency (#151) (2bb3be6)
- internal: bump pyright dependency (#161) (062f2b0)
- internal: change default timeout to an int (#173) (74ed0c0)
- internal: codegen related update (#147) (9f6686e)
- internal: codegen related update (#154) (3bb05ac)
- internal: codegen related update (#179) (938a558)
- internal: codegen related update (#186) (6c0e449)
- internal: fix devcontainers setup (#188) (41c98aa)
- internal: fix type traversing dictionary params (#178) (2349440)
- internal: minor formatting changes (#166) (b4dd853)
- internal: minor style changes (#165) (617eb51)
- internal: minor type handling changes (#180) (f625d90)
- internal: update client tests (#182) (16197d5)
- internal: update deps (#159) (56aa67e)
- test: update some test values (#184) (aafd471)
Documentation
- api: updates to API spec (#160) (04aa2d8)
- api: updates to API spec (#168) (66b6319)
- api: updates to API spec (#170) (49e58c8)
- api: updates to API spec (#181) (0274de8)
- api: updates to API spec (#185) (dddde9f)
- Fix README code samples. (#193) (ec22477)
- fix typos (#153) (5b80591)
- raw responses: fix duplicate
the(#162) (8de8d84) - README code sample updates (#189) (1a3af86)
- Update README. (#192) (6fc78a9)
v1.6.1
v1.6.0
1.6.0 (2024-12-16)
Full Changelog: v1.5.0...v1.6.0
Features
Chores
- internal: add support for TypeAliasType (#137) (4523c9d)
- internal: bump pydantic dependency (#134) (eb1ebfe)
- internal: bump pyright (#129) (f1b2b64)
- internal: bump pyright (#136) (66af392)
- internal: updated imports (#138) (fc58a7d)
- make the
Omittype public (#133) (94b63bb)