Releases: Modern-Treasury/modern-treasury-kotlin
Releases · Modern-Treasury/modern-treasury-kotlin
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)