Full Changelog: v2.20.0...v2.21.0
- api: api update (#471) (d23ec0e)
- api: api update (#472) (0a22350)
- api: api update (#474) (d2fb2aa)
- api: api update (#477) (59c3a8b)
- api: api update (#478) (4036eca)
- client: only call .close() when needed (#481) (c14225c)
- correctly handle deserialising
cls
fields (#485) (7a80005)
- add missing isclass check (#476) (cafafe4)
- client: simplify
Optional[object]
to justobject
(#475) (f684ed4) - internal: bump httpx dependency (#480) (6b04dea)
- internal: bump pyright dependency (#487) (667a330)
- internal: codegen related update (#473) (c24985f)
- internal: codegen related update (#484) (a429148)
- internal: update deps (#486) (4677063)
- internal: version bump (#469) (e95eb1d)
Full Changelog: v2.19.0...v2.20.0
- internal: fix some typos (#465) (8ccbc2a)
- internal: remove some duplicated imports (#462) (7ede2cb)
- internal: updated imports (#463) (2487ca6)
- internal: version bump (#460) (28a5746)
Full Changelog: v2.18.0...v2.19.0
- internal: add support for TypeAliasType (#458) (b03a8ef)
- internal: bump pydantic dependency (#455) (da23d38)
- internal: bump pyright (#457) (2a4d14a)
- internal: version bump (#451) (11a7427)
- make the
Omit
type public (#454) (f92f377)
Full Changelog: v2.17.0...v2.18.0
- internal: bump pyright (#449) (0de91b3)
- internal: codegen related update (#448) (a9096c4)
- internal: version bump (#445) (67b0288)
Full Changelog: v2.16.0...v2.17.0
- api updates (3dc9d02)
- api: api update (#436) (6f8c441)
- api: api update (#440) (790b52a)
- api: api update (#441) (e0268df)
- api: api update (#443) (285ba54)
- 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)
Full Changelog: v2.15.0...v2.16.0
- rebuild project due to codegen change (#427) (bf7c315)
- rebuild project due to codegen change (#429) (2bfa0a2)
Full Changelog: v2.14.0...v2.15.0
Full Changelog: v2.13.0...v2.14.0
- api: OpenAPI spec update via Stainless API (#369) (f09762a)
- api: OpenAPI spec update via Stainless API (#370) (a8b582c)
Full Changelog: v2.12.0...v2.13.0
Full Changelog: v2.11.0...v2.12.0
- api: OpenAPI spec update via Stainless API (#371) (4068313)
- api: OpenAPI spec update via Stainless API (#372) (478e200)
Full Changelog: v2.10.0...v2.11.0
Full Changelog: v2.9.0...v2.10.0
Full Changelog: v2.8.0...v2.9.0
Full Changelog: v2.7.0...v2.8.0
Full Changelog: v2.6.0...v2.7.0
Full Changelog: v2.5.0...v2.6.0
Full Changelog: v2.4.0...v2.5.0
Full Changelog: v2.3.0...v2.4.0
Full Changelog: v2.2.0...v2.3.0
Full Changelog: v2.1.0...v2.2.0
Full Changelog: v2.0.0...v2.1.0
- api: OpenAPI spec update via Stainless API (#338) (ff005e5)
- client: add
retries_taken
to raw response class (#334) (99d1df1)
- internal: bump pyright (#333) (7678fca)
- internal: bump ruff version (#336) (dffe52f)
- internal: test updates (#335) (ef3b8d2)
- internal: update pydantic compat helper function (#337) (d8a0d01)
- internal: use
TypeAlias
marker for type assignments (#331) (5208144)
Full Changelog: v1.56.0...v2.0.0
- 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)
- 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)
- 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)
- ci: also run workflows for PRs targeting
next
(#314) (4fc3bcb) - ci: limit release doctor target branches (#323) (fdf2291)
- ci: update rye to v0.35.0 (#309) (540ff37)
- deps: bump anyio to v4.4.0 (#303) (e02d74d)
- docs: document how to do per-request http client customization (#322) (30320ae)
- docs: improve Coupon description (#293) (5aa0f32)
- docs: minor update to formatting of API link in README (#318) (67d26e4)
- docs: updates price intervals docs (#302) (a05b099)
- fix error message import example (#326) (4993ac4)
- gitignore test server logs (#305) (9a8b82f)
- internal: add a
default_query
method (#292) (8aa1d73) - internal: add helper function (#312) (3d9704e)
- internal: add helper method for constructing
BaseModel
s (#307) (73a4593) - internal: add reflection helper function (#304) (986bd84)
- internal: add rich as a dev dependency (#306) (d2a2f3f)
- internal: add type construction helper (#328) (6094016)
- internal: minor import restructuring (#315) (eeee65e)
- internal: minor options / compat functions updates (#317) (2a05873)
- internal: minor request options handling changes (#311) (cfcc3eb)
- internal: update formatting (#319) (f212cc8)
- internal: update formatting (#320) (6dc313b)
- internal: update mypy (#313) (e98ba62)
- tests: update prism version (#325) (a26627c)
- examples: use named params more (#316) (a451ed6)
- readme: fix example snippet imports (#324) (47e954d)
- small updates (#290) (4beb928)
Full Changelog: v1.55.0...v1.56.0
- ci: update rye install location (#282) (667cef5)
- internal: bump pyright (#284) (ef316cc)
- internal: update bootstrap script (#286) (72edfe5)
Full Changelog: v1.54.0...v1.55.0
Full Changelog: v1.53.0...v1.54.0
Full Changelog: v1.52.0...v1.53.0
Full Changelog: v1.51.0...v1.52.0
Full Changelog: v1.50.1...v1.51.0
Full Changelog: v1.50.0...v1.50.1
- docs: improve alert endpoints descriptions (#263) (633b79d)
- rebuild project due to oas spec rename (#266) (60072ac)
- types: add union discriminator metadata (#265) (4cfa964)
Full Changelog: v1.49.0...v1.50.0
Full Changelog: v1.48.0...v1.49.0
Full Changelog: v1.47.1...v1.48.0
- add webhooks verification helpers (d3763df)
- api: add
invoice_source
to invoice (#225) (4d65ea3) - api: add effective_date field (#231) (4db6fc1)
- api: add param to backfill create (#247) (8a21054)
- api: add subscription update endpoint (#238) (c116802)
- api: add the shared model PaginationMetadata (#235) (0506ab6)
- api: add tiered package with minimum price (#220) (6f47aea)
- api: price evaluation endpoint generally available (#240) (c83a0b4)
- api: remove accidental null (#215) (41dcb8c)
- api: timeframe_end and timeframe_start accept null (#219) (3a3872e)
- api: updates (#210) (5b302c6)
- api: updates (#228) (d0ffb6d)
- api: updates (#229) (dc48f78)
- api: updates (#252) (85d4759)
- client: add DefaultHttpxClient and DefaultAsyncHttpxClient (#224) (128a275)
- client: add webhook secret argument (#212) (b611a6c)
- models: add to_dict & to_json helper methods (#226) (db7526a)
- package: export default constants (#214) (1d80f5f)
- 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)
- client: log response headers in debug mode (#248) (b368546)
- client: validate that max_retries is not None (#218) (c885c17)
- docs: revise currency description (#223) (b19a196)
- fix typo (#227) (cd4f7e2)
- internal: add link to openapi spec (#249) (b370433)
- internal: add lru_cache helper function (#232) (a7b6f74)
- internal: add scripts/test, scripts/mock and add ci job (#250) (85b7769)
- internal: ban usage of lru_cache (#233) (e7074d3)
- internal: bump mock server version to ~5.8.0 (#251) (d9d27b0)
- internal: bump pyright to 1.1.359 (#234) (11ab6aa)
- internal: defer model build for import latency (#221) (5a58805)
- internal: formatting (#230) (04ff195)
- internal: minor reformatting (#246) (c549be2)
- internal: reformat imports (#245) (45181a9)
- internal: restructure imports (#239) (3dddf85)
- internal: streaming updates (#222) (a207206)
- internal: update test helper function (#244) (2c95701)
- internal: use actions/checkout@v4 for codeflow (#243) (5ee51b3)
Full Changelog: v1.47.0...v1.47.1
Full Changelog: v1.46.0...v1.47.0
- 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)
- fix typo in CONTRIBUTING.md (#199) (5ffe938)
- readme: document how to make undocumented requests (#203) (9757d20)
- updated invoice description (#201) (ba19ce0)
Full Changelog: v1.45.0...v1.46.0
Full Changelog: v1.44.0...v1.45.0
Full Changelog: v1.43.0...v1.44.0
Full Changelog: v1.42.3...v1.43.0
- 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)
Full Changelog: v1.42.2...v1.42.3
Full Changelog: v1.42.1...v1.42.2
- internal: add lint command (#166) (0cc21f7)
- internal: support serialising iterable types (#164) (246a496)
Full Changelog: v1.42.0...v1.42.1
Full Changelog: v1.41.0...v1.42.0
Full Changelog: v1.40.0...v1.41.0
Full Changelog: v1.39.1...v1.40.0
- api: add
external_customer_id
(#155) (0e74ce3) - client: enable follow redirects by default (#150) (94c7376)
- client: support parsing custom response types (#153) (da133ec)
- 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)
Full Changelog: v1.39.0...v1.39.1
- 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)
Full Changelog: v1.38.1...v1.39.0
- add write_to_file binary helper method (#138) (f48014d)
- internal: updates to proxy helper (#136) (15d29d5)
Full Changelog: v1.38.0...v1.38.1
Full Changelog: v1.37.0...v1.38.0
Full Changelog: v1.36.0...v1.37.0
- add
None
default value to nullable response properties (#123) (823f95c) - api: add beta evaluate price endpoint (#129) (5f8379a)
- 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)
Full Changelog: v1.35.2...v1.36.0
Full Changelog: v1.35.1...v1.35.2
Full Changelog: v1.35.0...v1.35.1
- ci: run release workflow once per day (#107) (8399dca)
- internal: add bin script (#113) (ed19a63)
- internal: fix typos (#111) (e2ba1db)
- internal: minor utils restructuring (#110) (1946480)
- internal: updates to base client (#108) (53ea238)
- internal: use ruff instead of black for formatting (#115) (ed83783)
- package: bump minimum typing-extensions to 4.7 (#112) (440c756)
- api: updates (#109) (692c3e8)
- avoid normalizing trailing space (#106) (09fd3f8)
- improve README timeout comment (#101) (69a6970)
- client: simplify cleanup (#103) (54ac0dd)
- remove unused model types used in params (#105) (e18a59e)
- simplify internal error handling (#104) (cd0f847)
Full Changelog: v1.34.1...v1.35.0
Full Changelog: v1.34.0...v1.34.1
Full Changelog: v1.33.4...v1.34.0
Full Changelog: v1.33.3...v1.33.4
- internal: enable more lint rules (#93) (a3dd337)
- internal: minor updates to pagination (#91) (cc341f4)
- internal: reformat imports (#89) (26a17d4)
- internal: reformat imports (#92) (55b46bb)
- internal: update formatting (#90) (ce98611)
Full Changelog: v1.33.2...v1.33.3
Full Changelog: v1.33.1...v1.33.2
- internal: remove unused type var (#82) (a9a3dbe)
- internal: replace string concatenation with f-strings (#81) (d290faf)
Full Changelog: v1.33.0...v1.33.1
- internal: add tests for proxy change (#77) (3d80ca9)
- internal: update lock file (#74) (d3c1761)
- internal: updates to proxy helper (#76) (80e0f3d)
Full Changelog: v1.32.0...v1.33.0
- 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)
Full Changelog: v1.31.2...v1.32.0
- client: improve copy method (#63) (ae3eed5)
- package: add license classifier metadata (#65) (da28530)
Full Changelog: v1.31.1...v1.31.2
Full Changelog: v1.31.0...v1.31.1
- internal: update some test values (#60) (cf1e4a9)
- internal: update type hint for helper function (#59) (191e197)
Full Changelog: v1.30.3...v1.31.0
- api: updates (#55) (dbfb455)
- client: support reading the base url from an env variable (#54) (04d5ca5)
- internal: fix devcontainer interpeter path (#52) (a35fe95)
- internal: fix typo in NotGiven docstring (#50) (7e1d704)
Full Changelog: v1.30.2...v1.30.3
Full Changelog: v1.30.1...v1.30.2
Full Changelog: v1.30.0...v1.30.1
Full Changelog: v1.29.0...v1.30.0
- 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)
- docs: fix github links (#38) (2a83f73)
- internal: fix some typos (#37) (b0fc909)
- internal: improve github devcontainer setup (#39) (3fabb8f)
Full Changelog: v1.28.1...v1.29.0
Full Changelog: v1.28.0...v1.28.1
Full Changelog: v1.27.0...v1.28.0
- 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)
- 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)
- internal: minor restructuring of base client (#15) (550d18c)
- internal: require explicit overrides (#11) (4dab0a6)
Full Changelog: v1.26.0...v1.27.0
- init: initial commit (33d4af6)
- correct version (58bb98d)
- improve code examples (927512a)