Skip to content

Releases: Modern-Treasury/modern-treasury-kotlin

v4.0.1

22 Jan 20:38
Compare
Choose a tag to compare

4.0.1 (2025-01-22)

Full Changelog: v4.0.0...v4.0.1

Bug Fixes

  • client: make service impl constructors internal (#308) (d78da89)

Chores

  • api: adds new APIs for LedgerAccountSettlement LedgerEntries (#310) (fca1859)
  • change casing of organization in license (#309) (e434cd2)
  • internal: add and tweak check functions (#301) (0d2ef5c)
  • internal: tweak client options nullability handling (0d2ef5c)
  • internal: upgrade kotlin compiler and gradle (#306) (2e0cb6e)
  • simplify examples involving lists (#303) (f6e1fc5)
  • simplify examples involving unions (#304) (3dfa839)

Documentation

v4.0.0

14 Jan 19:23
Compare
Choose a tag to compare

4.0.0 (2025-01-14)

Full Changelog: v3.1.0...v4.0.0

⚠ BREAKING CHANGES

  • client: switch query params objects to use QueryParams (#283)

Features

  • client: add more builder convenience methods for lists (#295) (9167c5d)
  • client: add various convenience setters to models (#292) (9d38e5a)
  • client: allow setting arbitrary JSON for top-level body params (9d38e5a)
  • client: expose getters for JsonField of body params (9d38e5a)
  • client: put body field in params, add more convenience methods, and add missing docs (#287) (c3037e7)

Bug Fixes

  • client: add some missing validate() calls (#297) (a2910af)
  • client: allow passing null for nullable fields where missing (#290) (f3181b5)
  • client: consider header properties in page equality (#293) (b1bda99)
  • client: consistently throw on omitting required fields (9d38e5a)
  • client: convert JsonField containing list type to mutable in builder (9d38e5a)

Chores

Documentation

Styles

  • internal: explicitly add some method return types (9d38e5a)
  • internal: move headers and query params setters below others (9d38e5a)
  • internal: simplify existing convenience setters on params (9d38e5a)
  • internal: sort fields (#289) (6fa11e4)

Refactors

  • client: switch query params objects to use QueryParams (#283) (b032c4e)
  • internal: use constructor to deserialize json (#284) (b1aaca1)

v3.1.0

17 Dec 17:52
Compare
Choose a tag to compare

3.1.0 (2024-12-12)

Full Changelog: v3.0.0...v3.1.0

Features

  • client: add logging when debug env is set (#263) (0a35699)
  • derive gpg release key's id via gpg itself (#266) (1b9031e)

Chores

  • api: additional fields for requests to get BalanceReports and create LegalEntities (#256) (0d986bd)
  • deps: bump jackson to 2.18.1 (#259) (27203d2)
  • internal: remove unused and expand used wildcard imports (8b79f8e)
  • internal: remove unused and expand used wildcard imports (#274) (70be887)
  • internal: remove unused imports (#271) (4b09ab6)
  • internal: update example values (#265) (153803f)
  • minor refactors (#267) (c505c66)
  • sync openapi spec (#264) (a49b265)
  • test: remove unused imports (#272) (c4b7c9d)
  • test: use JsonValue instead of JsonString (#273) (1633837)
  • update example values in tests and docs (#268) (8cd8077)

Styles

  • internal: make enum value definitions less verbose (#269) (b9cd7ac)
  • internal: move enum identity methods to bottom of class (#270) (7d49191)
  • internal: move identity methods to bottom of error class (#261) (17ec4bb)
  • internal: reduce verbosity of identity methods (#260) (4dd3b2f)
  • internal: reorder some params methods and improve consistency of implementations (#262) (ba4298e)

Refactors

  • internal: split closeWhenPhantomReachable function (#258) (d51d886)

v3.0.0

15 Nov 18:05
Compare
Choose a tag to compare

3.0.0 (2024-11-11)

Full Changelog: v2.21.0...v3.0.0

⚠ BREAKING CHANGES

  • client: replace multimaps with custom types (#251)
  • client: add/rename methods for headers/query params (#249)
  • client: rename header and query params builder methods (#248)

Features

  • client: add Headers class (#245) (a4a5e53)
  • client: add QueryParams class (#246) (d821eb3)
  • client: add/rename methods for headers/query params (#249) (f14ffd7)
  • client: additional builder setters for error class (0ca24d9)
  • client: clean up resource leaks when the resource becomes phantom reachable (#238) (599cbc9)
  • client: more additional body param setters (#253) (ad1ce51)
  • client: propagate headers/query params methods to client builders (#247) (f3b37e9)
  • client: replace multimaps with custom types (#251) (a1560b5)

Bug Fixes

  • client: ensure constructed objects are immutable (#243) (c345686)
  • client: error class toBuilder not copying fields (#254) (0ca24d9)
  • client: remove @JvmStatic from error (#242) (004cc15)

Performance Improvements

Styles

  • internal: make getOrThrow terse and consistent (#240) (52f2cf9)

Refactors

  • client: http request methods (#250) (adf3f92)
  • client: rename header and query params builder methods (#248) (3ea587f)
  • internal: polish ClientOptions (#244) (381ce19)

v2.21.0

25 Oct 19:49
Compare
Choose a tag to compare

2.21.0 (2024-10-25)

Full Changelog: v2.20.1...v2.21.0

Features

  • api: updates to required fields for ExpectedPayments (#224) (0e93a3c)
  • client: add User-Agent header (#236) (a743ad0)
  • client: set X-Stainless-Runtime header (#235) (2cb241a)

Bug Fixes

  • client: accidental double-wrapping with RetryingHttpClient (#237) (636de8b)
  • client: implement hashCode for IsMissing (#234) (cf9a189)
  • use date time serialization for query parameters (#218) (06adac6)

Chores

  • internal: omit unnecessary code (68ab76a)
  • internal: remove unnecessary [@file](https://github.com/file):Suppress("OVERLOADS_INTERFACE") (#228) (66933ce)
  • internal: remove unnecessary [@file](https://github.com/file):Suppress("OVERLOADS_INTERFACE") (#232) (c479746)
  • internal: remove useless [@file](https://github.com/file):JvmSynthetic (#231) (bd00994)

Styles

  • client: make toString methods consistent (#226) (9ab186a)
  • internal: improve OkHttpClient formatting (#229) (7c9011d)
  • internal: improve RetryingHttpClient formatting (#233) (dc12770)
  • internal: improve terseness of handlers (#220) (fa5407d)
  • internal: improve terseness of Properties.kt (#221) (be63d21)
  • internal: move Handlers.kt and HttpRequestBodies.kt to core (31ec99c)
  • internal: simplify client build method (#230) (55be460)
  • internal: update comment formatting (#227) (9d2416b)
  • internal: update some spacing (#225) (003d77d)

v2.20.1

08 Oct 17:59
Compare
Choose a tag to compare

2.20.1 (2024-10-03)

Full Changelog: v2.20.0...v2.20.1

Styles

  • client: disable formatting for java boilerplate (#217) (4efc5d2)
  • client: move equals, hashCode, and toString to the bottom of entity files (#215) (abd9a3b)

v2.20.0

25 Sep 21:49
Compare
Choose a tag to compare

2.20.0 (2024-09-24)

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

Features

  • api: add usbank_payment_application_reference_id to reference_number_type (#209) (347658a)
  • client: added structured fields to errors (#212) (25322b4)
  • client: send retry count header (#214) (93c32da)

Chores

  • api: fields and parameters added to bulk actions, transactions and invoice creation (#213) (f261a36)

Documentation

  • adjust additional properties example (#211) (0ddce69)

v2.19.0

09 Sep 19:41
Compare
Choose a tag to compare

2.19.0 (2024-09-09)

Full Changelog: v2.18.1...v2.19.0

Features

  • api: add us_bank RTP ID's as reference_number_type (#207) (8282ccb)

Chores

  • docs: update description of bankgirot to se_bankgirot (#208) (90050f6)
  • use headless jdk for containers (#205) (a5dffc4)

v2.18.1

27 Aug 17:56
Compare
Choose a tag to compare

2.18.1 (2024-08-22)

Full Changelog: v2.18.0...v2.18.1

Bug Fixes

  • remove additionalBodyProperties from methods that don't support request bodies (#203) (36cd19b)

v2.18.0

22 Aug 16:01
Compare
Choose a tag to compare

2.18.0 (2024-08-21)

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

Features

  • api: add wells fargo reference number types (#200) (b7efc13)

Bug Fixes

  • docs: use correct putAdditionalProperty value (#202) (56456d0)