Skip to content

Latest commit

 

History

History
1119 lines (625 loc) · 76.4 KB

CHANGELOG.md

File metadata and controls

1119 lines (625 loc) · 76.4 KB

Changelog

2.21.0 (2025-01-15)

Full Changelog: v2.20.0...v2.21.0

Features

Bug Fixes

  • client: only call .close() when needed (#481) (c14225c)
  • correctly handle deserialising cls fields (#485) (7a80005)

Chores

Documentation

2.20.0 (2024-12-19)

Full Changelog: v2.19.0...v2.20.0

Features

Chores

Documentation

  • readme: example snippet for client context manager (#464) (c832f0a)

2.19.0 (2024-12-12)

Full Changelog: v2.18.0...v2.19.0

Features

Chores

Documentation

  • readme: fix http client proxies example (#456) (db48031)

2.18.0 (2024-12-03)

Full Changelog: v2.17.0...v2.18.0

Features

Chores

2.17.0 (2024-11-28)

Full Changelog: v2.16.0...v2.17.0

Features

Bug Fixes

  • client: compat with new httpx 0.28.0 release (#444) (e0f2966)

Chores

  • fix formatting (f3da812)
  • internal: codegen related update (#442) (f3efb3f)
  • internal: fix compat model_dump method when warnings are passed (#437) (e03dc3b)
  • remove now unused cached-property dep (#439) (e5e8485)

Documentation

2.16.0 (2024-11-15)

Full Changelog: v2.15.0...v2.16.0

Features

Chores

  • rebuild project due to codegen change (#427) (bf7c315)
  • rebuild project due to codegen change (#429) (2bfa0a2)

2.15.0 (2024-11-06)

Full Changelog: v2.14.0...v2.15.0

Features

2.14.0 (2024-11-06)

Full Changelog: v2.13.0...v2.14.0

Features

  • api: OpenAPI spec update via Stainless API (#369) (f09762a)
  • api: OpenAPI spec update via Stainless API (#370) (a8b582c)

2.13.0 (2024-11-06)

Full Changelog: v2.12.0...v2.13.0

Features

  • api: OpenAPI spec update via Stainless API (#368) (54cb9e7)

2.12.0 (2024-11-06)

Full Changelog: v2.11.0...v2.12.0

Features

  • api: OpenAPI spec update via Stainless API (#371) (4068313)
  • api: OpenAPI spec update via Stainless API (#372) (478e200)

2.11.0 (2024-11-06)

Full Changelog: v2.10.0...v2.11.0

Features

2.10.0 (2024-11-06)

Full Changelog: v2.9.0...v2.10.0

Features

  • api: OpenAPI spec update via Stainless API (#365) (c83347c)

2.9.0 (2024-08-23)

Full Changelog: v2.8.0...v2.9.0

Features

  • api: OpenAPI spec update via Stainless API (#362) (b32c5c4)

2.8.0 (2024-08-22)

Full Changelog: v2.7.0...v2.8.0

Features

  • api: OpenAPI spec update via Stainless API (#359) (a82bc26)

2.7.0 (2024-08-21)

Full Changelog: v2.6.0...v2.7.0

Features

2.6.0 (2024-08-17)

Full Changelog: v2.5.0...v2.6.0

Features

  • api: OpenAPI spec update via Stainless API (#352) (899a10f)

2.5.0 (2024-08-16)

Full Changelog: v2.4.0...v2.5.0

Features

  • api: OpenAPI spec update via Stainless API (#349) (dc573e4)

2.4.0 (2024-08-15)

Full Changelog: v2.3.0...v2.4.0

Features

  • api: OpenAPI spec update via Stainless API (#346) (9906e02)

2.3.0 (2024-08-15)

Full Changelog: v2.2.0...v2.3.0

Features

  • api: OpenAPI spec update via Stainless API (#343) (b4db3f3)

2.2.0 (2024-08-15)

Full Changelog: v2.1.0...v2.2.0

Features

  • api: OpenAPI spec update via Stainless API (#340) (632a6bd)

2.1.0 (2024-08-14)

Full Changelog: v2.0.0...v2.1.0

Features

  • api: OpenAPI spec update via Stainless API (#338) (ff005e5)
  • client: add retries_taken to raw response class (#334) (99d1df1)

Chores

2.0.0 (2024-08-02)

Full Changelog: v1.56.0...v2.0.0

⚠ BREAKING CHANGES

  • api: remove methods 'customers.usage.create' and 'customers.usage.update_by_external_id' (#330)
  • api: endpoint expects amount of new allocation price to be a string, not a number (#297)
  • api: add semi_annual cadence and remove metadata from update items (#288)

Features

  • api: add 'status' to plan creation params (#310) (561898f)
  • api: add cadence enum value 'custom' (#327) (e1df500)
  • api: add methods to prices and invoices (#321) (0eaba5f)
  • api: add semi_annual cadence and remove metadata from update items (#288) (4b07848)
  • api: add support for adding allocation price to subscription (#295) (7e16ef5)
  • api: add support for query param include_all_blocks (#301) (1b7b6a3)
  • api: deprecate methods 'customers.usage.create' and 'customers.usage.update_by_external_id' (#329) (1cc12f1)
  • api: external connections made optional when updating items (#296) (9076f38)
  • api: remove methods 'customers.usage.create' and 'customers.usage.update_by_external_id' (#330) (62e5158)
  • api: updates (#291) (38aaf34)

Bug Fixes

  • api: endpoint expects amount of new allocation price to be a string, not a number (#297) (cb8992b)
  • build: include more files in sdist builds (#300) (922476f)
  • client/async: avoid blocking io call for platform headers (#294) (89f4bfe)
  • client: always respect content-type multipart/form-data if provided (#308) (9d980df)
  • docs: fix link to advanced python httpx docs (#298) (55cff13)
  • temporarily patch upstream version to fix broken release flow (#299) (b0c95aa)

Chores

Documentation

1.56.0 (2024-05-29)

Full Changelog: v1.55.0...v1.56.0

Features

Chores

Documentation

  • contributing: update references to rye-up.com (#285) (5502012)

1.55.0 (2024-05-23)

Full Changelog: v1.54.0...v1.55.0

Features

Chores

1.54.0 (2024-05-22)

Full Changelog: v1.53.0...v1.54.0

Features

  • api: add adjustment interval to subscriptions (#277) (7248240)

1.53.0 (2024-05-16)

Full Changelog: v1.52.0...v1.53.0

Features

Chores

  • internal: add slightly better logging to scripts (#274) (af172ca)

1.52.0 (2024-05-14)

Full Changelog: v1.51.0...v1.52.0

Features

Chores

1.51.0 (2024-05-13)

Full Changelog: v1.50.1...v1.51.0

Features

Chores

1.50.1 (2024-05-10)

Full Changelog: v1.50.0...v1.50.1

Bug Fixes

  • api: remove alert parameters and method that aren't supported by the live API (#267) (0719f0d)

Chores

  • docs: improve alert endpoints descriptions (#263) (633b79d)
  • rebuild project due to oas spec rename (#266) (60072ac)
  • types: add union discriminator metadata (#265) (4cfa964)

1.50.0 (2024-05-09)

Full Changelog: v1.49.0...v1.50.0

Features

Chores

  • internal: remove redundant decorator args (#259) (944e9fd)

1.49.0 (2024-05-08)

Full Changelog: v1.48.0...v1.49.0

Features

1.48.0 (2024-05-03)

Full Changelog: v1.47.1...v1.48.0

Features

Bug Fixes

  • api: add shared model BillingCycleRelativeDate (#237) (ed85a2a)
  • api: some path params were incorrectly typed as nullable (#236) (f89e868)
  • docs: doc improvements (#242) (d7bc080)
  • project: use absolute github links on PyPi (#216) (bb54f40)

Chores

Documentation

  • readme: fix misleading timeout example value (#253) (293da36)

1.47.1 (2024-03-25)

Full Changelog: v1.47.0...v1.47.1

Bug Fixes

Chores

Documentation

1.47.0 (2024-03-21)

Full Changelog: v1.46.0...v1.47.0

Features

Performance Improvements

Chores

  • internal: construct error properties instead of using the raw response (#204) (e5438a9)
  • internal: loosen input type for util function (#202) (6d48c20)
  • internal: update generated pragma comment (#200) (336a736)

Documentation

1.46.0 (2024-03-15)

Full Changelog: v1.45.0...v1.46.0

Features

1.45.0 (2024-03-14)

Full Changelog: v1.44.0...v1.45.0

Features

  • api: add matrix with allocation price (#193) (45cc072)

1.44.0 (2024-03-11)

Full Changelog: v1.43.0...v1.44.0

Features

Chores

  • internal: improve deserialisation of discriminated unions (#190) (5b96dd5)

1.43.0 (2024-03-09)

Full Changelog: v1.42.3...v1.43.0

Features

Chores

  • ci: uses Stainless GitHub App for releases (#172) (d5b9f5f)
  • client: improve error message for invalid http_client argument (#184) (17dacf2)
  • client: use anyio.sleep instead of asyncio.sleep (#178) (677ef7e)
  • docs: mention install from git repo (#181) (795ae88)
  • export NOT_GIVEN sentinel value (#188) (7a739b9)
  • internal: add core support for deserializing into number response (#185) (247964e)
  • internal: bump pyright (#177) (f5c6f0c)
  • internal: bump pyright (#186) (03ff063)
  • internal: bump rye to v0.24.0 (#175) (450508a)
  • internal: minor core client restructuring (#179) (ace9451)
  • internal: refactor release environment script (#173) (2503fbc)
  • internal: split up transforms into sync / async (#182) (17a94e7)
  • internal: support more input types (#183) (fc2721e)
  • internal: support parsing Annotated types (#187) (9982119)
  • internal: update deps (#176) (abdbcc6)

Documentation

1.42.3 (2024-02-07)

Full Changelog: v1.42.2...v1.42.3

Bug Fixes

  • change status serialization behavior (#168) (fb5348b)

1.42.2 (2024-02-06)

Full Changelog: v1.42.1...v1.42.2

Bug Fixes

  • types: loosen most List params types to Iterable (#167) (ee5959e)

Chores

1.42.1 (2024-02-04)

Full Changelog: v1.42.0...v1.42.1

Bug Fixes

  • prevent crash when platform.architecture() is not allowed (#163) (20629a0)

Chores

  • interal: make link to api.md relative (#161) (7710cdc)

1.42.0 (2024-02-01)

Full Changelog: v1.41.0...v1.42.0

Features

Chores

  • internal: support pre-release versioning (#158) (3dd41bb)

1.41.0 (2024-01-30)

Full Changelog: v1.40.0...v1.41.0

Features

1.40.0 (2024-01-30)

Full Changelog: v1.39.1...v1.40.0

Features

  • api: add external_customer_id (#155) (0e74ce3)
  • client: enable follow redirects by default (#150) (94c7376)
  • client: support parsing custom response types (#153) (da133ec)

Chores

  • internal: add internal helpers (#147) (bf87d8e)
  • internal: cast type in mocked test (#154) (579cda7)
  • internal: enable ruff type checking misuse lint rule (#152) (a98b037)
  • internal: support multipart data with overlapping keys (#151) (988e720)

Refactors

1.39.1 (2024-01-18)

Full Changelog: v1.39.0...v1.39.1

Bug Fixes

  • ci: ignore stainless-app edits to release PR title (#146) (5a2e2b5)

Chores

  • internal: fix typing util function (#140) (31a83a9)
  • internal: remove redundant client test (#142) (e315f4e)
  • internal: share client instances between all tests (#145) (64a4cb6)
  • internal: speculative retry-after-ms support (#143) (d7affe9)
  • lazy load raw resource class properties (#144) (72734a3)

1.39.0 (2024-01-17)

Full Changelog: v1.38.1...v1.39.0

Features

Chores

1.38.1 (2024-01-16)

Full Changelog: v1.38.0...v1.38.1

Bug Fixes

  • client: ensure path params are non-empty (#134) (f318392)

1.38.0 (2024-01-15)

Full Changelog: v1.37.0...v1.38.0

Features

Chores

1.37.0 (2024-01-12)

Full Changelog: v1.36.0...v1.37.0

Features

  • add None default value to nullable response properties (#123) (823f95c)
  • api: add beta evaluate price endpoint (#129) (5f8379a)

Chores

  • add .keep files for examples and custom code directories (#126) (672693d)
  • client: improve debug logging for failed requests (#127) (b35adf9)
  • internal: loosen type var restrictions (#125) (60a2816)
  • internal: replace isort with ruff (#121) (42b60df)
  • use property declarations for resource members (#124) (b60f5a8)

Documentation

1.36.0 (2024-01-01)

Full Changelog: v1.35.2...v1.36.0

Features

1.35.2 (2023-12-28)

Full Changelog: v1.35.1...v1.35.2

Bug Fixes

  • client: correctly use custom http client auth (#117) (863ebe8)

1.35.1 (2023-12-26)

Full Changelog: v1.35.0...v1.35.1

Bug Fixes

  • use brackets instead of commas for array query params (#116) (a03afeb)

Chores

Documentation

Refactors

1.35.0 (2023-12-11)

Full Changelog: v1.34.1...v1.35.0

Features

1.34.1 (2023-12-08)

Full Changelog: v1.34.0...v1.34.1

Bug Fixes

  • avoid leaking memory when Client.with_options is used (#97) (b65cdf2)

1.34.0 (2023-12-08)

Full Changelog: v1.33.4...v1.34.0

Features

1.33.4 (2023-12-08)

Full Changelog: v1.33.3...v1.33.4

Bug Fixes

  • errors: properly assign APIError.body (#94) (7ee4eea)

Chores

1.33.3 (2023-12-04)

Full Changelog: v1.33.2...v1.33.3

Chores

  • package: lift anyio v4 restriction (#84) (70cbb10)

1.33.2 (2023-12-01)

Full Changelog: v1.33.1...v1.33.2

Bug Fixes

  • client: correct base_url setter implementation (#83) (83ad98c)

Chores

  • internal: remove unused type var (#82) (a9a3dbe)
  • internal: replace string concatenation with f-strings (#81) (d290faf)

Documentation

1.33.1 (2023-11-30)

Full Changelog: v1.33.0...v1.33.1

Bug Fixes

  • client: ensure retried requests are closed (#78) (af69dbb)

Chores

1.33.0 (2023-11-28)

Full Changelog: v1.32.0...v1.33.0

Features

Chores

  • deps: bump mypy to v1.7.1 (#72) (e7f7b47)
  • internal: options updates (#67) (8f91e55)
  • internal: revert recent options change (#70) (6ff55a6)
  • internal: send more detailed x-stainless headers (#71) (7dd46f3)

Documentation

1.32.0 (2023-11-22)

Full Changelog: v1.31.2...v1.32.0

Features

Chores

  • client: improve copy method (#63) (ae3eed5)
  • package: add license classifier metadata (#65) (da28530)

1.31.2 (2023-11-21)

Full Changelog: v1.31.1...v1.31.2

Bug Fixes

  • client: attempt to parse unknown json content types (#61) (2ff1f69)

1.31.1 (2023-11-20)

Full Changelog: v1.31.0...v1.31.1

Chores

  • internal: update some test values (#60) (cf1e4a9)
  • internal: update type hint for helper function (#59) (191e197)

Documentation

1.31.0 (2023-11-16)

Full Changelog: v1.30.3...v1.31.0

Features

  • api: updates (#55) (dbfb455)
  • client: support reading the base url from an env variable (#54) (04d5ca5)

Chores

  • internal: fix devcontainer interpeter path (#52) (a35fe95)
  • internal: fix typo in NotGiven docstring (#50) (7e1d704)

Documentation

1.30.3 (2023-11-13)

Full Changelog: v1.30.2...v1.30.3

Bug Fixes

  • client: retry if SSLWantReadError occurs in the async client (#48) (52d5c13)

1.30.2 (2023-11-10)

Full Changelog: v1.30.1...v1.30.2

Bug Fixes

  • client: serialise pydantic v1 default fields correctly in params (#46) (dc058e3)

1.30.1 (2023-11-10)

Full Changelog: v1.30.0...v1.30.1

Bug Fixes

  • models: mark unknown fields as set in pydantic v1 (#45) (c965317)

Chores

Documentation

1.30.0 (2023-11-09)

Full Changelog: v1.29.0...v1.30.0

Features

  • api: updates (#41) (ea5d1a4)
  • client: support passing chunk size for binary responses (#40) (6cc1be0)
  • client: support passing httpx.Timeout to method timeout argument (#35) (65c7fc9)

Chores

1.29.0 (2023-11-06)

Full Changelog: v1.28.1...v1.29.0

Features

1.28.1 (2023-11-06)

Full Changelog: v1.28.0...v1.28.1

Bug Fixes

  • prevent TypeError in Python 3.8 (ABC is not subscriptable) (#32) (f21abfa)

Chores

  • internal: remove unused int/float conversion (#29) (0b701e1)

Documentation

  • readme: improve example snippets (#31) (3815aad)

1.28.0 (2023-11-03)

Full Changelog: v1.27.0...v1.28.0

Features

  • api: updates (#13) (4256067)
  • api: updates (#8) (c9c4a66)
  • client: adjust retry behavior to be exponential backoff (#4) (62c25f6)
  • client: allow binary returns (#26) (9a25d2f)
  • client: improve file upload types (#3) (91b3d5c)
  • client: improve retry behaviour (#6) (04d94d2)
  • client: support passing BaseModels to request params at runtime (#27) (e8d0844)
  • github: include a devcontainer setup (#25) (fc96155)
  • package: add classifiers (#16) (fa652f3)

Bug Fixes

  • binaries: don't synchronously block in astream_to_file (#28) (ad6ebef)
  • client: include more detail in error messages (#12) (7b64c85)
  • rename customer.credits.ledger.create_entry_by_exteral_id and RequestValidationErrors (#9) (bd8dbe9)

Chores

  • internal: minor restructuring of base client (#15) (550d18c)
  • internal: require explicit overrides (#11) (4dab0a6)

Documentation

  • improve to dictionary example (#7) (3dac2fd)

1.27.0 (2023-10-20)

Full Changelog: v1.26.0...v1.27.0

Features

Chores

Documentation