Releases: Modern-Treasury/modern-treasury-go
Releases · Modern-Treasury/modern-treasury-go
v2.17.0
2.17.0 (2024-08-13)
Full Changelog: v2.16.0...v2.17.0
Features
- api: add pagination params 'created at' and 'updated at' (#261) (31177a6)
- api: updates (#267) (62fac37)
Bug Fixes
- deserialization of struct unions that implement json.Unmarshaler (#264) (3b9fcd2)
- handle nil pagination responses when HTTP status is 200 (#260) (383d064)
- improve name for single-keyed union member (#262) (7df1ce3)
Chores
v2.16.0
2.16.0 (2024-07-15)
Full Changelog: v2.15.0...v2.16.0
Features
Bug Fixes
- internal: fix MarshalJSON logic for interface elemnets (#251) (4f27d96)
- use slice instead of appending to r.Options (#249) (8047c3a)
Chores
- ci: also run workflows for PRs targeting
next
(#252) (e213167) - internal: improve deserialization of embedded structs (#250) (907dd05)
- internal: minor changes to tests (#254) (4f8c716)
Documentation
- add better documentation for flattened enum types (#246) (e8612db)
- examples: update example values (#253) (3af4284)
Refactors
v2.15.0
v2.14.0
2.14.0 (2024-06-05)
Full Changelog: v2.13.1...v2.14.0
Features
- api: add kr_brn kr_crn kr_rrn enum values (#235) (5125730)
- api: add risk rating field (#237) (3c4e08b)
Bug Fixes
- fix enum type to be non nullable (#240) (b7c4130)
- internal: fix the way that unions are deserialized in nested arrays (#238) (abf98c0)
Chores
v2.13.1
v2.13.0
2.13.0 (2024-05-28)
Full Changelog: v2.12.0...v2.13.0
Features
- api: add currency to ledger account categories (#228) (76766e6)
- api: invoice overdue reminders (f9d2168)
- api: mark ConnectionLegalEntity response properties as required (#231) (ce49af3)
- api: remove deprecated ledger account payouts (#229) (f9d2168)
- api: updates (#219) (a3e27cd)
- api: various API updates (#215) (5ee8bc2)
- better validation of path params (#230) (a4d987b)
- propagate resource description field from stainless config to SDK docs (#222) (511b951)
Bug Fixes
- fix reading the error body more than once (#226) (b5294a2)
- make shared package public (#214) (a6cc5de)
- test: fix test github actions job (#218) (3589231)
Chores
- docs: add SECURITY.md (#223) (5813f5d)
- docs: streamline payment purpose and vendor failure handling (#224) (4e1b6b9)
- internal: add link to openapi spec (#216) (d0fa4a7)
- internal: add scripts/test, scripts/mock and add ci job (#217) (1baf31a)
- internal: add slightly better logging to scripts (#225) (2133049)
- internal: fix bootstrap script (#220) (2f72aa6)
- internal: fix format script (#232) (667e918)
- internal: fix Port function for number and boolean enums (#213) (1e8e1dd)
- internal: support parsing other json content types (#227) (09e137d)
- internal: use actions/checkout@v4 for codeflow (#211) (22627d1)
v2.12.0
2.12.0 (2024-04-17)
Full Changelog: v2.11.0...v2.12.0
Features
- api: add ledger_transaction_id field to reversal (#210) (8a812e4)
- option: add option to provide a raw request body (#208) (d4f6079)
Chores
Documentation
Build System
v2.11.0
v2.10.0
2.10.0 (2024-03-26)
Full Changelog: v2.9.0...v2.10.0
Features
- add IsKnown method to enums (#187) (aab3062)
- api: add citibank enums (#192) (a20e06f)
- api: add date_formed property to legal entities (#181) (f91bb6d)
- api: add line item metadata (cb9243b)
- api: extend list invoices query params (#184) (2512a6e)
- api: introduce bulk transaction create (#190) (cb9243b)
- api: rename
associated_legal_entity
tochild_legal_entity
(#188) (0ec3815) - api: rename
id_type
enum fromcl_nut
tocl_rut
(0ec3815) - api: updates (#191) (7a6d391)
- set user-agent header by default when making requests (#183) (f6a57ad)
Chores
- add back removed code (6222d76)
- internal: temporary commit (#194) (0d3ba33)
- internal: update generated pragma comment (#186) (3745ce4)
Documentation
v2.9.0
2.9.0 (2024-03-12)
Full Changelog: v2.8.0...v2.9.0
Features
- api: add legal_structure enum member (#173) (a587b8b)
- implement public RawJSON of response structs (#175) (856c7db)
Bug Fixes
- client: don't include ? in path unless necessary (#180) (d07c304)
- fix String() behavior of param.Field (#179) (9fd583a)
- fix union deserialization for multiple objects (#176) (8e03bd0)