Releases: Modern-Treasury/modern-treasury-node
Releases · Modern-Treasury/modern-treasury-node
v2.8.0
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
- internal: refactor status code printing in error (#253) (8478f61)
- update comment (#257) (57b558a)
- update README (#252) (f3983f1)
Documentation
Refactors
v2.7.2
v2.7.1
v2.7.0
v2.6.0
v2.5.0
2.5.0 (2023-09-08)
Full Changelog: v2.4.0...v2.5.0
Features
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
- internal: export helper from core (#225) (01dc5e2)
- internal: minor formatting changes (#226) (08d6cc7)
Documentation
v2.4.0
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
v2.3.0
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; 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)
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)
v2.2.0
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
v2.1.0
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 totoFile
(#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)