Releases: Modern-Treasury/modern-treasury-java
Releases · Modern-Treasury/modern-treasury-java
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 (#318) (5f77282)
- change casing of organization in license (#317) (45fa3de)
- internal: add and tweak check functions (#310) (9edca46)
- internal: tweak client options nullability handling (9edca46)
- internal: upgrade kotlin compiler and gradle (#314) (ea7bc1b)
- simplify examples involving lists (#312) (c2db3bc)
- simplify examples involving unions (#313) (c586d5b)
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
(#293)
Features
- client: add more builder convenience methods for lists (#304) (4c7cecf)
- client: add various convenience setters to models (#301) (536a4cf)
- client: allow passing null or optional for nullable fields (#299) (7754377)
- client: allow setting arbitrary JSON for top-level body params (536a4cf)
- client: expose getters for
JsonField
of body params (536a4cf) - client: put body field in params, add more convenience methods, and add missing docs (#296) (99b10f6)
Bug Fixes
- client: add some missing
validate()
calls (#306) (214c60d) - client: consider header properties in page equality (#302) (ca111de)
- client: consistently throw on omitting required fields (536a4cf)
- client: convert
JsonField
containing list type to mutable in builder (536a4cf)
Chores
- bump license year (#295) (e129315)
- docs: add example project (#291) (592ed0b)
- docs: fix code block language (#292) (028e31e)
- docs: update readme (#289) (7ace870)
- fix example path (e736e61)
- internal: extract a
checkRequired
function (#309) (f6d536c) - internal: refactor
validate
methods (214c60d) - internal: remove unused Gradle imports (#307) (62848d5)
- internal: remove unused or unnecessary Gradle imports (#308) (1d5c50a)
- update parameter examples in tests and docs (#287) (c45218f)
Documentation
- add params class javadocs (#300) (29e9fe1)
- add some missing javadocs (#297) (503bf07)
- readme: fix misplaced period (#303) (a8e9765)
- update some builder method javadocs (#305) (b13afd8)
Styles
- internal: explicitly add some method return types (536a4cf)
- internal: move headers and query params setters below others (536a4cf)
- internal: simplify existing convenience setters on params (536a4cf)
- internal: sort fields (#298) (c10ab38)
Refactors
v3.1.0
3.1.0 (2024-12-16)
Full Changelog: v3.0.0...v3.1.0
Features
- client: add logging when debug env is set (#272) (ef7a9c1)
- derive gpg release key's id via gpg itself (#276) (d53a19a)
Chores
- api: additional fields for requests to get BalanceReports and create LegalEntities (#265) (27e70aa)
- deps: bump jackson to 2.18.1 (#268) (7c2116f)
- internal: remove unused and expand used wildcard imports (142414a)
- internal: remove unused and expand used wildcard imports (#284) (e99d357)
- internal: remove unused and expand used wildcard imports (#285) (99d1cc6)
- internal: remove unused imports (#281) (d36a73a)
- internal: update example values (#275) (b10c72e)
- minor refactors (#277) (cf97ef4)
- sync openapi spec (#274) (548590d)
- test: remove unused imports (#282) (6a9d774)
- test: use
JsonValue
instead ofJsonString
(#283) (3152d87) - update example values in tests and docs (#278) (09fb8a9)
Styles
- internal: make enum value definitions less verbose (#279) (5a30915)
- internal: move enum identity methods to bottom of class (#280) (417cd7a)
- internal: move identity methods to bottom of error class (#270) (2171f88)
- internal: reduce verbosity of identity methods (#269) (a8aa61f)
- internal: reorder some params methods and improve consistency of implementations (#271) (3235cab)
Refactors
v3.0.0
3.0.0 (2024-11-11)
Full Changelog: v2.22.0...v3.0.0
⚠ BREAKING CHANGES
- client: replace multimaps with custom types (#259)
- client: add/rename methods for headers/query params (#257)
- client: rename header and query params builder methods (#256)
Features
- client: add
Headers
class (#253) (9ae3cb0) - client: add
QueryParams
class (#254) (601fe61) - client: add/rename methods for headers/query params (#257) (9f958bf)
- client: additional builder setters for error class (c031a23)
- client: clean up resource leaks when the resource becomes phantom reachable (#246) (29fe5a2)
- client: more additional body param setters (#261) (f004588)
- client: propagate headers/query params methods to client builders (#255) (ad29c09)
- client: replace multimaps with custom types (#259) (02ca0bf)
Bug Fixes
- client: ensure constructed objects are immutable (#251) (36f41da)
- client: error class
toBuilder
not copying fields (#262) (c031a23)
Performance Improvements
Styles
Refactors
v2.22.0
2.22.0 (2024-10-25)
Full Changelog: v2.21.1...v2.22.0
Features
- api: updates to required fields for ExpectedPayments (#233) (fcdf85e)
- client: add
User-Agent
header (#244) (f6aaede) - client: set
X-Stainless-Runtime
header (#243) (caf71d1)
Bug Fixes
- client: accidental double-wrapping with
RetryingHttpClient
(#245) (242f7e0) - client: add
@JvmOverloads
toHttpClient
methods (#240) (945b426) - client: implement
hashCode
forIsMissing
(#242) (8de5967) - use date time serialization for query parameters (#227) (506d60a)
Chores
- internal: omit unnecessary code (c119c31)
- internal: remove useless
[@file](https://github.com/file):JvmSynthetic
(#239) (ab76d6d)
Styles
- client: make toString methods consistent (#235) (03ef20f)
- internal: improve
OkHttpClient
formatting (#237) (937b1d7) - internal: improve
RetryingHttpClient
formatting (#241) (e0826fa) - internal: improve terseness of handlers (#229) (1683a50)
- internal: improve terseness of Properties.kt (#230) (214a6a3)
- internal: move Handlers.kt and HttpRequestBodies.kt to core (07b9d4c)
- internal: simplify client build method (#238) (6448357)
- internal: update comment formatting (#236) (bf1c259)
- internal: update some spacing (#234) (76e2c69)
v2.21.1
v2.21.0
2.21.0 (2024-09-24)
Full Changelog: v2.20.0...v2.21.0
Features
- api: add
usbank_payment_application_reference_id
toreference_number_type
(#218) (9f7b3bb) - client: added structured fields to errors (#221) (62eec30)
- client: send retry count header (#223) (9db4779)
Chores
- api: fields and parameters added to bulk actions, transactions and invoice creation (#222) (c647f7f)