Skip to content

Latest commit

 

History

History
917 lines (515 loc) · 80.3 KB

CHANGELOG.md

File metadata and controls

917 lines (515 loc) · 80.3 KB

Changelog

2.32.2 (2024-11-14)

Full Changelog: v2.32.1...v2.32.2

Bug Fixes

  • docs: add missing await to pagination example (#494) (e0f52fd)
  • don't require deno to run build-deno (#492) (778e412)
  • internal: support pnpm git installs (#488) (d7953f8)

Chores

Documentation

Refactors

  • use type imports for type-only imports (#489) (a0281cc)

2.32.1 (2024-10-22)

Full Changelog: v2.32.0...v2.32.1

Bug Fixes

  • client: respect x-stainless-retry-count default headers (#479) (583a4f9)

Chores

  • internal: bumps eslint and related dependencies (#481) (dd28cff)

2.32.0 (2024-10-16)

Full Changelog: v2.31.1...v2.32.0

Features

  • api: updates to required fields for ExpectedPayments (#477) (3ccc158)

2.31.1 (2024-10-08)

Full Changelog: v2.31.0...v2.31.1

Chores

  • internal: pass props through internal parser (#476) (6ad17b3)

Documentation

  • improve and reference contributing documentation (#474) (0522f00)

2.31.0 (2024-09-25)

Full Changelog: v2.30.0...v2.31.0

Features

  • api: add usbank_payment_application_reference_id to reference_number_type (#464) (7d8dfe7)
  • client: allow overriding retry count header (#473) (5199b52)
  • client: send retry count header (#471) (a0f410f)

Bug Fixes

  • types: remove leftover polyfill usage (#470) (6f4195e)

Chores

  • api: fields and parameters added to bulk actions, transactions and invoice creation (#472) (8aa42fb)
  • internal: add query string encoder (#468) (318d3ff)
  • internal: fix some types (#469) (25501d5)

Documentation

2.30.0 (2024-09-09)

Full Changelog: v2.29.1...v2.30.0

Features

  • api: add us_bank RTP ID's as reference_number_type (#460) (cdcd92e)

Bug Fixes

  • client: correct File construction from node-fetch Responses (#457) (9466d1e)
  • errors: pass message through to APIConnectionError (#462) (b536511)
  • uploads: avoid making redundant memory copies (#461) (0caef1b)

Chores

2.29.1 (2024-08-27)

Full Changelog: v2.29.0...v2.29.1

Chores

2.29.0 (2024-08-21)

Full Changelog: v2.28.0...v2.29.0

Features

  • api: add wells fargo reference number types (#447) (9a582b6)

Chores

2.28.0 (2024-08-13)

Full Changelog: v2.27.0...v2.28.0

Features

Bug Fixes

  • compat: remove ReadableStream polyfill redundant since node v16 (#434) (5e8d7ae)

Chores

2.27.0 (2024-07-15)

Full Changelog: v2.26.0...v2.27.0

Features

Chores

  • ci: also run workflows for PRs targeting next (#424) (69f7671)
  • docs: minor update to formatting of API link in README (#428) (136c85d)

Documentation

2.26.0 (2024-07-01)

Full Changelog: v2.25.0...v2.26.0

Features

Chores

2.25.0 (2024-06-10)

Full Changelog: v2.24.2...v2.25.0

Features

  • api: add kr_brn kr_crn kr_rrn enum values (#412) (fad181b)
  • api: add risk rating field (#415) (8a56375)
  • support application/octet-stream request bodies (#418) (2ae86c4)

Bug Fixes

Chores

2.24.2 (2024-05-30)

Full Changelog: v2.24.1...v2.24.2

Chores

2.24.1 (2024-05-28)

Full Changelog: v2.24.0...v2.24.1

Documentation

2.24.0 (2024-05-28)

Full Changelog: v2.23.0...v2.24.0

Features

  • api: add currency to ledger account categories (#405) (84bc4a0)
  • api: invoice overdue reminders (59e3638)
  • api: mark ConnectionLegalEntity response properties as required (#407) (843dd77)
  • api: remove deprecated ledger account payouts (#406) (59e3638)
  • api: updates (#395) (d627950)

Bug Fixes

  • package: revert recent client file change (#398) (e25a0fa)

Chores

  • docs: add SECURITY.md (#401) (7da6a83)
  • docs: streamline payment purpose and vendor failure handling (#402) (d816b92)
  • internal: add link to openapi spec (#392) (272d794)
  • internal: add scripts/test, scripts/mock and add ci job (#393) (315be57)
  • internal: add slightly better logging to scripts (#404) (27e0062)
  • internal: forward arguments in scripts/test (#394) (f583eaf)
  • internal: move client class to separate file (#396) (8877013)
  • internal: refactor scripts (#390) (8f96c06)

Refactors

2.23.0 (2024-04-26)

Full Changelog: v2.22.0...v2.23.0

Features

Chores

  • internal: add scripts/test and scripts/mock (#389) (cd3ac6d)
  • internal: use actions/checkout@v4 for codeflow (#386) (6d2a5d9)

2.22.0 (2024-04-22)

Full Changelog: v2.21.0...v2.22.0

Features

  • api: add ledger_transaction_id field to reversal (#383) (538de7b)

Chores

Documentation

  • examples: use counterparties in snippets (#378) (a24994c)

Build System

  • configure UTF-8 locale in devcontainer (#382) (fd4aa7a)

2.21.0 (2024-04-04)

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

Features

Chores

2.20.0 (2024-03-26)

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

Features

  • api: add citibank enums (#369) (4bf2db2)
  • api: add line item metadata (1114cc5)
  • api: introduce bulk transaction create (#365) (1114cc5)
  • api: rename associated_legal_entity to child_legal_entity (#361) (5da0450)
  • api: rename id_type enum from cl_nut to cl_rut (5da0450)
  • api: updates (#367) (9829324)

Bug Fixes

  • client: correctly send deno version header (#368) (52436c1)
  • handle process.env being undefined in debug func (#366) (dab08f7)
  • internal: make toFile use input file's options (#362) (35f0b12)

Chores

Documentation

  • fix typo in CONTRIBUTING.md (#358) (06980b8)
  • readme: consistent use of sentence case in headings (#363) (9c1e738)
  • readme: document how to make undocumented requests (#364) (770f57a)

2.19.0 (2024-03-14)

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

Features

  • api: add date_formed property to legal entities (#355) (b403083)
  • api: extend list invoices query params (#357) (05b1e41)

2.18.0 (2024-03-07)

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

Features

  • api: add legal_structure enum member (#350) (9b0d264)

Chores

Documentation

2.17.0 (2024-02-29)

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

Features

  • api: add legal_entities resource (#346) (6a8a76c)
  • api: added foreign exchange rate information (#342) (4128ecf)

Chores

  • ci: update actions/setup-node action to v4 (#343) (48beb5d)
  • ci: uses Stainless GitHub App for releases (#338) (d5d8aaf)
  • internal: refactor release environment script (#340) (566839f)
  • internal: update deps (#344) (f155295)

Documentation

  • contributing: improve wording (#345) (9b37bea)
  • readme: fix typo in custom fetch implementation (#347) (a0a1721)

2.16.0 (2024-02-13)

Full Changelog: v2.15.1...v2.16.0

Features

Chores

  • interal: make link to api.md relative (#332) (f9efd58)
  • internal: enable building when git installed (#334) (018af15)
  • internal: re-order pagination import (#333) (463224a)
  • internal: support pre-release versioning (#329) (412b7af)
  • respect application/vnd.api+json content-type header (#336) (13c22e1)

Documentation

2.15.1 (2024-01-30)

Full Changelog: v2.15.0...v2.15.1

Bug Fixes

  • allow body type in RequestOptions to be null (#327) (ee5625d)
  • ci: ignore stainless-app edits to release PR title (#326) (4d265d4)
  • types: accept undefined for optional client options (#325) (cd306c1)
  • use Accept: */* as a default Header for void endpoints (#322) (eb7bc21)

Chores

  • internal: add internal helpers & improve build scripts (#328) (163792e)
  • internal: debug logging for retries; speculative retry-after-ms support (#324) (5464949)

2.15.0 (2024-01-16)

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

Features

  • api: add ledger_transactions to expected payment request (#313) (28d72d1)
  • api: add create and delete operations for internal accounts balance reports (#317) (583efb5)

Bug Fixes

  • headers: always send lowercase headers and strip undefined (BREAKING in rare cases) (#310) (c943e03)
  • use default base url if BASE_URL env var is blank (#316) (38a3e62)

Chores

Documentation

2.14.0 (2024-01-02)

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

Features

  • api: remove reversed and reversing ledger account status type (#304) (f971086)
  • api: updates (#298) (201d725)

Chores

Documentation

Refactors

Build System

2.13.0 (2023-12-04)

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

Features

  • allow installing package directly from github (#288) (c846884)
  • client: support reading the base url from an env variable (#294) (3df3200)

Chores

  • internal: don't call prepare in dist (#290) (e04bf7c)
  • internal: remove file import and conditionally run prepare (#291) (2a1a743)

Documentation

2.12.0 (2023-11-21)

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

Features

2.11.0 (2023-11-14)

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

Features

Chores

2.10.0 (2023-11-07)

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

Features

Chores

Documentation

2.9.0 (2023-10-31)

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

Features

Bug Fixes

Chores

2.8.0 (2023-10-24)

Full Changelog: v2.7.2...v2.8.0

Features

  • api: updates (#266) (53bd88a)
  • client: adjust retry behavior to be exponential backoff (#267) (926baf6)
  • handle 204 No Content gracefully (#264) (2fd00e6)
  • make webhook headers case insensitive (#256) (c838d5c)
  • types: consolidate direction enums into a shared TransactionDirection type (#259) (b63fb03)

Bug Fixes

  • api: use date-time for effective_at (#265) (d9a8150)
  • client: eliminate circular imports, which cause runtime errors in webpack dev bundles (#249) (cad5c73)
  • fix namespace exports regression (#251) (f7f367c)
  • import web-streams-polyfill without overriding globals (#262) (d83ec78)
  • improve status code in error messages (#260) (b2e8b90)

Chores

Documentation

  • organisation -> organization (UK to US English) (#261) (c9fb49b)

Refactors

2.7.2 (2023-10-06)

Full Changelog: v2.7.1...v2.7.2

Bug Fixes

  • prevent ReferenceError, update compatibility to ES2020 and Node 18+ (#248) (03620a3)

2.7.1 (2023-10-02)

Full Changelog: v2.7.0...v2.7.1

Chores

2.7.0 (2023-09-25)

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

Features

  • client: handle retry-after with a date (#242) (ca21e25)
  • client: support importing node or web shims manually (#238) (ce14a0e)
  • package: export a root error type (#241) (c8b64f9)

Documentation

  • api.md: add shared models (#240) (1a30c77)
  • README: fix variable names in some examples (#239) (4a4178f)
  • readme: remove incorrect wording in opening (#236) (8098776)

2.6.0 (2023-09-19)

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

Features

Documentation

  • declare Bun 1.0 officially supported (#233) (ecaf5b8)

2.5.0 (2023-09-08)

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

Features

  • fixes tests where an array has to have unique enum values (#221) (0aa1909)

Bug Fixes

  • fix module not found errors in Vercel edge (#227) (554b457)
  • readme: update link to api.md to use the correct branch (#224) (902b8aa)

Chores

Documentation

2.4.0 (2023-09-05)

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

Features

  • client: improve compatibility with Bun (#204) (1248e3a)
  • docs: add documentation to the client constructor (#203) (e558d7b)
  • package: add Bun export map (#215) (e796a08)
  • types: export RequestOptions type (#209) (0b46351)
  • types: remove incorrectly included Idempotency-Key param (#218) (905b43e)

Bug Fixes

  • client: fix TS errors that appear when users Go to Source in VSCode (#219) (de2b2a1)
  • client: fix TypeError when a request gets retried (#201) (ad59570)
  • client: handle case where the client is instantiated with a undefined baseURL (#220) (894890e)
  • client: use explicit file extensions in _shims imports (#217) (15df031)
  • core: fix navigator check for strange environments (#207) (2b6e569)
  • types: improve getNextPage() return type (#214) (eb7e51f)

Chores

  • ci: setup workflows to create releases and release PRs (#212) (fb97629)
  • internal: add helper method (#211) (a9d85e6)
  • internal: add missing eslint-plugin-prettier (#206) (baa9264)
  • internal: export HeadersInit type shim (#210) (a5e0cfe)
  • internal: minor reformatting of code (#205) (709c87f)

2.3.0 (2023-08-15)

⚠ BREAKING CHANGES

  • client: support accessing raw response + remove deprecated features (#191)

Features

  • allow a default timeout to be set for clients (#196) (5403497)
  • api: add metadata in several places it was missing; add description (#179) (639f25b)
  • api: support multiple ids in ledger retrieve/list endpoints (#194) (a8a1a87)
  • api: updates (#180) (24c193d)
  • client: detect browser usage (#182) (f571e78)
  • client: support accessing raw response + remove deprecated features (#191) (ca27da3)
  • streaming: add .toReadableStream() method (#185) (7765c7b)

Bug Fixes

  • client: fix array query param serialization (#195) (c091449)
  • remove redundant Content-Type header param (#190) (0dedec0)

Documentation

  • api: improve custom method arguments (#184) (ea440fd)
  • readme: minor updates (#192) (94a83be)
  • readme: remove beta status + document versioning policy (#181) (5a7f4a4)

Chores

  • assign default reviewers to release PRs (#197) (ef8f6b0)
  • internal: change jest exclude patterns (#189) (2f59bf2)
  • internal: conditionally include bin during build output (#193) (7dfe154)
  • internal: fix deno build (#177) (f04bfc3)
  • internal: fix error happening in CloudFlare pages (#198) (5fa6d25)
  • internal: improve error message when option is missing (#199) (db2e836)
  • internal: remove deno build (#183) (3db3231)
  • internal: update eslint (#187) (0d185b0)
  • internal: update tsconfig-paths dep (#188) (9370fe5)
  • internal: update typescript (#186) (7186ad6)

2.2.0 (2023-08-01)

⚠ BREAKING CHANGES

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

Features

  • api: update parameters for virtual account create request (#157) (1e5aebe)
  • api: updates (#166) (40a3e9e)
  • api: updates (#171) (c47cae2)
  • client: export ClientOptions interface (#161) (cfc1517)
  • streaming: make requests immediately throw an error if an aborted signal is passed in (#163) (3282c5d)
  • test: unskip file uploads tests (#175) (8117843)

Bug Fixes

  • api: add response body to virtualAccounts.retrieve() and update resources (#155) (b5464dd)
  • client: fix errors with file uploads in the browser (#162) (a2dda93)
  • client: handle undefined process in more places (#170) (5d0a45b)
  • client: set client options argument as optional (#168) (9f2ac54)
  • fix error in environments without TextEncoder (#158) (1dba8bc)
  • fix errors with "named" client export in CJS (#156) (31b4844)
  • fix export map order (#160) (b47d673)
  • fix undefined message in errors (#169) (4c914f4)

Refactors

  • create build for deno.land (#174) (bb9f890)
  • types: rename account connection flow to account collection flow (#164) (12ae4aa)
  • use destructuring arguments in client constructor and respect false values (#172) (2efa6bd)

Chores

  • internal: allow the build script to be run without yarn installed (#173) (c57d134)
  • internal: fix deno build (#176) (660c841)
  • internal: let toFile helper accept promises to objects with name/type properties (#153) (0965670)
  • internal: restructure code to stringify query (#159) (82dae5b)

2.1.0 (2023-07-13)

Features

  • client: add support for passing a signal request option (#148) (33236e6)
  • client: improve timeout handling to reuse agent (#140) (afa8b25)
  • client: support passing a custom fetch function (#144) (d32ecbc)
  • improvements to ecosystem compatibility (#151) (9a0343e)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#145) (6adf4d8)
  • fix errors in package source files when users go to definition in VSCode (#139) (148fefe)
  • include README.md, LICENSE and CHANGELOG.md in published package (#136) (e372a1b)
  • streaming: do not abort successfully completed streams (#147) (5f7f44e)
  • streaming: fix response body streaming in non-Chrome environments (#142) (cb86104)
  • streaming: polyfill ReadableStream async iterator and text decoding (#135) (1da7d67)
  • support PromiseLike input to toFile (#138) (f157769)

Refactors

  • improve streaming implementation (#137) (6716dd2)
  • streaming: make response body streaming polyfill more spec-compliant (#143) (9f62d25)

Documentation

  • readme: improvements to formatting code snippets (#149) (699a630)
  • readme: minor improvements (#146) (09c7bb5)

Chores

  • internal: fix release please version config (#134) (1cc2a12)
  • internal: remove unused streaming implementation (#150) (3665f89)

2.0.0 (2023-07-07)

⚠ BREAKING CHANGES

  • import issue with ESM (#125)
  • api: move some positional params to named params + updates (#114)
  • types: singularize array item types (#113)

Features

  • client: add support for defaultQuery option (#123) (11b4a99)
  • support ESM and web platform runtimes; easier file uploads (#115) (3731360)
  • types: export nested types through the root client export (#112) (7c397ec)

Bug Fixes

  • import issue with ESM (#125) (fd9dd7f)
  • types: remove incorrect duplicated Promise from some return types (#119) (46c1cfd)

Styles

  • minor reordering of types and properties (#116) (80e1369)

Refactors

  • api: move some positional params to named params + updates (#114) (dd9e4af)
  • mark .responseHeaders and .response as deprecated (#128) (08503ba)
  • move to src directory, improve ecosystem compatibility (#122) (3fddc74)
  • types: singularize array item types (#113) (22e8dc7)

Chores

Documentation

  • api.md: add context to types exported in a different resource (#130) (b409bd3)
  • api.md: fix links not referencing src directory (#124) (5c29ed7)
  • api.md: minor restructuring (#120) (e769fa6)
  • client: improve documentation for client options (#126) (4fc3b3c)
  • rearrange sections in api.md (#118) (49ec081)