Skip to content

Latest commit

 

History

History
958 lines (567 loc) · 92.5 KB

CHANGELOG.md

File metadata and controls

958 lines (567 loc) · 92.5 KB

Changelog

1.42.0 (2024-10-21)

Full Changelog: v1.41.1...v1.42.0

Features

  • api: updates to required fields for ExpectedPayments (#538) (883df1a)

Bug Fixes

  • client/async: correctly retry in all cases (#542) (59612c4)

Chores

1.41.1 (2024-10-07)

Full Changelog: v1.41.0...v1.41.1

Bug Fixes

  • client: avoid OverflowError with very large retry counts (#536) (692bec5)

Chores

  • add repr to PageInfo class (#537) (175fd3b)
  • internal: add support for parsing bool response content (#535) (c20fe34)

Documentation

  • fix typo in fenced code block language (#534) (23d51a7)
  • improve and reference contributing documentation (#532) (e991a66)

1.41.0 (2024-09-25)

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

Features

  • api: add usbank_payment_application_reference_id to reference_number_type (#522) (8544c6e)
  • client: allow overriding retry count header (#531) (b084527)
  • client: send retry count header (#528) (5a85f89)

Bug Fixes

  • client: handle domains with underscores (#527) (b19a0e8)

Chores

  • api: fields and parameters added to bulk actions, transactions and invoice creation (#530) (5221bfa)
  • internal: bump pyright / mypy version (#526) (7aa949b)
  • internal: bump ruff (#525) (0816f05)
  • internal: update pydantic v1 compat helpers (#529) (1f9d3ae)

Documentation

1.40.0 (2024-09-09)

Full Changelog: v1.39.0...v1.40.0

Features

  • api: add us_bank RTP ID's as reference_number_type (#518) (751a5fa)

Chores

  • add docstrings to raw response properties (#519) (d0f8b63)
  • docs: update description of bankgirot to se_bankgirot (#521) (8ce5255)
  • pyproject.toml formatting changes (#515) (7b4ca37)
  • test: change test name (#517) (7ccc82b)

Documentation

  • readme: add section on determining installed version (#520) (b146e00)

1.39.0 (2024-08-20)

Full Changelog: v1.38.0...v1.39.0

Features

  • api: add wells fargo reference number types (#514) (5789d00)

Chores

  • ci: also run pydantic v1 tests (#513) (4ef2953)
  • client: fix parsing union responses when non-json is returned (#512) (4981f38)
  • internal: use different 32bit detection method (#510) (8becaf4)

1.38.0 (2024-08-13)

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

Features

  • api: add pagination params 'created at' and 'updated at' (#498) (049b023)
  • api: updates (#509) (8bd91e1)
  • client: add retries_taken to raw response class (#501) (d34ae60)

Chores

Documentation

1.37.0 (2024-07-16)

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

Features

Bug Fixes

  • client: always respect content-type multipart/form-data if provided (#478) (f6b7b9e)

Chores

  • ci: also run workflows for PRs targeting next (#483) (01ef021)
  • ci: update rye to v0.35.0 (#479) (597c92c)
  • docs: minor update to formatting of API link in README (#488) (ad63bdf)
  • internal: add helper function (#481) (ecd8aab)
  • internal: add helper method for constructing BaseModels (#476) (2502b91)
  • internal: minor import restructuring (#484) (a62e05a)
  • internal: minor options / compat functions updates (#486) (0d66343)
  • internal: minor request options handling changes (#480) (00bc2b8)
  • internal: update formatting (#489) (baf8626)
  • internal: update mypy (#482) (01781f2)

Documentation

1.36.0 (2024-07-01)

Full Changelog: v1.35.1...v1.36.0

Features

Bug Fixes

  • build: include more files in sdist builds (#470) (e1a1296)
  • client/async: avoid blocking io call for platform headers (#466) (3223606)
  • docs: fix link to advanced python httpx docs (#468) (77777f3)
  • temporarily patch upstream version to fix broken release flow (#469) (6b9a431)

Chores

1.35.1 (2024-06-17)

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

Chores

  • internal: add a default_query method (#464) (fe49309)

1.35.0 (2024-06-05)

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

Features

Bug Fixes

Chores

1.34.1 (2024-05-30)

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

Chores

1.34.0 (2024-05-28)

Full Changelog: v1.33.0...v1.34.0

Features

  • api: add currency to ledger account categories (#449) (b50317b)
  • api: invoice overdue reminders (fbf7499)
  • api: mark ConnectionLegalEntity response properties as required (#455) (2e7fe0d)
  • api: remove deprecated ledger account payouts (#450) (fbf7499)
  • api: updates (#442) (084e590)

Chores

  • ci: update rye install location (#451) (4cc0291)
  • ci: update rye install location (#452) (75d3c8b)
  • client: log response headers in debug mode (#437) (6ec701a)
  • docs: add SECURITY.md (#445) (5fc4854)
  • docs: streamline payment purpose and vendor failure handling (#446) (9049e1d)
  • internal: add link to openapi spec (#439) (53c0a71)
  • internal: add scripts/test, scripts/mock and add ci job (#440) (8b138be)
  • internal: add slightly better logging to scripts (#448) (dec98a7)
  • internal: bump mock server version to ~5.8.0 (#441) (0421e0e)
  • internal: bump pydantic dependency (#447) (b2a507d)
  • internal: bump pyright (#453) (14e0e35)
  • internal: update bootstrap script (#456) (7e949cc)

Documentation

  • contributing: update references to rye-up.com (#454) (3ccb5ff)
  • readme: fix misleading timeout example value (#443) (2f2efaa)

1.33.0 (2024-04-26)

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

Features

Bug Fixes

Chores

1.32.0 (2024-04-18)

Full Changelog: v1.31.0...v1.32.0

Features

  • api: add ledger_transaction_id field to reversal (#424) (eaf6933)

Chores

Documentation

  • examples: use counterparties in snippets (#422) (3e04d72)

1.31.0 (2024-04-09)

Full Changelog: v1.30.0...v1.31.0

Features

  • api: add id type in_lei (#417) (eb4fff9)
  • api: update account number type enum (#411) (0dc3b7d)
  • client: add DefaultHttpxClient and DefaultAsyncHttpxClient (#418) (843bdcf)
  • models: add to_dict & to_json helper methods (#419) (472e346)
  • package: export default constants (#409) (7f7ede1)

Bug Fixes

  • project: use absolute github links on PyPi (#412) (d5a5578)

Chores

  • client: validate that max_retries is not None (#414) (f8d0405)
  • internal: defer model build for import latency (#415) (ada3d43)
  • internal: streaming updates (#416) (c8da517)

1.30.0 (2024-03-26)

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

Features

  • api: add citibank enums (#408) (43766ea)
  • api: add date_formed property to legal entities (#393) (9a4b35d)
  • api: add line item metadata (435ed52)
  • api: extend list invoices query params (#395) (96b0eb8)
  • api: introduce bulk transaction create (#403) (435ed52)
  • api: rename associated_legal_entity to child_legal_entity (#399) (6c3404b)
  • api: rename id_type enum from cl_nut to cl_rut (6c3404b)
  • api: updates (#407) (1d6a2f7)

Bug Fixes

Performance Improvements

Chores

  • add back removed code (b004844)
  • internal: formatting change (#404) (dc0dcca)
  • internal: loosen input type for util function (#400) (b9152e1)
  • internal: temporary commit (1c3fcba)
  • internal: update generated pragma comment (#398) (079cd15)

Documentation

  • contributing: fix typo (#405) (85daac6)
  • fix typo in CONTRIBUTING.md (#397) (6bf2e54)
  • readme: consistent use of sentence case in headings (#401) (83c0b59)
  • readme: document how to make undocumented requests (#402) (e6b9cec)

1.29.0 (2024-03-11)

Full Changelog: v1.28.0...v1.29.0

Features

  • api: add legal_structure enum member (#384) (57666b1)

Chores

  • client: improve error message for invalid http_client argument (#387) (2e3952e)
  • docs: mention install from git repo (#382) (0ee2ab5)
  • export NOT_GIVEN sentinel value (#391) (1972ed3)
  • internal: add core support for deserializing into number response (#388) (7b2214a)
  • internal: bump pyright (#389) (30782dc)
  • internal: improve deserialisation of discriminated unions (#392) (85eed8c)
  • internal: split up transforms into sync / async (#385) (b7c4c48)
  • internal: support more input types (#386) (79f79ed)
  • internal: support parsing Annotated types (#390) (0dc04be)

1.28.0 (2024-02-29)

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

Features

  • api: add legal_entities resource (#381) (57d6eb9)
  • api: added foreign exchange rate information (#375) (167dd4e)

Chores

Documentation

1.27.0 (2024-02-13)

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

Features

Bug Fixes

  • prevent crash when platform.architecture() is not allowed (#364) (268998e)
  • types: loosen most List params types to Iterable (#367) (21b537b)

Chores

  • interal: make link to api.md relative (#363) (2aabaeb)
  • internal: add lint command (#366) (9a1cdab)
  • internal: support pre-release versioning (#360) (4d5f30f)
  • internal: support serialising iterable types (#365) (a0a776a)

Documentation

1.26.0 (2024-01-30)

Full Changelog: v1.25.0...v1.26.0

Features

  • client: enable follow redirects by default (#355) (380e93d)
  • client: support parsing custom response types (#358) (78a0c73)

Bug Fixes

  • ci: ignore stainless-app edits to release PR title (#352) (8ade5d0)

Chores

  • internal: add internal helpers (#353) (79e0db0)
  • internal: cast type in mocked test (#359) (96f7655)
  • internal: enable ruff type checking misuse lint rule (#357) (d9579f9)
  • internal: fix typing util function (#346) (3f69cab)
  • internal: remove redundant client test (#348) (5e162a5)
  • internal: share client instances between all tests (#351) (1c66b08)
  • internal: speculative retry-after-ms support (#349) (bc16acf)
  • internal: support multipart data with overlapping keys (#356) (c6ba152)
  • lazy load raw resource class properties (#350) (53495ec)

Refactors

1.25.0 (2024-01-16)

Full Changelog: v1.24.0...v1.25.0

Features

  • add None default value to nullable response properties (#334) (93bd6c6)
  • api: add ledger_transactions to expected payment request (#337) (ba1fe46)
  • api: add create and delete operations for internal accounts balance reports (#340) (8ff1049)
  • client: add support for streaming raw responses (#342) (2fd8c94)

Bug Fixes

  • client: ensure path params are non-empty (#343) (10749e1)

Chores

  • add .keep files for examples and custom code directories (#338) (68d8ff1)
  • add write_to_file binary helper method (#345) (50234bc)
  • client: improve debug logging for failed requests (#339) (0b0789f)
  • internal: loosen type var restrictions (#336) (8888141)
  • internal: replace isort with ruff (#332) (f4be664)
  • internal: updates to proxy helper (#344) (4f12aac)
  • use property declarations for resource members (#335) (90e8951)

Documentation

1.24.0 (2024-01-02)

Full Changelog: v1.23.1...v1.24.0

Features

  • api: remove reversed and reversing ledger account status type (#322) (0c03887)
  • api: updates (#315) (778352f)

Bug Fixes

  • avoid leaking memory when Client.with_options is used (#316) (6e6b257)
  • client: correctly use custom http client auth (#330) (af5287b)
  • errors: properly assign APIError.body (#314) (67627a3)

Chores

Documentation

Refactors

1.23.1 (2023-12-04)

Full Changelog: v1.23.0...v1.23.1

Bug Fixes

  • client: correct base_url setter implementation (#304) (0362dce)
  • client: ensure retried requests are closed (#301) (ae36851)

Chores

Documentation

1.23.0 (2023-11-21)

Full Changelog: v1.22.0...v1.23.0

Features

Bug Fixes

  • client: attempt to parse unknown json content types (#288) (1ebfa3e)

1.22.0 (2023-11-17)

Full Changelog: v1.21.0...v1.22.0

Features

  • api: add dk_interbank_clearing_code and dk_nets enum members (#276) (7a9e489)
  • api: updates (#272) (441b8f1)
  • client: support passing chunk size for binary responses (#275) (d97b06d)
  • client: support reading the base url from an env variable (#285) (a49743f)

Bug Fixes

  • client: retry if SSLWantReadError occurs in the async client (#281) (9d4ebc6)
  • client: serialise pydantic v1 default fields correctly in params (#280) (44bc532)
  • models: mark unknown fields as set in pydantic v1 (#279) (3101a6a)

Chores

  • internal: base client updates (#278) (445ca02)
  • internal: fix devcontainer interpeter path (#283) (8158c02)
  • internal: fix typo in NotGiven docstring (#282) (170338f)
  • internal: improve github devcontainer setup (#274) (b3b1b02)
  • internal: update type hint for helper function (#287) (3bf66fb)

Documentation

1.21.0 (2023-11-07)

Full Changelog: v1.20.0...v1.21.0

Features

  • client: allow binary returns (#261) (3cdcc11)
  • client: support passing BaseModels to request params at runtime (#263) (b5f251f)
  • client: support passing httpx.Timeout to method timeout argument (#269) (b8bbd4f)

Bug Fixes

  • binaries: don't synchronously block in astream_to_file (#264) (a6cc7ee)
  • prevent TypeError in Python 3.8 (ABC is not subscriptable) (#268) (763a9d4)

Chores

Documentation

  • api: improve method signatures for named path params (#265) (bf4006c)
  • readme: improve example snippets (#267) (fbf4205)

1.20.0 (2023-10-31)

Full Changelog: v1.19.0...v1.20.0

Features

Chores

  • docs: remove old migration guide (#251) (ecb2c32)
  • internal: minor restructuring of base client (#258) (8a0a728)
  • internal: minor type reference restructuring (#252) (8a0a010)
  • internal: require explicit overrides (#255) (ed9dd52)

Documentation

1.19.0 (2023-10-24)

Full Changelog: v1.18.0...v1.19.0

Features

  • api: updates (#245) (d2c3b80)
  • client: add logging setup (#224) (4a540b5)
  • client: add support for passing in a httpx client (#220) (16b9d40)
  • client: adjust retry behavior to be exponential backoff (#247) (7dcfdd8)
  • client: improve file upload types (#246) (a192dee)
  • client: support passing httpx.URL instances to base_url (#237) (802e85e)
  • make webhook headers case insensitive (#227) (6baf034)
  • types: consolidate direction enums into a shared TransactionDirection type (#231) (7e9ec69)

Bug Fixes

  • api: use date-time for effective_at (#242) (e128e73)
  • client: accept io.IOBase instances in file params (#232) (fb6de07)
  • client: correctly handle arguments with env vars (#225) (c62c991)

Chores

Documentation

  • improve error message for invalid file param type (#234) (1fecd4c)
  • organisation -> organization (UK to US English) (#233) (7fb749a)

Refactors

1.18.0 (2023-10-09)

Full Changelog: v1.17.1...v1.18.0

Features

  • client: add forwards-compatible pydantic methods (#219) (b1a9311)
  • client: handle retry-after header with a date format (#216) (947a747)

1.17.1 (2023-10-02)

Full Changelog: v1.17.0...v1.17.1

Chores

1.17.0 (2023-09-25)

Full Changelog: v1.16.0...v1.17.0

Features

Bug Fixes

  • client: don't error by default for unexpected content types (#210) (0762e5f)
  • client: properly configure model set fields (#205) (2f8c907)

Chores

  • internal: add helpers (#206) (adedb5e)
  • internal: move error classes from _base_exceptions to _exceptions (⚠️ breaking) (#211) (f252a33)

Documentation

  • add some missing inline documentation (#202) (37804de)

1.16.0 (2023-09-11)

Full Changelog: v1.15.0...v1.16.0

Features

  • fixes tests where an array has to have unique enum values (#196) (1e582ba)

Bug Fixes

  • client: properly handle optional file params (#194) (08db5c4)

Chores

Documentation

1.15.0 (2023-09-01)

Full Changelog: v1.14.0...v1.15.0

Features

Chores

  • ci: setup workflows to create releases and release PRs (#186) (2897c74)
  • internal: add pydantic.generics import for compatibility (#189) (4eb74d8)
  • internal: bump pydantic dep (#183) (039e10e)
  • internal: minor formatting changes (#193) (7f0aba8)
  • internal: minor restructuring (#191) (ea1703d)
  • internal: update anyio (#184) (aad6ac7)
  • internal: use shared params references (#188) (6188ec5)

Documentation

1.14.0 (2023-08-15)

Features

  • allow a default timeout to be set for clients (#176) (1798742)
  • api: add metadata in several places it was missing; add description (#163) (8f5f131)
  • api: support multiple ids in ledger retrieve/list endpoints (#174) (a6939c6)
  • api: updates (#166) (8d5c102)

Bug Fixes

  • client: fix array query param serialization (#175) (7509dfe)

Documentation

  • readme: remove beta status + document versioning policy (#167) (cbc1bf8)

Styles

  • prefer importing types directly instead of module names (#177) (00094f7)

Chores

1.13.0 (2023-08-01)

⚠ BREAKING CHANGES

  • types: rename account connection flow to account collection flow (#150)
  • api: update parameters for virtual account create request (#148)

Features

Bug Fixes

  • api: add response body to VirtualAccounts.retrieve() and update resources (#146) (3eaa8e4)
  • client: correctly handle environment variable access (#156) (81d62ae)

Refactors

  • types: rename account connection flow to account collection flow (#150) (907bcf2)

Documentation

  • readme: reference "client" in errors section and add missing import (#149) (cef699a)
  • readme: use client everywhere for consistency (#154) (ca1a571)

Chores

1.12.1 (2023-07-08)

Bug Fixes

  • deps: pin pydantic to less than v2.0 (#139) (34535f4)

Chores

1.12.0 (2023-06-30)

Refactor!

  • move some positional params to named params + updates (#131)

Docs

  • point to github repo instead of email contact (#129)
  • slight improvement to file uploads example (#127)
  • minor restructuring (#136)
  • add trailing newlines ([#134] (#134))
  • minor reordering of types and properties (#135)

Features

  • always document positional arguments & options arguments (#124)
  • add support for current_return property (#118)
  • add 0C, 0N & 0S to payment order subtype (#117)

Fix

  • properly separate query and body params (#126)
  • small improvement to handling server-sent events (#120)

CI

  • update release config (#128)

Chores

  • add overloads to client.get for streaming (#130)
  • improve internal test helper (#125)
  • restructure core streaming implementation (#123)
  • add empty request preparation method (#122)
  • minor formatting change (#121)
  • update lock file (#119)
  • add tests for base url handling (#116)
  • configure automatic releases + sync latest changes (#113)
  • update certifi (#133)