Full Changelog: v2.32.1...v2.32.2
- 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)
- client: drop unused devDependency (#495) (c9f0fe4)
- internal: use reexports not destructuring (#493) (75a32c9)
- remove unused build-deno condition (#491) (62b66c5)
Full Changelog: v2.32.0...v2.32.1
Full Changelog: v2.31.1...v2.32.0
Full Changelog: v2.31.0...v2.31.1
Full Changelog: v2.30.0...v2.31.0
- api: add
usbank_payment_application_reference_id
toreference_number_type
(#464) (7d8dfe7) - client: allow overriding retry count header (#473) (5199b52)
- client: send retry count header (#471) (a0f410f)
- 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)
Full Changelog: v2.29.1...v2.30.0
- 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)
- ci: update install step (#456) (c8d0c7e)
- docs: update description of
bankgirot
tose_bankgirot
(#463) (9403940) - internal: dependency updates (#458) (996fa7f)
- internal: minor bump qs version (#459) (2dde661)
- run tsc as part of lint script (#454) (fe7e531)
Full Changelog: v2.29.0...v2.29.1
Full Changelog: v2.28.0...v2.29.0
Full Changelog: v2.27.0...v2.28.0
- api: add pagination params 'created at' and 'updated at' (#438) (25416f1)
- api: updates (#443) (50c7364)
- ci: bump prism mock server version (#441) (2abf02a)
- ci: correctly tag pre-release npm packages (#437) (e690557)
- ci: limit release doctor target branches (#432) (7316376)
- ci: minor changes (#440) (4967a99)
- docs: fix incorrect client var names (#435) (d4b6ee0)
- docs: mention support of web browser runtimes (#429) (04b4c14)
- docs: use client instead of package name in Node examples (#431) (0d6674b)
- examples: minor formatting changes (#442) (f45df87)
- internal: add constant for default timeout (#436) (134028c)
- internal: updates (#439) (961b11d)
- tests: update prism version (#433) (da43047)
Full Changelog: v2.26.0...v2.27.0
- ci: also run workflows for PRs targeting
next
(#424) (69f7671) - docs: minor update to formatting of API link in README (#428) (136c85d)
Full Changelog: v2.25.0...v2.26.0
Full Changelog: v2.24.2...v2.25.0
- 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)
Full Changelog: v2.24.1...v2.24.2
Full Changelog: v2.24.0...v2.24.1
Full Changelog: v2.23.0...v2.24.0
- 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)
- 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)
Full Changelog: v2.22.0...v2.23.0
- internal: add scripts/test and scripts/mock (#389) (cd3ac6d)
- internal: use actions/checkout@v4 for codeflow (#386) (6d2a5d9)
Full Changelog: v2.21.0...v2.22.0
- internal: formatting (#381) (530915a)
- internal: update gitignore (#380) (a8519b7)
- internal: use @swc/jest for running tests (#385) (ca96e64)
Full Changelog: v2.20.0...v2.21.0
- deps: bump yarn to v1.22.22 (#376) (6e480ae)
- deps: remove unused dependency digest-fetch (#375) (f9b8060)
- internal: bump dependencies (#371) (913dfb4)
Full Changelog: v2.19.0...v2.20.0
- api: add citibank enums (#369) (4bf2db2)
- api: add line item metadata (1114cc5)
- api: introduce bulk transaction create (#365) (1114cc5)
- api: rename
associated_legal_entity
tochild_legal_entity
(#361) (5da0450) - api: rename
id_type
enum fromcl_nut
tocl_rut
(5da0450) - api: updates (#367) (9829324)
- 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)
- add back removed code (0d813f2)
- internal: temporary commit (#370) (f8a9dd8)
- internal: update generated pragma comment (#360) (008af46)
- 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)
Full Changelog: v2.18.0...v2.19.0
- api: add date_formed property to legal entities (#355) (b403083)
- api: extend list invoices query params (#357) (05b1e41)
Full Changelog: v2.17.0...v2.18.0
- readme: fix https proxy example (#352) (142890f)
- remove extraneous --save and yarn install instructions (#353) (085dae2)
- use @deprecated decorator for deprecated params (#354) (e8e2144)
Full Changelog: v2.16.0...v2.17.0
- api: add legal_entities resource (#346) (6a8a76c)
- api: added foreign exchange rate information (#342) (4128ecf)
- 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)
- contributing: improve wording (#345) (9b37bea)
- readme: fix typo in custom fetch implementation (#347) (a0a1721)
Full Changelog: v2.15.1...v2.16.0
- 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)
Full Changelog: v2.15.0...v2.15.1
- 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)
- internal: add internal helpers & improve build scripts (#328) (163792e)
- internal: debug logging for retries; speculative retry-after-ms support (#324) (5464949)
Full Changelog: v2.14.0...v2.15.0
- api: add
ledger_transactions
to expected payment request (#313) (28d72d1) - api: add create and delete operations for internal accounts balance reports (#317) (583efb5)
- 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)
- add .keep files for examples and custom code directories (#314) (0218448)
- formatting (#320) (9ae7fc2)
- internal: improve type signatures (#312) (78d58a7)
- internal: minor improvements to auth code (#315) (e06c3a0)
- internal: narrow type into stringifyQuery (#318) (4dcf22d)
- fix missing async in readme code sample (#321) (4eace99)
- readme: improve api reference (#319) (3b44290)
Full Changelog: v2.13.0...v2.14.0
- api: remove reversed and reversing ledger account status type (#304) (f971086)
- api: updates (#298) (201d725)
- ci: run release workflow once per day (#302) (80f7239)
- deps: update dependency ts-jest to v29.1.1 (#303) (31637e8)
- deps: update jest (#305) (a03e4b2)
- internal: bump license (#309) (1afc0c7)
- internal: minor updates to pagination (#307) (b702324)
- update dependencies (#301) (9183aac)
- update prettier (#300) (a11c96b)
Full Changelog: v2.12.0...v2.13.0
- allow installing package directly from github (#288) (c846884)
- client: support reading the base url from an env variable (#294) (3df3200)
- internal: don't call prepare in dist (#290) (e04bf7c)
- internal: remove file import and conditionally run prepare (#291) (2a1a743)
Full Changelog: v2.11.0...v2.12.0
Full Changelog: v2.10.0...v2.11.0
- api: add dk_interbank_clearing_code and dk_nets enum members (#283) (f833e0d)
- api: updates (#281) (fe78a82)
- internal: skip bulk requests tests (#284) (7662f86)
- internal: update APIResource structure (#285) (d391c7f)
Full Changelog: v2.9.0...v2.10.0
- ci: update release-please config (#278) (493cc4b)
- docs: fix github links (#279) (4305621)
- internal: update tsconfig (#280) (2389558)
Full Changelog: v2.8.0...v2.9.0
Full Changelog: v2.7.2...v2.8.0
- 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)
- 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)
- internal: refactor status code printing in error (#253) (8478f61)
- update comment (#257) (57b558a)
- update README (#252) (f3983f1)
Full Changelog: v2.7.1...v2.7.2
Full Changelog: v2.7.0...v2.7.1
Full Changelog: v2.6.0...v2.7.0
- 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)
- api.md: add shared models (#240) (1a30c77)
- README: fix variable names in some examples (#239) (4a4178f)
- readme: remove incorrect wording in opening (#236) (8098776)
Full Changelog: v2.5.0...v2.6.0
- api: updates (#235) (ce16952)
- client: retry on 408 Request Timeout (#229) (bb3c483)
- errors: add status code to error message (#234) (c2d9f18)
Full Changelog: v2.4.0...v2.5.0
- fix module not found errors in Vercel edge (#227) (554b457)
- readme: update link to api.md to use the correct branch (#224) (902b8aa)
- internal: export helper from core (#225) (01dc5e2)
- internal: minor formatting changes (#226) (08d6cc7)
Full Changelog: v2.3.0...v2.4.0
- 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)
- 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)
- 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)
- client: support accessing raw response + remove deprecated features (#191)
- allow a default timeout to be set for clients (#196) (5403497)
- api: add
metadata
in several places it was missing; adddescription
(#179) (639f25b) - api: support multiple
id
s inledger
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)
- client: fix array query param serialization (#195) (c091449)
- remove redundant
Content-Type
header param (#190) (0dedec0)
- api: improve custom method arguments (#184) (ea440fd)
- readme: minor updates (#192) (94a83be)
- readme: remove beta status + document versioning policy (#181) (5a7f4a4)
- 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)
- types: rename account connection flow to account collection flow (#164)
- api: update parameters for virtual account create request (#157)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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 totoFile
(#138) (f157769)
- improve streaming implementation (#137) (6716dd2)
- streaming: make response body streaming polyfill more spec-compliant (#143) (9f62d25)
- readme: improvements to formatting code snippets (#149) (699a630)
- readme: minor improvements (#146) (09c7bb5)
- internal: fix release please version config (#134) (1cc2a12)
- internal: remove unused streaming implementation (#150) (3665f89)
2.0.0 (2023-07-07)
- import issue with ESM (#125)
- api: move some positional params to named params + updates (#114)
- types: singularize array item types (#113)
- 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)
- import issue with ESM (#125) (fd9dd7f)
- types: remove incorrect duplicated
Promise
from some return types (#119) (46c1cfd)
- 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)
- internal: fix tsc usage (#127) (3f2b143)
- set
noEmit: true
intsconfig.json
, since it's for typechecking only (#129) (74e846d) - speed up build script slightly (#117) (b5a2349)
- sync latest changes (#109) (5e5ddc5)
- 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)