Skip to content

Latest commit

 

History

History
1352 lines (732 loc) · 91.5 KB

CHANGELOG.md

File metadata and controls

1352 lines (732 loc) · 91.5 KB

Changelog

1.7.0 (2024-10-03)

Full Changelog: v1.6.0...v1.7.0

Features

1.6.0 (2024-09-25)

Full Changelog: v1.5.0...v1.6.0

Features

Bug Fixes

  • client: handle domains with underscores (#499) (9b3fa1e)
  • internal: update custom code related tests (b7287e4)

Chores

Documentation

1.5.0 (2024-09-03)

Full Changelog: v1.4.0...v1.5.0

Features

  • api: OpenAPI spec update via Stainless API (#490) (e064d98)

1.4.0 (2024-08-30)

Full Changelog: v1.3.0...v1.4.0

Features

  • api: OpenAPI spec update via Stainless API (#487) (7c454f8)

1.3.0 (2024-08-28)

Full Changelog: v1.2.2...v1.3.0

Features

  • chore: update reviewers for new teams (#484) (b0d78df)

1.2.2 (2024-08-20)

Full Changelog: v1.2.1...v1.2.2

Chores

  • ci: also run pydantic v1 tests (#482) (c5e6131)
  • client: fix parsing union responses when non-json is returned (#480) (2665eea)

1.2.1 (2024-08-19)

Full Changelog: v1.2.0...v1.2.1

Chores

  • internal: use different 32bit detection method (#477) (a0a62f8)

1.2.0 (2024-08-13)

Full Changelog: v1.1.3...v1.2.0

Features

1.1.3 (2024-08-12)

Full Changelog: v1.1.2...v1.1.3

Chores

1.1.2 (2024-08-09)

Full Changelog: v1.1.1...v1.1.2

Chores

  • ci: bump prism mock server version (#469) (70acca0)
  • internal: ensure package is importable in lint cmd (#471) (0a64b8c)

1.1.1 (2024-08-08)

Full Changelog: v1.1.0...v1.1.1

Chores

1.1.0 (2024-08-07)

Full Changelog: v1.0.0...v1.1.0

Features

  • client: add retries_taken to raw response class (#462) (b62b180)

Bug Fixes

  • client: correctly serialise array body params (#466) (f94c81e)

Chores

1.0.0 (2024-08-01)

Full Changelog: v0.23.1...v1.0.0

Chores

0.23.1 (2024-07-29)

Full Changelog: v0.23.0...v0.23.1

Chores

  • internal: add type construction helper (#454) (c059838)

0.23.0 (2024-07-26)

Full Changelog: v0.22.3...v0.23.0

Features

  • api: add 'payment frequencies' and 'pay group ids' to payment model (#452) (8138a65)

0.22.3 (2024-07-24)

Full Changelog: v0.22.2...v0.22.3

Chores

0.22.2 (2024-07-23)

Full Changelog: v0.22.1...v0.22.2

Chores

0.22.1 (2024-07-22)

Full Changelog: v0.22.0...v0.22.1

Documentation

0.22.0 (2024-07-19)

Full Changelog: v0.21.14...v0.22.0

⚠ BREAKING CHANGES

  • api: authentication method type is an enum, not a plain string (#442)

Bug Fixes

  • api: authentication method type is an enum, not a plain string (#442) (697c5ad)

Chores

0.21.14 (2024-07-18)

Full Changelog: v0.21.13...v0.21.14

Chores

  • docs: document how to do per-request http client customization (#440) (10b741f)

0.21.13 (2024-07-17)

Full Changelog: v0.21.12...v0.21.13

Chores

0.21.12 (2024-07-16)

Full Changelog: v0.21.11...v0.21.12

Bug Fixes

Chores

0.21.11 (2024-07-15)

Full Changelog: v0.21.10...v0.21.11

Chores

  • ci: also run workflows for PRs targeting next (#427) (641b850)
  • internal: minor import restructuring (#429) (fa85f33)
  • internal: minor options / compat functions updates (#431) (b74c798)

Documentation

0.21.10 (2024-07-10)

Full Changelog: v0.21.9...v0.21.10

Chores

0.21.9 (2024-07-10)

Full Changelog: v0.21.8...v0.21.9

Chores

  • internal: add helper function (#424) (a9a6206)
  • internal: minor request options handling changes (#422) (ed15e98)

0.21.8 (2024-07-03)

Full Changelog: v0.21.7...v0.21.8

Chores

0.21.7 (2024-07-02)

Full Changelog: v0.21.6...v0.21.7

Bug Fixes

  • client: always respect content-type multipart/form-data if provided (#419) (08fabf4)

Chores

  • internal: add helper method for constructing BaseModels (#418) (677ce86)
  • internal: add rich as a dev dependency (#415) (ce1979c)
  • sync openapi spec (#417) (a04f3d8)

0.21.6 (2024-06-28)

Full Changelog: v0.21.5...v0.21.6

Chores

0.21.5 (2024-06-28)

Full Changelog: v0.21.4...v0.21.5

Bug Fixes

  • build: include more files in sdist builds (#409) (1508b49)

Chores

0.21.4 (2024-06-26)

Full Changelog: v0.21.3...v0.21.4

Bug Fixes

  • docs: fix link to advanced python httpx docs (#406) (a14561d)
  • temporarily patch upstream version to fix broken release flow (#408) (ab45400)

0.21.3 (2024-06-19)

Full Changelog: v0.21.2...v0.21.3

Bug Fixes

  • client/async: avoid blocking io call for platform headers (#404) (8641632)

0.21.2 (2024-06-17)

Full Changelog: v0.21.1...v0.21.2

Chores

  • internal: add a default_query method (#402) (2afe0c6)

0.21.1 (2024-06-07)

Full Changelog: v0.21.0...v0.21.1

Bug Fixes

0.21.0 (2024-06-06)

Full Changelog: v0.20.10...v0.21.0

Features

0.20.10 (2024-05-28)

Full Changelog: v0.20.9...v0.20.10

Chores

  • add missing all definitions (8bd378e)
  • internal: update bootstrap script (#397) (c0f4cef)

0.20.9 (2024-05-24)

Full Changelog: v0.20.8...v0.20.9

Chores

Documentation

  • contributing: update references to rye-up.com (#394) (a4a6db6)

0.20.8 (2024-05-17)

Full Changelog: v0.20.7...v0.20.8

Chores

0.20.7 (2024-05-14)

Full Changelog: v0.20.6...v0.20.7

Chores

  • internal: add slightly better logging to scripts (#383) (4c8a883)

0.20.6 (2024-05-14)

Full Changelog: v0.20.5...v0.20.6

Bug Fixes

  • api: correct authentication methods type (#381) (bcf80af)

Chores

0.20.5 (2024-05-10)

Full Changelog: v0.20.4...v0.20.5

Chores

0.20.4 (2024-05-03)

Full Changelog: v0.20.3...v0.20.4

Documentation

  • readme: fix misleading timeout example value (#370) (5dee4bb)

0.20.3 (2024-05-01)

Full Changelog: v0.20.2...v0.20.3

Bug Fixes

Chores

  • client: log response headers in debug mode (#366) (5dcc0e5)
  • internal: add link to openapi spec (#367) (378727a)
  • internal: add scripts/test, scripts/mock and add ci job (#368) (ff132d5)
  • internal: bump mock server version to ~5.8.0 (#369) (ad0b12e)
  • internal: minor reformatting (#365) (a7253ed)
  • internal: reformat imports (#364) (62a5f98)
  • internal: update test helper function (#362) (5f9f330)
  • internal: use actions/checkout@v4 for codeflow (#361) (278962a)

Documentation

  • clarify behavior around employee_size (#363) (f10523a)

0.20.2 (2024-04-23)

Full Changelog: v0.20.1...v0.20.2

Chores

0.20.1 (2024-04-18)

Full Changelog: v0.20.0...v0.20.1

Chores

0.20.0 (2024-04-12)

Full Changelog: v0.19.1...v0.20.0

Features

Chores

0.19.1 (2024-04-10)

Full Changelog: v0.19.0...v0.19.1

Chores

0.19.0 (2024-04-09)

Full Changelog: v0.18.0...v0.19.0

Features

0.18.0 (2024-04-08)

Full Changelog: v0.17.1...v0.18.0

Features

  • client: add DefaultHttpxClient and DefaultAsyncHttpxClient (#342) (399b634)

0.17.1 (2024-04-04)

Full Changelog: v0.17.0...v0.17.1

Chores

0.17.0 (2024-03-29)

Full Changelog: v0.16.8...v0.17.0

Features

Bug Fixes

  • project: use absolute github links on PyPi (#335) (f44d11c)
  • revert regression with 3.7 support (#332) (da0031c)

Performance Improvements

Chores

Documentation

0.16.8 (2024-03-11)

Full Changelog: v0.16.7...v0.16.8

Chores

  • internal: improve deserialisation of discriminated unions (#322) (9b37a82)

0.16.7 (2024-03-08)

Full Changelog: v0.16.6...v0.16.7

Chores

0.16.6 (2024-03-06)

Full Changelog: v0.16.5...v0.16.6

Chores

  • internal: add core support for deserializing into number response (#317) (f5f006a)

Documentation

0.16.5 (2024-03-05)

Full Changelog: v0.16.4...v0.16.5

Chores

0.16.4 (2024-03-05)

Full Changelog: v0.16.3...v0.16.4

Chores

  • client: improve error message for invalid http_client argument (#311) (905dffb)

0.16.3 (2024-03-04)

Full Changelog: v0.16.2...v0.16.3

Documentation

0.16.2 (2024-03-04)

Full Changelog: v0.16.1...v0.16.2

Chores

0.16.1 (2024-03-04)

Full Changelog: v0.16.0...v0.16.1

Chores

  • internal: split up transforms into sync / async (#304) (665c4de)
  • internal: support more input types (#306) (5c3f635)

0.16.0 (2024-03-01)

Full Changelog: v0.15.0...v0.16.0

Features

Chores

Documentation

0.15.0 (2024-02-20)

Full Changelog: v0.14.2...v0.15.0

Features

Chores

0.14.2 (2024-02-15)

Full Changelog: v0.14.1...v0.14.2

Chores

  • internal: refactor release environment script (#290) (006786a)

0.14.1 (2024-02-08)

Full Changelog: v0.14.0...v0.14.1

Bug Fixes

  • prevent crash when platform.architecture() is not allowed (#283) (ca5cf4c)
  • types: loosen most List params types to Iterable (#288) (ed26c31)

Chores

  • internal: add lint command (#286) (0e6398c)
  • internal: minor pagination restructuring (#287) (440f9ba)
  • internal: support serialising iterable types (#285) (759e3ef)

Documentation

0.14.0 (2024-02-02)

Full Changelog: v0.13.0...v0.14.0

Features

  • api: create access token reads client opts if not provided (#281) (ee9b890)

Chores

  • interal: make link to api.md relative (#282) (73dc78b)
  • internal: support pre-release versioning (#279) (9700447)

0.13.0 (2024-01-30)

Full Changelog: v0.12.0...v0.13.0

Features

  • api: add employer_contributions field (#270) (f1d513b)
  • client: add support for streaming raw responses (#261) (60bc727)
  • client: enable follow redirects by default (#273) (72b922e)
  • client: support parsing custom response types (#277) (c36ff77)

Bug Fixes

  • api: fix authentication_type enum (#276) (85c0e90)
  • api: update employer_size parameter to employee_size (#278) (526eeab)
  • client: ensure path params are non-empty (#263) (c969f5b)

Chores

  • add write_to_file binary helper method (#265) (152fafc)
  • ci: rely on Stainless GitHub App for releases (#269) (864900e)
  • internal: add internal helpers (#272) (c377864)
  • internal: enable ruff type checking misuse lint rule (#275) (7c8a13b)
  • internal: fix typing util function (#266) (1c716b1)
  • internal: share client instances between all tests (#271) (23c95da)
  • internal: speculative retry-after-ms support (#267) (1549d50)
  • internal: support multipart data with overlapping keys (#274) (cd412ed)
  • internal: updates to proxy helper (#264) (6d1df20)
  • lazy load raw resource class properties (#268) (1f75530)

0.12.0 (2024-01-12)

Full Changelog: v0.11.0...v0.12.0

Features

  • webhooks: add types to the unwrap method (#258) (9687a1e)

Documentation

0.11.0 (2024-01-11)

Full Changelog: v0.10.0...v0.11.0

Features

  • client: hook up sandbox auth (#256) (13f29d3)
  • remove redundant endpoint, add sandbox client options (not yet used) (#255) (3fbedde)

Chores

  • client: improve debug logging for failed requests (#257) (04a3069)
  • internal: rename unreleased connection status type (#253) (e7f4e7d)

0.10.0 (2024-01-09)

Full Changelog: v0.9.5...v0.10.0

Features

  • add None default value to nullable response properties (#246) (a3c577c)
  • api: add method to create access token (#249) (3dedeb6)
  • api: add sandbox APIs (#251) (3ac7bc5)

Bug Fixes

  • client: correctly use custom http client auth (#242) (244aef9)

Chores

0.9.5 (2023-12-22)

Full Changelog: v0.9.4...v0.9.5

Chores

  • internal: add bin script (#238) (9fe973e)
  • internal: use ruff instead of black for formatting (#241) (f27579e)

0.9.4 (2023-12-20)

Full Changelog: v0.9.3...v0.9.4

Chores

  • internal: minor updates to pagination (#236) (9fb357e)

0.9.3 (2023-12-19)

Full Changelog: v0.9.2...v0.9.3

Chores

0.9.2 (2023-12-19)

Full Changelog: v0.9.1...v0.9.2

Chores

Documentation

0.9.1 (2023-12-18)

Full Changelog: v0.9.0...v0.9.1

Documentation

0.9.0 (2023-12-17)

Full Changelog: v0.8.2...v0.9.0

Features

  • api: add /jobs endpoints (#210) (cd3cc6f)
  • api: add client_type and connection_type to introspection (#211) (d354f0a)
  • api: add lp tax payer type enum value (#218) (d0f1493)
  • pagination: remove unused types (#215) (9adf490)

Bug Fixes

  • avoid leaking memory when Client.with_options is used (#220) (c634771)
  • client: correct base_url setter implementation (#207) (5e04fa7)
  • client: ensure retried requests are closed (#204) (0659932)
  • errors: properly assign APIError.body (#219) (ee8fb39)

Chores

Documentation

Refactors

0.8.2 (2023-11-28)

Full Changelog: v0.8.1...v0.8.2

Chores

0.8.1 (2023-11-24)

Full Changelog: v0.8.0...v0.8.1

Chores

  • internal: options updates (#195) (0dd9a28)
  • internal: revert recent options change (#197) (e10ebe4)
  • internal: send more detailed x-stainless headers (#198) (ca854cd)

0.8.0 (2023-11-21)

Full Changelog: v0.7.1...v0.8.0

Features

Bug Fixes

  • client: attempt to parse unknown json content types (#191) (aad45fe)

Chores

  • client: improve copy method (#193) (00fe295)
  • internal: update type hint for helper function (#189) (0fb6bff)
  • package: add license classifier metadata (#194) (0ab421b)

0.7.1 (2023-11-16)

Full Changelog: v0.7.0...v0.7.1

Documentation

0.7.0 (2023-11-15)

Full Changelog: v0.6.0...v0.7.0

Features

  • api: updates (#184) (1fbf21e)
  • client: support passing chunk size for binary responses (#175) (3d02d4b)
  • client: support reading the base url from an env variable (#186) (bb2dc38)

Bug Fixes

  • client: retry if SSLWantReadError occurs in the async client (#181) (b2a7d2c)
  • client: serialise pydantic v1 default fields correctly in params (#180) (cb69944)
  • models: mark unknown fields as set in pydantic v1 (#179) (c8261c9)

Chores

  • internal: base client updates (#178) (d06251d)
  • internal: fix devcontainer interpeter path (#183) (ca48726)
  • internal: fix typo in NotGiven docstring (#182) (ca198e9)

Documentation

0.6.0 (2023-11-08)

Full Changelog: v0.5.0...v0.6.0

Features

  • client: allow binary returns (#164) (6322114)
  • client: support passing BaseModels to request params at runtime (#166) (f3e7e76)
  • client: support passing httpx.Timeout to method timeout argument (#171) (a3dcd4b)

Bug Fixes

  • binaries: don't synchronously block in astream_to_file (#167) (c607d54)
  • prevent TypeError in Python 3.8 (ABC is not subscriptable) (#170) (fc12d83)

Chores

Documentation

0.5.0 (2023-10-31)

Full Changelog: v0.4.0...v0.5.0

Features

  • github: include a devcontainer setup (#162) (e309b43)

0.4.0 (2023-10-27)

Full Changelog: v0.3.2...v0.4.0

Features

0.3.2 (2023-10-27)

Full Changelog: v0.3.1...v0.3.2

Chores

  • internal: minor restructuring of base client (#158) (4aee7a7)

0.3.1 (2023-10-27)

Full Changelog: v0.3.0...v0.3.1

0.3.0 (2023-10-27)

Full Changelog: v0.2.3...v0.3.0

Features

  • client: adjust retry behavior to be exponential backoff (#149) (6c76643)
  • client: improve file upload types (#148) (7f9db48)
  • client: support accessing raw response objects (#154) (10638eb)

Chores

  • internal: require explicit overrides (#153) (9ffdf66)

Documentation

0.2.3 (2023-10-20)

Full Changelog: v0.2.2...v0.2.3

Chores

0.2.2 (2023-10-19)

Full Changelog: v0.2.1...v0.2.2

0.2.1 (2023-10-19)

Full Changelog: v0.2.0...v0.2.1

Chores

0.2.0 (2023-10-17)

Full Changelog: v0.1.5...v0.2.0

Features

  • client: add logging setup (#127) (71aab4b)
  • client: add support for passing in a httpx client (#123) (623f5bc)
  • client: support passing httpx.URL instances to base_url (#138) (0aad4df)
  • make webhook headers case insensitive (#130) (3af34f9)

Bug Fixes

  • client: accept io.IOBase instances in file params (#134) (1297832)
  • client: correctly handle arguments with env vars (#128) (e502b18)
  • correct benfits to benefits (#125) (9e2c02a)

Chores

Documentation

  • organisation -> organization (UK to US English) (#135) (2e278bd)

Refactors

0.1.5 (2023-10-09)

Full Changelog: v0.1.4...v0.1.5

Features

  • client: add forwards-compatible pydantic methods (#121) (b03289d)

0.1.4 (2023-10-04)

Full Changelog: v0.1.3...v0.1.4

Features

  • api: add /forward endpoint and other updates (#116) (ef97220)
  • client: handle retry-after header with a date format (#113) (b90cd33)

Chores

0.1.3 (2023-09-25)

Full Changelog: v0.1.2...v0.1.3

Features

Bug Fixes

  • client: don't error by default for unexpected content types (#104) (61dd6ba)

Chores

  • internal: move error classes from _base_exceptions to _exceptions (⚠️ breaking) (#107) (6f6c4a1)

0.1.2 (2023-09-19)

Full Changelog: v0.1.1...v0.1.2

Features

  • client: retry on 408 Request Timeout (#99) (f8d0bbf)

Bug Fixes

  • client: properly configure model set fields (#98) (ada3ad6)

Chores

Documentation

  • add some missing inline documentation (#95) (dc178c6)

0.1.1 (2023-09-11)

Full Changelog: v0.1.0...v0.1.1

Features

  • add webhook verification methods (#89) (483ffef)

Bug Fixes

  • client: properly handle optional file params (#88) (77b9914)
  • pagination: don't duplicate shared types (#86) (3f5d18f)

Chores

Documentation

0.1.0 (2023-08-29)

Full Changelog: v0.0.11...v0.1.0

⚠ BREAKING CHANGES

  • client: restructure some methods (#80)

Features

  • client: restructure some methods (#80) (21abe3d)

Chores

  • ci: setup workflows to create releases and release PRs (#77) (2af3cc1)

0.0.11 (2023-08-26)

Chores

0.0.10 (2023-08-24)

Chores

0.0.9 (2023-08-17)

Features

0.0.8 (2023-08-16)

Features

  • allow a default timeout to be set for clients (#61) (0ac3cc6)

Documentation

  • readme: remove beta status + document versioning policy (#54) (a749f3e)

Styles

  • prefer importing types directly instead of module names (#62) (f7dfd51)

Chores

0.0.7 (2023-08-01)

Documentation

  • readme: use client everywhere for consistency (5a2c941)

Chores

  • internal: bump pyright (#48) (36353e3)
  • internal: bump pyright (#49) (bd4d420)
  • internal: minor refactoring of client instantiation (1eff35f)
  • internal: minor reformatting of code (#46) (8ed806e)
  • remove unused resource classes (def0f2e)

0.0.6 (2023-07-22)

Documentation

  • readme: reference "client" in errors section and add missing import (#43) (3d5a742)

0.0.5 (2023-07-17)

Chores

  • internal: add codegen.log to .gitignore (#40) (54f5028)

0.0.4 (2023-07-12)

Chores

  • package: pin major versions of dependencies (#36) (e8b1500)
  • package: pin major versions of dependencies (#38) (ac82ea9)

0.0.3 (2023-07-07)

Bug Fixes

  • deps: pin pydantic to less than v2.0 (#32) (8b7f0df)
  • sse: small improvement to handling server-sent events (#11) (05796db)
  • types: correct items type for individuals arg in enroll_many (#15) (3c7b4dd)

Styles

  • minor reordering of types and properties (#29) (ee4e136)

Documentation

  • add trailing newlines (#28) (0f3fb71)
  • api.md: minor restructuring (#31) (69bc6b3)
  • point to github repo instead of email contact (#18) (8f21f60)
  • readme: add note about updating the default version header (#25) (337afec)
  • readme: fix main example snippet (#23) (fb47b35)
  • readme: update main example (#21) (b15646e)

Chores

  • deps: update certifi (#27) (14d2b06)
  • internal: add empty request preparation method (#13) (601c6ec)
  • internal: add overloads to client.get for streaming (#19) (c1ccaf2)
  • internal: add tests for base url handling (#9) (0393cbf)
  • internal: fix bug with transform utility & key aliases (#7) (c19eb86)
  • internal: fix workflow comment url (#8) (543c6f9)
  • internal: improve internal test helper (#16) (a535336)
  • internal: minor formatting change (#12) (d2610d9)
  • internal: restructure core streaming implementation (#14) (5c4a4dd)
  • internal: update changelog config (#5) (4c885cf)
  • internal: update lock file (#10) (11b2ebb)
  • internal: update lock file (#34) (772aac0)

0.0.2 (2023-05-08)

Features