v4.0.0
4.0.0 (2025-02-05)
Full Changelog: v3.3.0...v4.0.0
⚠ BREAKING CHANGES
- client: better union variant method and variable names (#410)
Features
- api: api update (#418) (1e88c1b)
- api: api update (#426) (77e6a73)
- api: api update (#427) (daf9de7)
- client: add
_queryParamsand_headersmethods (#419) (2a3c658) - client: add
closemethod (#412) (d9b722b) - client: better union variant method and variable names (#410) (d0db606)
- client: send client-side timeout headers (#428) (d17227d)
Bug Fixes
- api: add missing
@MustBeClosedannotations (#429) (abe41ab) - api: switch
CompletableFuture<Void>toCompletableFuture<Void?>(abe41ab) - client: add missing validation calls on response (abe41ab)
- client: always provide a body for
PATCHmethods (abe41ab) - client: compiler errors (#422) (2694656)
- client: don't leak responses when retrying (#423) (1c877e6)
- client: make service impl constructors internal (#405) (38d434d)
- client: make some classes and constructors non-public (#416) (0a1b627)
Chores
- add max retries to test (#411) (e3831a7)
- internal: add and tweak check functions (#401) (a08f4ba)
- internal: codegen related update (#394) (94b4589)
- internal: codegen related update (#425) (84cd37e)
- internal: extract a
checkRequiredfunction (#400) (f0fec86) - internal: fix up root
build.gradle.ktsformatting (#396) (595151c) - internal: improve
RetryingHttpClientTest(#421) (6f997fe) - internal: minor formatting/style changes (abe41ab)
- internal: remove some unnecessary
constructorkeywords (0a1b627) - internal: remove unused Gradle imports (#397) (c5f656d)
- internal: remove unused or unnecessary Gradle imports (#398) (5d706bc)
- internal: rename some tests (abe41ab)
- internal: swap
checkNotNulltocheckRequired(#409) (4018e4c) - internal: tweak client options nullability handling (a08f4ba)
- internal: update some gradle formatting (#399) (623b174)
- internal: upgrade kotlin compiler and gradle (#403) (0d0766b)
- simplify examples involving lists (#402) (4520086)
Documentation
asyncandsyncmethod comments (#415) (ab65f2f)- add client documentation (#414) (d4b8051)
- add more documentation (#404) (1cef90d)
- builder, enum, and union comments (#417) (1e1e28e)
- fix incorrect additional properties info (#424) (856e1c9)
- move up requirements section (#408) (a595f32)
- update readme (#406) (31e854c)
Refactors
- internal: extract request preparation logic (2a3c658)