Full Changelog: v0.19.0...v0.19.1
Full Changelog: v0.18.1...v0.19.0
Full Changelog: v0.18.0...v0.18.1
Full Changelog: v0.17.0...v0.18.0
- remove old examples (4895381)
Full Changelog: v0.16.0...v0.17.0
- client: use anyio.sleep instead of asyncio.sleep (#351) (2778a22)
- docs: mention install from git repo (#356) (9d503ba)
- docs: remove references to old bedrock package (#344) (3323883)
- internal: bump pyright (#350) (ee0161c)
- internal: bump rye to v0.24.0 (#348) (be8597b)
- internal: improve bedrock streaming setup (#354) (2b55c68)
- internal: refactor release environment script (#347) (a87443a)
- internal: split up transforms into sync / async (#357) (f55ee71)
- internal: support more input types (#358) (35b0347)
- internal: update deps (#349) (ab82b2d)
Full Changelog: v0.15.1...v0.16.0
- api: messages is generally available (#343) (f682594)
- messages: allow message response in params (#339) (86c63f0)
Full Changelog: v0.15.0...v0.15.1
- prevent crash when platform.architecture() is not allowed (#334) (fefb5c1)
- types: loosen most List params types to Iterable (#338) (6e7761b)
- internal: add lint command (#337) (2ebaf1d)
- internal: support serialising iterable types (#336) (ea3ed7b)
Full Changelog: v0.14.1...v0.15.0
Full Changelog: v0.14.0...v0.14.1
Full Changelog: v0.13.0...v0.14.0
Full Changelog: v0.12.0...v0.13.0
- internal: cast type in mocked test (#326) (fd22d8e)
- internal: enable ruff type checking misuse lint rule (#324) (6587598)
- internal: support multipart data with overlapping keys (#322) (9ecab60)
- internal: support pre-release versioning (#327) (78b1bfe)
Full Changelog: v0.11.0...v0.12.0
Full Changelog: v0.10.0...v0.11.0
- internal: add internal helpers (#316) (8c75cdf)
- internal: update resource client type (#318) (bdd8d84)
Full Changelog: v0.9.0...v0.10.0
- add write_to_file binary helper method (#309) (8ac7988)
- client: improve debug logging for failed requests (#303) (5e58c25)
- internal: fix typing util function (#310) (3671aa6)
- internal: remove redundant client test (#311) (d7140f7)
- internal: share client instances between all tests (#314) (ccf731b)
- internal: speculative retry-after-ms support (#312) (4b27da9)
- internal: updates to proxy helper (#308) (a0b3cdb)
- lazy load raw resource class properties (#313) (b13f824)
Full Changelog: v0.8.1...v0.9.0
- add .keep files for examples and custom code directories (#302) (73a07ea)
- internal: loosen type var restrictions (#301) (5e5e1e7)
- internal: replace isort with ruff (#298) (7c60904)
- use property declarations for resource members (#300) (8671297)
Full Changelog: v0.8.0...v0.8.1
- internal: add bin script (#292) (ba2953d)
- internal: fix typos (#287) (4ffbcdf)
- internal: use ruff instead of black for formatting (#294) (1753887)
- package: bump minimum typing-extensions to 4.7 (#290) (9ec5c57)
- messages: improvements to helpers reference + typos (#291) (d18a895)
- readme: remove old migration guide (#289) (eec4574)
Full Changelog: v0.7.8...v0.8.0
- ci: run release workflow once per day (#282) (3a23912)
- client: only import tokenizers when needed (#284) (b9e38b2)
- streaming: update constructor to use direct client names (#285) (0c55c84)
Full Changelog: v0.7.7...v0.7.8
- avoid leaking memory when Client.with_options is used (#275) (5e51ebd)
- client: correct base_url setter implementation (#265) (29d0c8b)
- client: ensure retried requests are closed (#261) (5d9aa75)
- errors: properly assign APIError.body (#274) (342846f)
- internal: enable more lint rules (#273) (0ac62bc)
- internal: reformat imports (#270) (dc55724)
- internal: reformat imports (#272) (0d82ce4)
- internal: remove unused file (#264) (1bfc69b)
- internal: replace string concatenation with f-strings (#263) (f545c35)
- internal: update formatting (#271) (802ab59)
- package: lift anyio v4 restriction (#266) (a217e99)
Full Changelog: v0.7.6...v0.7.7
- internal: add tests for proxy change (#260) (3b52136)
- internal: updates to proxy helper (#258) (94c4de8)
Full Changelog: v0.7.5...v0.7.6
Full Changelog: v0.7.4...v0.7.5
- internal: revert recent options change (#252) (d60d5c3)
- internal: send more detailed x-stainless headers (#254) (a268d4b)
Full Changelog: v0.7.3...v0.7.4
Full Changelog: v0.7.2...v0.7.3
- client: improve copy method (#246) (c84563f)
- package: add license classifier metadata (#247) (500d0ca)
Full Changelog: v0.7.1...v0.7.2
Full Changelog: v0.7.0...v0.7.1
Full Changelog: v0.6.0...v0.7.0
- client: correctly flush the stream response body (#230) (a60d543)
- client: retry if SSLWantReadError occurs in the async client (#233) (33b553a)
- client: serialise pydantic v1 default fields correctly in params (#232) (d5e70e8)
- models: mark unknown fields as set in pydantic v1 (#231) (4ce7a1e)
- internal: fix devcontainer interpeter path (#235) (7f92e25)
- internal: fix typo in NotGiven docstring (#234) (ce5cccc)
Full Changelog: v0.5.1...v0.6.0
- client: adjust retry behavior to be exponential backoff (#205) (c8a4119)
- client: allow binary returns (#217) (159ddd6)
- client: improve file upload types (#204) (d85d1e0)
- client: support accessing raw response objects (#211) (ebe8e4a)
- client: support passing BaseModels to request params at runtime (#218) (9f04ea6)
- client: support passing chunk size for binary responses (#227) (c88f01e)
- client: support passing httpx.Timeout to method timeout argument (#222) (ef58166)
- github: include a devcontainer setup (#216) (c9fee19)
- package: add classifiers (#214) (380967e)
- binaries: don't synchronously block in astream_to_file (#219) (2a2a617)
- prevent TypeError in Python 3.8 (ABC is not subscriptable) (#221) (893e885)
- docs: fix github links (#225) (dfa9935)
- internal: fix some typos (#223) (9038193)
- internal: improve github devcontainer setup (#226) (3cd90ab)
- internal: minor restructuring of base client (#213) (60dc609)
- internal: remove unused int/float conversion (#220) (a6bf20d)
- internal: require explicit overrides (#210) (72f4339)
Full Changelog: v0.5.0...v0.5.1
- internal: bump mypy (#203) (aa9a67e)
- internal: bump pyright (#202) (f96f5f7)
- internal: update gitignore (#199) (b92fa57)
Full Changelog: v0.4.1...v0.5.0
- internal: improve publish script (#196) (7c92b90)
- internal: migrate from Poetry to Rye (#194) (1dd605e)
- internal: update gitignore (#198) (4c210b7)
Full Changelog: v0.4.0...v0.4.1
- client: accept io.IOBase instances in file params (#190) (5da5f0c)
- streaming: add additional overload for ambiguous stream param (#185) (794dc4d)
Full Changelog: v0.3.14...v0.4.0
- add case insensitive get header function (#182) (708fd02)
- update comment (#183) (649d6f4)
- update README (#174) (bb581b5)
Full Changelog: v0.3.13...v0.3.14
- client: add forwards-compatible pydantic methods (#171) (4c5289e)
- client: add support for passing in a httpx client (#173) (25046c4)
- client: handle retry-after header with a date format (#168) (afeabf1)
- client: retry on 408 Request Timeout (#155) (46386f8)
- package: export a root error type (#163) (e7aa3e7)
- types: improve params type names (#160) (43544a6)
- client: don't error by default for unexpected content types (#161) (76cfcf9)
- client: properly configure model set fields (#154) (da6ccb1)
- internal: add helpers (#156) (00f5a19)
- internal: move error classes from _base_exceptions to _exceptions (
⚠️ breaking) (#162) (329b307) - tests: improve raw response test (#166) (8042473)
Full Changelog: v0.3.12...v0.3.13
- internal: add
pydantic.generics
import for compatibility (#135) (951446d) - internal: minor restructuring (#137) (e601206)
- internal: minor update (#145) (6a505ef)
- internal: update base client (#143) (8e0dca4)
- internal: update lock file (#147) (a72b5ca)
- internal: update pyright (#149) (9661f94)
- internal: updates (#148) (9f7fbbc)
Full Changelog: v0.3.11...v0.3.12
- ci: setup workflows to create releases and release PRs (#130) (8f1048b)
- internal: use shared params references (#133) (feaf6aa)
0.3.11 (2023-08-26)
0.3.10 (2023-08-16)
- add support for Pydantic v2 (#121) (cafa9be)
- allow a default timeout to be set for clients (#117) (a115d2c)
- assign default reviewers to release PRs (#119) (029a9e1)
- internal: minor formatting change (#120) (7f2f54a)
0.3.9 (2023-08-12)
- docs: correct async imports (1ea1bf3)
- deps: bump typing-extensions to 4.5 (#112) (f903269)
- docs: remove trailing spaces (#113) (e876a6b)
- internal: bump pytest-asyncio (#114) (679ecd0)
- internal: update mypy to v1.4.1 (#100) (f615753)
- internal: update ruff to v0.0.282 (#103) (9db4b34)
0.3.8 (2023-08-01)
- internal: bump pyright (#94) (d2872dc)
- internal: make demo example runnable and more portable (#92) (dea1aa2)
0.3.7 (2023-07-29)
- client: correctly handle environment variable access (aa53754)
- readme: use
client
everywhere for consistency (0ff8924)
- internal: minor refactoring of client instantiation (adf9158)
- internal: minor reformatting of code (#90) (1175572)