Library CHANGELOG
1.14.3 (2024-03-25)
Full Changelog: v1.14.2...v1.14.3
Bug Fixes
Chores
- internal: construct error properties instead of using the raw response (#1257) (11dce5c)
- internal: formatting change (#1258) (b907dd7)
- internal: loosen input type for util function (#1250) (fc8b4c3)
Documentation
- contributing: fix typo (#1264) (835cb9b)
- readme: consistent use of sentence case in headings (#1255) (519f371)
- readme: document how to make undocumented requests (#1256) (5887858)
1.14.2 (2024-03-19)
Full Changelog: v1.14.1...v1.14.2
Performance Improvements
Chores
Documentation
1.14.1 (2024-03-15)
Full Changelog: v1.14.0...v1.14.1
Documentation
1.14.0 (2024-03-13)
Full Changelog: v1.13.4...v1.14.0
Features
1.13.4 (2024-03-13)
Full Changelog: v1.13.3...v1.13.4
Bug Fixes
Chores
- api: update docs (#1212) (71236e0)
- client: improve error message for invalid http_client argument (#1216) (d0c928a)
- docs: mention install from git repo (#1203) (3ab6f44)
- export NOT_GIVEN sentinel value (#1223) (8a4f76f)
- internal: add core support for deserializing into number response (#1219) (004bc92)
- internal: bump pyright (#1221) (3c2e815)
- internal: improve deserialisation of discriminated unions (#1227) (4767259)
- internal: minor core client restructuring (#1199) (4314cdc)
- internal: split up transforms into sync / async (#1210) (7853a83)
- internal: support more input types (#1211) (d0e4baa)
- internal: support parsing Annotated types (#1222) (8598f81)
- types: include discriminators in unions (#1228) (3ba0dcc)
Documentation
1.13.3 (2024-02-28)
Full Changelog: v1.13.2...v1.13.3
Features
Chores
- client: use anyio.sleep instead of asyncio.sleep (#1198) (b6d025b)
- internal: bump pyright (#1193) (9202e04)
- types: extract run status to a named type (#1178) (249ecbd)
Documentation
- add note in azure_deployment docstring (#1188) (96fa995)
- examples: add pyaudio streaming example (#1194) (3683c5e)
1.13.2 (2024-02-20)
Full Changelog: v1.13.1...v1.13.2
Bug Fixes
1.13.1 (2024-02-20)
Full Changelog: v1.13.0...v1.13.1
Chores
1.13.0 (2024-02-19)
Full Changelog: v1.12.0...v1.13.0
Features
Bug Fixes
Chores
- ci: move github release logic to github app (#1155) (67cfac2)
- client: use correct accept headers for binary data (#1161) (e536437)
- internal: refactor release environment script (#1158) (7fe8ec3)
1.12.0 (2024-02-08)
Full Changelog: v1.11.1...v1.12.0
Features
- api: add
timestamp_granularities
, addgpt-3.5-turbo-0125
model (#1125) (1ecf8f6) - cli/images: add support for
--model
arg (#1132) (0d53866)
Bug Fixes
- remove double brackets from timestamp_granularities param (#1140) (3db0222)
- types: loosen most List params types to Iterable (#1129) (bdb31a3)
Chores
- internal: add lint command (#1128) (4c021c0)
- internal: support serialising iterable types (#1127) (98d4e59)
Documentation
1.11.1 (2024-02-04)
Full Changelog: v1.11.0...v1.11.1
Bug Fixes
1.11.0 (2024-02-03)
Full Changelog: v1.10.0...v1.11.0
Features
Chores
- interal: make link to api.md relative (#1117) (4a10879)
- internal: cast type in mocked test (#1112) (99b21e1)
- internal: enable ruff type checking misuse lint rule (#1106) (fa63e60)
- internal: support multipart data with overlapping keys (#1104) (455bc9f)
- internal: support pre-release versioning (#1113) (dea5b08)
1.10.0 (2024-01-25)
Full Changelog: v1.9.0...v1.10.0
Features
- api: add text embeddings dimensions param (#1103) (94abfa0)
- azure: proactively add audio/speech to deployment endpoints (#1099) (fdf8742)
- client: enable follow redirects by default (#1100) (d325b7c)
Chores
Refactors
1.9.0 (2024-01-21)
Full Changelog: v1.8.0...v1.9.0
Features
Chores
- internal: fix typing util function (#1083) (3e60db6)
- internal: remove redundant client test (#1085) (947974f)
- internal: share client instances between all tests (#1088) (05cd753)
- internal: speculative retry-after-ms support (#1086) (36a7576)
- lazy load raw resource class properties (#1087) (d307127)
1.8.0 (2024-01-16)
Full Changelog: v1.7.2...v1.8.0
Features
Bug Fixes
- client: ensure path params are non-empty (#1075) (9a25149)
- proxy: prevent recursion errors when debugging pycharm (#1076) (3d78798)
Chores
1.7.2 (2024-01-12)
Full Changelog: v1.7.1...v1.7.2
Documentation
Refactors
1.7.1 (2024-01-10)
Full Changelog: v1.7.0...v1.7.1
Chores
1.7.0 (2024-01-08)
Full Changelog: v1.6.1...v1.7.0
Features
Bug Fixes
Chores
- add .keep files for examples and custom code directories (#1057) (7524097)
- internal: bump license (#1037) (d828527)
- internal: loosen type var restrictions (#1049) (e00876b)
- internal: replace isort with ruff (#1042) (f1fbc9c)
- internal: update formatting (#1041) (2e9ecee)
- src: fix typos (#988) (6a8b806)
- use property declarations for resource members (#1047) (131f6bc)
Documentation
- fix docstring typos (#1022) (ad3fd2c)
- improve audio example to show how to stream to a file (#1017) (d45ed7f)
1.6.1 (2023-12-22)
Full Changelog: v1.6.0...v1.6.1
Chores
- internal: add bin script (#1001) (99ffbda)
- internal: use ruff instead of black for formatting (#1008) (ceaf9a0)
1.6.0 (2023-12-19)
Full Changelog: v1.5.0...v1.6.0
Features
Chores
- cli: fix typo in completions (#985) (d1e9e8f)
- cli: fix typo in completions (#986) (626bc34)
- internal: fix binary response tests (#983) (cfb7e30)
- internal: fix typos (#993) (3b338a4)
- internal: minor utils restructuring (#992) (5ba576a)
- package: bump minimum typing-extensions to 4.7 (#994) (0c2da84)
- streaming: update constructor to use direct client names (#991) (6c3427d)
Documentation
1.5.0 (2023-12-17)
Full Changelog: v1.4.0...v1.5.0
Features
Chores
1.4.0 (2023-12-15)
Full Changelog: v1.3.9...v1.4.0
Features
1.3.9 (2023-12-12)
Full Changelog: v1.3.8...v1.3.9
Documentation
- improve README timeout comment (#964) (3c3ed5e)
- small Improvement in the async chat response code (#959) (fb9d0a3)
- small streaming readme improvements (#962) (f3be2e5)
Refactors
1.3.8 (2023-12-08)
Full Changelog: v1.3.7...v1.3.8
Bug Fixes
- avoid leaking memory when Client.with_options is used (#956) (e37ecca)
- errors: properly assign APIError.body (#949) (c70e194)
- pagination: use correct type hint for .object (#943) (23fe7ee)
Chores
- internal: enable more lint rules (#945) (2c8add6)
- internal: reformat imports (#939) (ec65124)
- internal: reformat imports (#944) (5290639)
- internal: update formatting (#941) (8e5a156)
- package: lift anyio v4 restriction (#927) (be0438a)
Documentation
1.3.7 (2023-12-01)
Full Changelog: v1.3.6...v1.3.7
Bug Fixes
- client: correct base_url setter implementation (#919) (135d9cf)
- client: don't cause crashes when inspecting the module (#897) (db029a5)
- client: ensure retried requests are closed (#902) (e025e6b)
Chores
- internal: add tests for proxy change (#899) (71a13d0)
- internal: remove unused type var (#915) (4233bcd)
- internal: replace string concatenation with f-strings (#908) (663a8f6)
- internal: replace string concatenation with f-strings (#909) (caab767)
Documentation
1.3.6 (2023-11-28)
Full Changelog: v1.3.5...v1.3.6
Bug Fixes
Chores
- deps: bump mypy to v1.7.1 (#891) (11fcb2a)
- internal: send more detailed x-stainless headers (#877) (69e0549)
- revert binary streaming change (#875) (0a06d6a)
Documentation
- readme: minor updates (#894) (5458457)
- readme: update examples (#893) (124da87)
- update readme code snippet (#890) (c522f21)
1.3.5 (2023-11-21)
Full Changelog: v1.3.4...v1.3.5
Bug Fixes
Chores
- package: add license classifier (#826) (bec004d)
- package: add license classifier metadata (#860) (80dffb1)
1.3.4 (2023-11-21)
Full Changelog: v1.3.3...v1.3.4
Bug Fixes
Chores
1.3.3 (2023-11-17)
Full Changelog: v1.3.2...v1.3.3
Chores
1.3.2 (2023-11-16)
Full Changelog: v1.3.1...v1.3.2
Documentation
1.3.1 (2023-11-16)
Full Changelog: v1.3.0...v1.3.1
Chores
1.3.0 (2023-11-15)
Full Changelog: v1.2.4...v1.3.0
Features
- api: add gpt-3.5-turbo-1106 (#813) (9bb3c4e)
- client: support reading the base url from an env variable (#829) (ca5fdc6)
Bug Fixes
Chores
- fix typo in docs and add request header for function calls (#807) (cbef703)
- internal: fix devcontainer interpeter path (#810) (0acc07d)
Documentation
- add azure env vars (#814) (bd8e32a)
- fix code comment typo (#790) (8407a27)
- readme: fix broken azure_ad notebook link (#781) (3b92cdf)
1.2.4 (2023-11-13)
Full Changelog: v1.2.3...v1.2.4
Bug Fixes
1.2.3 (2023-11-10)
Full Changelog: v1.2.2...v1.2.3
Bug Fixes
- cli/audio: file format detection failing for whisper (#733) (01079d6)
- client: correctly flush the stream response body (#771) (0d52731)
- client: serialise pydantic v1 default fields correctly in params (#776) (d4c49ad)
- models: mark unknown fields as set in pydantic v1 (#772) (ae032a1)
- prevent IndexError in fine-tunes CLI (#768) (42f1633)
Documentation
1.2.2 (2023-11-09)
Full Changelog: v1.2.1...v1.2.2
Bug Fixes
Documentation
1.2.1 (2023-11-09)
Full Changelog: v1.2.0...v1.2.1
Documentation
Refactors
1.2.0 (2023-11-08)
Full Changelog: v1.1.2...v1.2.0
Features
- api: unify function types (#741) (ed16c4d)
- client: support passing chunk size for binary responses (#747) (c0c89b7)
Bug Fixes
- api: update embedding response object type (#739) (29182c4)
- client: show a helpful error message if the v0 API is used (#743) (920567c)
Chores
Refactors
1.1.2 (2023-11-08)
Full Changelog: v1.1.1...v1.1.2
Bug Fixes
- api: accidentally required params, add new models & other fixes (#729) (03c3e03)
- asssitant_deleted -> assistant_deleted (#711) (287b51e)