mirror of
https://github.com/hanzoai/java-sdk.git
synced 2026-10-30 15:07:36 +00:00
12 KiB
12 KiB
Changelog
0.1.0-alpha.5 (2026-06-17)
Full Changelog: v0.1.0-alpha.4...v0.1.0-alpha.5
Chores
- sync repo (e5c80ee)
Documentation
- tidy LLM.md indexes; CLAUDE.md -> LLM.md symlink convention (f6b9d51)
0.1.0-alpha.4 (2026-06-01)
Full Changelog: v0.1.0-alpha.3...v0.1.0-alpha.4
Features
Bug Fixes
- client: allow updating header/query affecting fields in
toBuilder()(8cf6f93) - client: incorrect
Retry-Afterparsing (577f45f)
Chores
- ci: skip lint on metadata-only changes (5f08f1c)
- ci: skip uploading artifacts on stainless-internal branches (b81b416)
- drop apache dependency (3f59101)
- internal: allow passing args to
./scripts/test(ab07f70) - internal: bump ktfmt (c5969c8)
- internal: bump palantir-java-format (61e03d4)
- internal: codegen related update (2564be5)
- internal: expand imports (2c74317)
- internal: make
OkHttpconstructor internal (de8a086) - internal: remove mock server code (f9feeb4)
- internal: tweak CI branches (2d74825)
- internal: update
TestServerExtensioncomment (42da073) - internal: update gitignore (8d3685f)
- internal: update retry delay tests (1bf7ac9)
- internal: upgrade AssertJ (b191a70)
- make
Propertiesmore resilient tonull(0f1fecf) - update mock server docs (9b30b6f)
- update placeholder string (8ebc000)
0.1.0-alpha.3 (2026-01-28)
Full Changelog: v0.1.0-alpha.2...v0.1.0-alpha.3
⚠ BREAKING CHANGES
- client: extract auto pagination to shared classes
- client: Migration: - If you were referencing the
AutoPagerclass on a specific*Pageor*PageAsynctype, then you should instead reference the sharedAutoPagerandAutoPagerAsynctypes, under thecorepackageAutoPagerAsyncnow has different usage. You can call.subscribe(...)on the returned object instead to get called back each page item. You can also callonCompleteFuture()to get a future that completes when all items have been processed. Finally, you can call.close()on the returned object to stop auto-paginating early- If you were referencing
getNextPageorgetNextPageParams:- Swap to
nextPage()andnextPageParams() - Note that these both now return non-optional types (use
hasNextPage()before calling these, since they will throw if it's impossible to get another page)
- Swap to
Features
- api: api update (93f7cd0)
- api: api update (589ce7a)
- api: api update (5997aeb)
- api: api update (bb22539)
- api: api update (#9) (a0ab87a)
- client: add enum validation method (ebf7b97)
- client: allow providing some params positionally (4f35e18)
- client: expose request body setter and getter (#16) (69c2c6c)
- client: extract auto pagination to shared classes (e735ee9)
- client: make datetime deserialization more lenient (#15) (d1cf89d)
- client: make union deserialization more robust (#14) (ebf7b97)
- client: support setting base URL via env var (7b40d13)
Bug Fixes
- client: add missing convenience methods (afd652a)
- client: bump to better jackson version (21f5b79)
- client: don't call
validate()during deserialization if we don't have to (#11) (e5af84a) - client: limit json deserialization coercion (#12) (a476286)
- client: return
Optional<T>instead ofOptional<? extends T>(#19) (becb670) - pluralize
listresponse variables (#13) (a7a0b4a)
Performance Improvements
- client: cached parsed type in
HttpResponseFor(#17) (91c37b1) - internal: improve compilation+test speed (668e12a)
Chores
- ci: add timeout thresholds for CI jobs (2711202)
- ci: only use depot for staging repos (76c8fa1)
- client: remove unnecessary json state from some query param classes (ebf7b97)
- configure new SDK language (4e8ff89)
- docs: grammar improvements (ccd164e)
- internal: add invalid json deserialization tests (ebf7b97)
- internal: add json roundtripping tests (ebf7b97)
- internal: codegen related update (f5151f7)
- internal: codegen related update (0b6be6f)
- internal: expand CI branch coverage (1eddeb1)
- internal: java 17 -> 21 on ci (2bcbac5)
- internal: reduce CI branch coverage (c8a88d7)
- internal: remove flaky
-Xbackend-threads=0option (2548d25) - internal: swap from
getNullabletogetOptional(#18) (b4a0c8b) - internal: update java toolchain (5c62cf3)
- internal: use
byteInputStream()in tests (afd652a)
Documentation
- add comments to
JsonFieldclasses (becb670) - client: update jackson compat error message (b2310d3)
- document how to forcibly omit required field (4dc5520)
- explain http client customization (e43d638)
- explain jackson compat in readme (b62faed)
- swap examples used in readme (#20) (4dc5520)
- update documentation links to be more uniform (c878297)
0.1.0-alpha.2 (2025-03-27)
Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2
Chores
0.1.0-alpha.1 (2025-03-27)
Full Changelog: v0.0.1-alpha.0...v0.1.0-alpha.1