Releases: Modern-Treasury/modern-treasury-kotlin
Releases · Modern-Treasury/modern-treasury-kotlin
v4.0.1
4.0.1 (2025-01-22)
Full Changelog: v4.0.0...v4.0.1
Bug Fixes
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
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
- bump license year (#286) (5c1fcfc)
- docs: add example project (#281) (cd4f196)
- docs: fix unused import (#282) (5aaf526)
- docs: update readme (#280) (95e1838)
- internal: extract a
checkRequired
function (#300) (aba017d) - internal: refactor
validate
methods (a2910af) - internal: remove unused and expand used wildcard imports (#275) (6f1c269)
- internal: remove unused Gradle imports (#298) (ab6f389)
- internal: remove unused or unnecessary Gradle imports (#299) (0b641f2)
- update parameter examples in tests and docs (#279) (e394ff2)
Documentation
- add params class javadocs (#291) (3a4a79e)
- add some missing javadocs (#288) (b48841f)
- readme: fix misplaced period (#294) (80c3e41)
- update some builder method javadocs (#296) (d620edf)
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
v3.1.0
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 ofJsonString
(#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
v3.0.0
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
Refactors
v2.21.0
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
forIsMissing
(#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
v2.20.0
2.20.0 (2024-09-24)
Full Changelog: v2.19.0...v2.20.0
Features
- api: add
usbank_payment_application_reference_id
toreference_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)