Skip to content

Releases: Modern-Treasury/modern-treasury-go

v2.17.0

13 Aug 17:18
Compare
Choose a tag to compare

2.17.0 (2024-08-13)

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

Features

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

16 Jul 20:36
Compare
Choose a tag to compare

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

  • rename of inconsistent union variants (#248) (7851b60)

v2.15.0

01 Jul 18:27
Compare
Choose a tag to compare

2.15.0 (2024-07-01)

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

Features

Bug Fixes

  • fix ExtraFields serialization / deserialization (#243) (8b82674)
  • fix port function for interface{} types (#241) (17ad20a)

Chores

v2.14.0

06 Jun 16:01
Compare
Choose a tag to compare

2.14.0 (2024-06-05)

Full Changelog: v2.13.1...v2.14.0

Features

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

30 May 16:01
Compare
Choose a tag to compare

2.13.1 (2024-05-30)

Full Changelog: v2.13.0...v2.13.1

Chores

v2.13.0

28 May 19:07
Compare
Choose a tag to compare

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

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

23 Apr 16:10
Compare
Choose a tag to compare

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

  • examples: use counterparties in snippets (#204) (fef99d7)

Build System

  • configure UTF-8 locale in devcontainer (#209) (6bb7390)

v2.11.0

09 Apr 17:56
Compare
Choose a tag to compare

2.11.0 (2024-04-04)

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

Features

Bug Fixes

  • adjust how bulk request items are accessed (#203) (4d87a40)

Chores

  • internal: move pagination types to pagination package (#198) (9cdf8a5)
  • internal: use a time zone less likely to conflict with the local one (#201) (b8dc880)

v2.10.0

26 Mar 22:49
Compare
Choose a tag to compare

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 to child_legal_entity (#188) (0ec3815)
  • api: rename id_type enum from cl_nut to cl_rut (0ec3815)
  • api: updates (#191) (7a6d391)
  • set user-agent header by default when making requests (#183) (f6a57ad)

Chores

Documentation

v2.9.0

12 Mar 18:18
Compare
Choose a tag to compare

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)

Chores

  • internal: improve union deserialization logic (#177) (29b1769)

Documentation