Skip to content

Latest commit

 

History

History
1209 lines (732 loc) · 95.4 KB

File metadata and controls

1209 lines (732 loc) · 95.4 KB

Changelog

2.16.0 (2026-03-06)

Full Changelog: v2.15.0...v2.16.0

Features

  • api: change array_format to brackets (f9eef6e)
  • api: chore(config): clean up model enum list (#31) (b19aa51)
  • api: remove publishing section from cli target (f802cb0)
  • client: support memory tools (#853) (f824954)
  • tests: update mock server (1ec509c)

Bug Fixes

  • clear last tool response when user sets next params (#895) (5b082a0)
  • client: update model references from claude-4-sonnet-20250514 to claude-sonnet-4-5 (746d5da)
  • set Accept header in more places (bc159c8)

Chores

  • drop apache dependency (ee7f3d4)
  • internal: codegen related update (159c037)
  • internal: expand imports (6a3adca)
  • make Properties more resilient to null (5c7ad57)
  • rename method to avoid conflict (b9b400d)
  • tests: unskip tests that are now supported in steady (8cad6ac)

Documentation

  • additional structured outputs documentation (#302) (3b1f131)
  • streamline README and rebrand to Claude SDK (#815) (6b550bf)

2.15.0 (2026-02-19)

Full Changelog: v2.14.0...v2.15.0

Features

  • api: Add top-level cache control (automatic caching) (836d140)
  • api: Deprecate haiku-3 (a04dca8)
  • api: fix shared UserLocation and error code types (8b2a797)
  • api: manual updates (148cd98)
  • api: Releasing claude-sonnet-4-6 (b32f5d2)
  • client: add connection pooling option (5064a08)

Bug Fixes

Chores

  • internal: make OkHttp constructor internal (eadeb1b)
  • internal: update TestServerExtension comment (01ee3fb)
  • update mock server docs (034370b)

2.14.0 (2026-02-07)

Full Changelog: v2.13.0...v2.14.0

Features

  • api: add support for speed mode (82451ae)

Chores

  • internal: make BedrockBackendTest resilient to ambient AWS config (1d32ff0)
  • internal: upgrade AssertJ (497621a)

2.13.0 (2026-02-05)

Full Changelog: v2.12.0...v2.13.0

Features

  • add warning for thinking enabled usage on new model (#801) (ad68dfc)
  • api: Release Claude Opus 4.6, adaptive thinking, and other features (9014e16)

Chores

  • ci: remove claude-code-review workflow (c623793)
  • internal: allow passing args to ./scripts/test (509badc)
  • remove claude-code-review workflow (c623793)
  • remove claude-code-review workflow (d578437)

2.12.0 (2026-01-29)

Full Changelog: v2.11.1...v2.12.0

Features

  • add output_config to message create params (4c4bb5d)
  • api: Add new methods to tests (#748) (2c2ebdc)
  • api: add support for Structured Outputs in the Messages API (50fb232)
  • api: adds support for Claude Opus 4.5, Effort, Advance Tool Use Features, Autocompaction, and Computer Use v5 (4689271)
  • api: migrate sending message format in output_config rather than output_format (c0103c6)
  • api: migrate sending message format in output_config rather than output_format (a6ea665)
  • client: add HttpRequest#url() method (49afe52)
  • client: allow configuring dispatcher executor service (60554ea)
  • client: send X-Stainless-Kotlin-Version header (d7bffd2)
  • client: support Anthropic models on Microsoft Foundry (#698) (8077051)

Bug Fixes

  • client: BetaMessageAccumulator crash on empty tool input (e0fe678)
  • client: cancel okhttp call when future cancelled (b52f783)
  • client: disallow coercion from float to int (492286b)
  • client: fully respect max retries (e593174)
  • client: implement visitToolSearchToolResult for Beta Accumulator (41191ed)
  • client: preserve time zone in lenient date-time parsing (8e7204c)
  • client: remove duplicate outputConfig parameters (b1c37b8)
  • client: run linter (73e141d)
  • client: send retry count header for max retries 0 (e593174)
  • date time deserialization leniency (f6f7ad1)
  • remove duplicate code (937b34f)
  • resolve lint error (db08d1c)
  • update failing test (4a7c7a9)

Chores

  • ci: add Claude Code GitHub Workflow (4eec6e8)
  • ci: upgrade actions/github-script (18fbb1d)
  • ci: upgrade actions/setup-java (de57407)
  • client: improve example values (d579c45)
  • client: mark claude-3-5-haiku as deprecated (46bf679)
  • fix merge conflict (e307fa0)
  • fix test (b612010)
  • format code (3765903)
  • internal: clean up maven repo artifact script and add html documentation to repo root (d319dd7)
  • internal: correct cache invalidation for SKIP_MOCK_TESTS (7d40d45)
  • internal: depend on packages directly in example (e593174)
  • internal: improve maven repo docs (852f6dc)
  • internal: support uploading Maven repo artifacts to stainless package server (17e663a)
  • internal: update actions/checkout version (7fd4f0a)
  • internal: update maven repo doc to include authentication (23d5c76)
  • internal: use different example values for some enums (5d45a2f)
  • test on Jackson 2.14.0 to avoid encountering FasterXML/jackson-databind#3240 in tests (f6f7ad1)

Documentation

  • remove $ for better copy-pasteabality (b2315f9)

2.11.1 (2025-11-19)

Full Changelog: v2.11.0...v2.11.1

Bug Fixes

  • structured outputs: use correct beta header (ec6d404)

2.11.0 (2025-11-14)

Full Changelog: v2.10.1...v2.11.0

Features

  • api: add support for structured outputs beta (4459de9)

2.10.1 (2025-11-13)

Full Changelog: v2.10.0...v2.10.1

Bug Fixes

  • client: multi-value header serialization (e5726af)

2.10.0 (2025-10-29)

Full Changelog: v2.9.0...v2.10.0

Features

  • api: add ability to clear thinking in context management (bfe013e)
  • api: adding support for agent skills (2d74866)

Bug Fixes

  • tests: provide skills in accumulation tests (dd2d919)

Chores

  • api: mark older sonnet models as deprecated (9327c98)

2.9.0 (2025-10-15)

Full Changelog: v2.8.1...v2.9.0

Features

  • add more helper methods to instantiate union objects (3e3a4bb)
  • api: manual updates (d2170e9)

2.8.1 (2025-09-29)

Full Changelog: v2.8.0...v2.8.1

Chores

  • client: add context-management-2025-06-27 beta header (b6c5683)
  • client: add model-context-window-exceeded-2025-08-26 beta header (d9d0493)

2.8.0 (2025-09-29)

Full Changelog: v2.7.0...v2.8.0

Features

  • api: adds support for Claude Sonnet 4.5 and context management features (c286ab8)
  • client: expose sleeper option (ca9ce4f)

Bug Fixes

  • client: deserialization of empty objects (af93581)
  • client: ensure single timer is created per client (ca9ce4f)
  • client: incorrect getPackageVersion impl (a8b170b)

Chores

  • improve formatter performance (c57630b)
  • improve formatter performance (100e6ad)
  • internal: change some comment formatting (f725d58)
  • internal: codegen related update (14a3c9c)
  • internal: codegen related update (e6fddb4)
  • internal: fix tests (cc05673)

2.7.0 (2025-09-10)

Full Changelog: v2.6.0...v2.7.0

Features

  • api: adds support for Documents in tool results (a299cfd)
  • api: adds support for web_fetch_20250910 tool (dec0520)
  • client: support for Bedrock authorization using API keys (#279) (787d77b)

Bug Fixes

  • accumulator: add web fetch block handling (a731cdd)
  • ci: use java-version 21 for publish step (165cefb)
  • tests: add missing web fetch requests usage (aec8f06)

2.6.0 (2025-09-02)

Full Changelog: v2.5.1...v2.6.0

Features

  • client: adds support for code-execution-2025-08-26 tool (da4c57b)

Bug Fixes

  • client: ensure correct binary content type (197fdd5)
  • fix casing issue (c2c5009)
  • update singularization rules (afec494)

Performance Improvements

  • internal: make formatting faster (7c36322)

Chores

  • api: remove unsupported endpoints (d9b7be3)
  • ci: add build job (061df8e)
  • ci: reduce log noise (b91d777)
  • client: refactor closing / shutdown (f0c796d)
  • client: rename parameter (197fdd5)
  • internal: dynamically determine included projects (93db169)
  • internal: run formatter (06cd69f)
  • internal: support passing arguments to test script (8528c63)
  • internal: support running formatters directly (e0de72e)
  • remove memory upper bound from publishing step (cb2ac3b)
  • tests: setup cache creation in MessageAccumulator test (d5de443)

2.5.1 (2025-08-13)

Full Changelog: v2.5.0...v2.5.1

Chores

  • deprecate older claude-3-5 sonnet models (#591) (c7c4cc1)
  • internal: format identity methods (483576a)

2.5.0 (2025-08-12)

Full Changelog: v2.4.0...v2.5.0

Features

  • betas: add context-1m-2025-08-07 (9207405)

Chores

  • internal: detect breaking changes when removing endpoints (f9f20ea)
  • internal: update comment in script (628d8a0)
  • internal: update test skipping reason (86f2cd4)
  • update @stainless-api/prism-cli to v5.15.0 (5da9253)

2.4.0 (2025-08-08)

Full Changelog: v2.3.1...v2.4.0

Features

  • api: search result content blocks (7ff0d0b)

Chores

  • example: fix run example comment (c209490)
  • increase max gradle JVM heap to 8GB (63801cd)

2.3.1 (2025-08-05)

Full Changelog: v2.3.0...v2.3.1

Bug Fixes

2.3.0 (2025-08-05)

Full Changelog: v2.2.0...v2.3.0

Features

  • add retryable exception (1def48d)
  • api: add claude-opus-4-1-20250805 (2293c85)
  • api: adds support for text_editor_20250728 tool (8dc3158)
  • api: removed older deprecated models (1cb9517)
  • client: add {QueryParams,Headers}#put(String, JsonValue) methods (76d9732)
  • client: add https config options (cd752b3)
  • client: allow configuring env via system properties (427a38d)
  • client: allow setting additional multipart body props (eb4bfdf)
  • client: ensure compat with proguard (ee2a29e)

Bug Fixes

  • client: accidental mutability of some classes (528db15)
  • client: r8 support (16605d7)
  • client: some bad _additionalBodyProperties serialization (e9d67d1)
  • client: support system properties properly (85a9afa)
  • docs: fix FileUpload example in README (054c721)
  • docs: fix FileUpload example in README (b36b104)
  • internal: fix duplication across Client (87f50c1)
  • internal: fix formatting (7a900b1)
  • internal: run formatter (42f6987)

Chores

  • client: add TextEditor_20250429 tool (63eebb9)
  • fix BetaMessageAccumulatorTest (cd016a9)
  • fix MessageAccumulatorTest (e63d274)
  • internal: add async lock helper (09a22a0)
  • internal: bump ci test timeout (c5daf2c)
  • internal: reduce proguard ci logging (f32ca8c)
  • internal: refactor delegating from client to options (9cdfee3)
  • internal: remove unnecessary [...] in [@see](https://github.com/see) (1e74b4b)
  • remove unnecessary setter (0bc854c)

Documentation

Refactors

  • client: reduce unnecessary diff by reordering methods (a1d3b0c)
  • client: reduce unnecessary diff by reordering methods (71dbdec)

2.2.0 (2025-07-18)

Full Changelog: v2.1.0...v2.2.0

Features

  • api: add support for Search Result Content Blocks (c36527b)
  • client: add a withOptions method (27a82a5)
  • client: implement per-endpoint base URL support (4e8302c)
  • vertex: support global region endpoint (44119cb)

Bug Fixes

  • ci: release-doctor — report correct token name (6c97d93)
  • client: bump max requests per host to max requests (5 -> 64) (f2abb48)
  • client: don't close client on withOptions usage when original is gc'd (76af310)
  • client: ensure error handling always occurs (9a56f4f)
  • compilation errors (8ad3163)

Chores

  • api: mark claude-3-opus-20240229 as deprecated (cfa37e8)
  • api: update BetaCitationSearchResultLocation (3bdbf82)
  • ci: bump actions/setup-java to v4 (ab43021)
  • ci: enable for pull requests (9e47921)
  • ci: ensure docs generation always succeeds (8dbfb13)
  • ci: only run for pushes and fork pull requests (82647dd)
  • delete bin/ (7f2f39b)
  • internal: add breaking change detection (cc6c869)
  • internal: allow running specific example from cli (4b19506)

Documentation

Refactors

  • internal: minor ClientOptionsTest change (b28dade)

2.1.0 (2025-06-11)

Full Changelog: v2.0.0...v2.1.0

Features

  • api: api update (823032b)
  • api: manual updates (6156bcb)
  • client: add support for fine-grained-tool-streaming-2025-05-14 (37aa2a1)
  • client: add support for new text_editor_20250429 tool (f85d1a2)
  • client: more toParam() methods (151e181)

Bug Fixes

  • client: toParam methods (2632693)
  • client: deprecate BetaBase64PDFBlock in favor of BetaRequestDocumentBlock (e83424b)
  • client: handle server tool use delta and extract to better type (3d2f428)
  • client: remove @MustBeClosed for future returning methods (b9b63ca)

Chores

  • docs: adjust MCP example to show use of beta header (7d1758a)
  • internal: fix release workflows (a5287dc)
  • tests: add test for fine-grained-tool-streaming-2025-05-14 logic (2b39131)

2.0.0 (2025-05-22)

Full Changelog: v1.4.0...v2.0.0

⚠ BREAKING CHANGES

  • client: improve some class names
  • client: extract auto pagination to shared classes
  • client: Migration: - If you were referencing the AutoPager class on a specific *Page or *PageAsync type, then you should instead reference the shared AutoPager and AutoPagerAsync types, under the core package
    • AutoPagerAsync now has different usage. You can call .subscribe(...) on the returned object instead to get called back each page item. You can also call onCompleteFuture() 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 getNextPage or getNextPageParams:
      • Swap to nextPage() and nextPageParams()
      • 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)

Features

  • api: add claude 4 models, files API, code execution tool, MCP connector and more (6deae45)
  • client: allow providing some params positionally (f05e741)
  • client: extract auto pagination to shared classes (b7d354b)

Bug Fixes

  • internal: fix message usage accumulation (7427fdb)
  • tests: update MessageAccumulator tests to match implementation (ed8ff39)

Chores

  • internal: codegen related update (8d45948)
  • internal: fix custom code (88c1572)
  • internal: fix custom code (b0985c6)

Documentation

  • add security warning for overriding parameters (#504) (0100532)

Refactors

  • client: improve some class names (aa1f7b7)

1.4.0 (2025-05-07)

Full Changelog: v1.3.1...v1.4.0

Features

  • api: adds web search capabilities to the Claude API (6a873d4)

Chores

  • disable configuration cache for releases (c12dfb7)
  • internal: remove flaky -Xbackend-threads=0 option (af5fd05)

1.3.1 (2025-05-02)

Full Changelog: v1.3.0...v1.3.1

Chores

  • internal: update java toolchain (dda0371)

1.3.0 (2025-04-30)

Full Changelog: v1.2.0...v1.3.0

Features

  • api: manual updates (12bfce7)
  • client: make pagination robust to missing data (fafa963)
  • client: support setting base URL via env var (#244) (b0a125a)

Bug Fixes

  • client: bump to better jackson version (#246) (6d17012)

Performance Improvements

  • internal: improve compilation+test speed (6c86a79)

Chores

  • ci: only use depot for staging repos (199e191)
  • ci: run on more branches and use depot runners (316271f)
  • internal: codegen related update (ed9783e)
  • internal: codegen related update (13676d4)
  • internal: delete flaky/unnecessary tests (5e3d901)
  • internal: expand CI branch coverage (#245) (be51e0c)
  • internal: isolate backend tests that use env (189eebd)
  • internal: java 17 -> 21 on ci (adbb816)
  • internal: reduce CI branch coverage (90e1fe1)

Documentation

  • add comments for page methods (fafa963)
  • client: update jackson compat error message (9c4f68f)
  • explain http client customization (c97180b)
  • explain jackson compat in readme (21448fa)
  • update documentation links to be more uniform (0022d67)

Refactors

  • client: deduplicate page response classes (#247) (fafa963)
  • client: migrate pages to builder pattern (#248) (162fe98)

1.2.0 (2025-04-15)

Full Changelog: v1.1.0...v1.2.0

Features

Bug Fixes

  • client: handle empty tool arg JSON in accumulator #249 (#252) (dbb87e2)
  • client: return Optional&lt;T&gt; instead of Optional<? extends T> (#237) (a73ed0c)
  • client: translate streaming IOException into custom exception (#233) (8b925b9)

Chores

  • internal: codegen related update (#235) (3816ae3)
  • internal: swap from getNullable to getOptional (#236) (0b97285)

Documentation

  • add comments to JsonField classes (a73ed0c)
  • document how to forcibly omit required field (6da7748)
  • swap examples used in readme (#238) (6da7748)

1.1.0 (2025-04-03)

Full Changelog: v1.0.0...v1.1.0

Features

  • api: extract ContentBlockDelta events into their own schemas (#226) (49a83cf)
  • api: manual updates (d5afb44)
  • api: manual updates (93d6364)
  • client: add enum validation method (1ce5a58)
  • client: expose request body setter and getter (#229) (fb26c1f)
  • client: make datetime deserialization more lenient (#228) (52b871d)
  • client: make union deserialization more robust (#227) (1ce5a58)

Bug Fixes

  • client: compilation errors (c8e47fd)
  • client: limit json deserialization coercion (#223) (a5987f6)

Performance Improvements

  • client: cached parsed type in HttpResponseFor (#230) (377c532)

Chores

  • client: remove unnecessary json state from some query param classes (1ce5a58)
  • internal: add invalid json deserialization tests (1ce5a58)
  • internal: add json roundtripping tests (1ce5a58)

Documentation

1.0.0 (2025-03-31)

Full Changelog: v0.9.2...v1.0.0

Bug Fixes

  • client: don't call validate() during deserialization if we don't have to (#219) (061bd9b)

Chores

Documentation

0.9.2 (2025-03-27)

Full Changelog: v0.9.1...v0.9.2

Bug Fixes

  • client: deduplicate stop reason type (d0c9ef4)
  • client: deduplicate stop reason type (#212) (19ed57d)
  • client: map deserialization bug (658fd88)

Chores

  • add hash of OpenAPI spec/config inputs to .stats.yml (#210) (8d3cbd4)
  • internal: delete unused methods and annotations (#213) (658fd88)

0.9.1 (2025-03-25)

Full Changelog: v0.9.0...v0.9.1

Bug Fixes

  • client: incorrect property value in helper method (#209) (f670f18)

Documentation

0.9.0 (2025-03-25)

Full Changelog: v0.8.0...v0.9.0

Features

  • client: add convenience methods for some response headers (#196) (a6bad98)
  • client: add message accumulator helper (6031ac3)
  • client: add sse exception type (#197) (ecb7c02)
  • client: support a lower jackson version (#201) (cd51a6d)
  • client: throw on incompatible jackson version (cd51a6d)

Chores

  • client: delete unused enums (#190) (8385e32)
  • internal: add generated comment (#181) (ba94b91)
  • internal: add some tests for union classes (#188) (ba17044)
  • internal: add tests for _headers() (#186) (4d7c8b0)
  • internal: delete duplicate tests (03c696c)
  • internal: fix example formatting (#194) (fb9fedc)
  • internal: generate more tests (fec918b)
  • internal: make multipart assertions more robust (9799aee)
  • internal: make test classes internal (#180) (c7df54f)
  • internal: refactor query param serialization impl and tests (#184) (71df800)
  • internal: refactor some test assertions (03c696c)
  • internal: reformat some tests (#187) (fec918b)
  • internal: remove unnecessary assertNotNull calls (9799aee)
  • internal: remove unnecessary import (a6bad98)
  • internal: rename getPathParam (#185) (03c696c)
  • internal: reorder some params methodsc (03c696c)

Documentation

0.8.0 (2025-03-13)

Full Changelog: v0.7.0...v0.8.0

⚠ BREAKING CHANGES

  • client: move classes into subpackages and shorten names (#173)

Chores

  • client: move classes into subpackages and shorten names (#173) (f5edb0c)
  • internal: add .kotlin to .gitignore (#165) (31f4b52)
  • internal: don't use JvmOverloads in interfaces (1193767)
  • internal: make regionMissing test more robust (23989ce)
  • internal: reenable warnings as errors (#169) (1193767)
  • internal: remove extra empty newlines (#175) (a372a5f)
  • internal: use getOrNull instead of orElse(null) (#167) (898c39b)

Documentation

0.7.0 (2025-03-06)

Full Changelog: v0.6.0...v0.7.0

Features

  • client: accept InputStream and Path for file params (#162) (803e738)
  • client: detect binary incompatible jackson versions (#164) (2bb461b)

Chores

  • ci: actually run more examples (d3bd8ef)
  • ci: run more examples (25cdaa0)
  • client: expose Optional, not nullable, from ClientOptions (#158) (2b96d8e)

Documentation

  • note required fields in builder javadoc (#156) (f3b9086)
  • remove extra example stuff (c21759b)

0.6.0 (2025-03-05)

Full Changelog: v0.5.0...v0.6.0

⚠ BREAKING CHANGES

  • client: refactor multipart formdata impl (#152)

Features

  • api: add support for disabling tool calls (#147) (584abcf)
  • client: add Bedrock and Vertex support (#111) (e637f76)
  • client: allow configuring timeouts granularly (#149) (273e179)
  • client: support raw response access (#151) (2c2ad9b)

Chores

  • client: refactor multipart formdata impl (#152) (b6af3af)
  • internal: fix bedrock test when AWS_REGION env is set (06bd99e)
  • internal: refactor ErrorHandlingTest (#148) (d6973c0)
  • internal: use assertNotNull in tests (b049ff4)

Documentation

  • add raw response readme documentation (#153) (17144cc)
  • update URLs from stainlessapi.com to stainless.com (#146) (562878a)

0.5.0 (2025-02-27)

Full Changelog: v0.4.0...v0.5.0

Features

  • api: add URL source blocks for images and PDFs (#143) (1664d96)
  • client: allow omitting params object when none required (#138) (bb32e01)

Bug Fixes

Chores

  • client: use deep identity methods for primitive array types (#141) (b63432c)
  • internal: add async service tests (#140) (4cea171)
  • internal: improve sync service tests (4cea171)
  • internal: refactor ServiceParamsTest (#142) (382a795)
  • internal: update spec (#134) (5fd7122)

Documentation

0.4.0 (2025-02-24)

Full Changelog: v0.3.0...v0.4.0

Features

  • api: add claude-3.7 + support for thinking (ff25a37)

0.3.0 (2025-02-21)

Full Changelog: v0.2.0...v0.3.0

Features

  • client: add an AsyncStreamResponse#onCompleteFuture() method (#126) (36473c8)
  • client: get rid of annoying checked exceptions (#124) (da9d44d)
  • client: support JsonField#asX() for known values (#118) (f3eb6d4)
  • client: update enum asX methods (#117) (d7ce356)

Bug Fixes

  • client: add missing streamHandlerExecutor method (#121) (d7eee9f)
  • client: prevent IOException when closing stream early (#128) (25405b3)

Chores

  • ci: update gradle actions to v4 (#123) (1d0d249)
  • docs: add faq to readme (#127) (8c74fb4)
  • docs: add streaming info to readme (d7eee9f)
  • docs: reorganize readme (#119) (64dc7b9)
  • internal: get rid of configuration cache (#122) (632b4fd)
  • internal: make body class constructors private (ac8128c)
  • internal: make body classes for multipart requests (ac8128c)
  • internal: misc formatting changes (ac8128c)
  • internal: optimize build and test perf (d14a7b6)
  • internal: refactor PhantomReachableClosingAsyncStreamResponse impl (#112) (a87231c)
  • internal: rename internal body classes (ac8128c)
  • internal: update formatter (#115) (d14a7b6)
  • internal: update some formatting in Values.kt (f3eb6d4)
  • internal: use better test example values (#116) (ac8128c)

Documentation

  • add immutability explanation to readme (#130) (81915c1)
  • add more documentation to AsyncStreamResponse (36473c8)
  • add more phantom reachability docs (a87231c)
  • add stream cancellation example (520fe0c)
  • add token counting example (9d029a3)
  • remove unnecessary catch clauses in readme (#125) (a49f55a)
  • remove unnecessary checked exception signatures (5bb9829)
  • use onCompleteFuture() in examples (8c45c54)

0.2.0 (2025-02-12)

Full Changelog: v0.1.0...v0.2.0

Features

  • client: remove unnecessary enums (899302d)
  • client: remove unnecessary enums (#110) (9f62353)
  • client: send client-side timeout headers (#106) (b3d911a)

Bug Fixes

  • api: add missing @MustBeClosed annotations (#109) (1200422)
  • api: switch CompletableFuture&lt;Void&gt; to CompletableFuture<Void?> (1200422)
  • client: add missing validation calls on response (1200422)
  • client: always provide a body for PATCH methods (1200422)

Chores

  • internal: minor formatting/style changes (1200422)
  • internal: rename some tests (1200422)

Documentation

0.1.0 (2025-01-31)

Full Changelog: v0.1.0-alpha.11...v0.1.0

Features

  • client: helpers for discriminated union variants with one required prop (#98) (03c6ff6)

Bug Fixes

  • client: don't leak responses when retrying (#103) (052894b)

Chores

Documentation

0.1.0-alpha.11 (2025-01-29)

Full Changelog: v0.1.0-alpha.10...v0.1.0-alpha.11

Chores

  • internal: improve RetryingHttpClientTest (#97) (314215c)

Documentation

0.1.0-alpha.10 (2025-01-29)

Full Changelog: v0.1.0-alpha.9...v0.1.0-alpha.10

⚠ BREAKING CHANGES

  • client: better union variant method and variable names (#82)

Features

  • api: add citations (#78) (f206f8a)
  • client: add _queryParams and _headers methods (#94) (6387b49)
  • client: add close method (#87) (2ef94d1)
  • client: better union variant method and variable names (#82) (f961513)

Bug Fixes

  • client: async streaming flakiness (#85) (fbc58f3)
  • client: make some classes and constructors non-public (#90) (803559d)
  • examples (0a7cd8c)

Chores

Documentation

Refactors

  • internal: extract request preparation logic (6387b49)

0.1.0-alpha.9 (2025-01-22)

Full Changelog: v0.1.0-alpha.8...v0.1.0-alpha.9

Features

  • client: make message roundtripping more robust (#75) (3153b8b)
  • client: support results endpoint (#73) (361a2d2)

Bug Fixes

  • client: add missing default headers (#72) (4bfb8c5)
  • client: make service impl constructors internal (#70) (77f8873)

Chores

  • internal: add file comment (#74) (70def92)
  • internal: move StreamResponse method (#65) (083a7b5)
  • internal: refactor streaming implementation (#64) (02dcd90)
  • internal: remove space (#63) (b3a86b3)
  • internal: upgrade kotlin compiler and gradle (#66) (8685797)

Documentation

0.1.0-alpha.8 (2025-01-15)

Full Changelog: v0.1.0-alpha.7...v0.1.0-alpha.8

Chores

  • internal: add and tweak check functions (#55) (16f8002)
  • internal: remove unused gradle task (#60) (f503120)
  • internal: tweak client options nullability handling (16f8002)
  • simplify examples involving lists (#57) (b9f1145)
  • simplify examples involving unions (#58) (e800907)

Documentation

  • don't mention a non-existent SDK (#59) (421a9ab)

0.1.0-alpha.7 (2025-01-14)

Full Changelog: v0.1.0-alpha.6...v0.1.0-alpha.7

⚠ BREAKING CHANGES

  • client: switch query params objects to use QueryParams (#31)

Features

  • api: add message batch delete endpoint (#29) (4cfead7)
  • client: add more builder convenience methods for lists (#46) (40210f9)
  • client: add various convenience setters to models (#44) (2588011)
  • client: allow passing null or optional for nullable fields (#40) (f1594bf)
  • client: allow setting arbitrary JSON for top-level body params (2588011)
  • client: expose getters for JsonField of body params (2588011)
  • client: put body field in params, add more convenience methods, and add missing docs (#37) (bc9974b)

Bug Fixes

  • client: add some missing validate() calls (#49) (3030d05)
  • client: consistently throw on omitting required fields (2588011)
  • client: convert JsonField containing list type to mutable in builder (2588011)

Chores

  • internal: add some missing newlines between methods (#48) (67e7461)
  • internal: extract a checkRequired function (#54) (1562284)
  • internal: fix up root build.gradle.kts formatting (#50) (b766f44)
  • internal: refactor validate methods (3030d05)
  • internal: remove unused Gradle imports (#51) (acd68e0)
  • internal: remove unused or unnecessary Gradle imports (#52) (5c2320d)
  • internal: update examples (#41) (8dc8b63)

Documentation

Styles

  • internal: explicitly add some method return types (2588011)
  • internal: move headers and query params setters below others (2588011)
  • internal: simplify existing convenience setters on params (2588011)
  • internal: sort fields (#39) (de172c3)

Refactors

  • client: switch query params objects to use QueryParams (#31) (29a101a)
  • internal: use constructor to deserialize json (#32) (6f08181)

0.1.0-alpha.6 (2024-12-28)

Full Changelog: v0.1.0-alpha.5...v0.1.0-alpha.6

Chores

Documentation

  • add note about feedback (79fc77b)

0.1.0-alpha.5 (2024-12-17)

Full Changelog: v0.1.0-alpha.4...v0.1.0-alpha.5

Features

  • api: general availability updates (#21) (a44228a)

Chores

  • api: update spec version (#19) (ecefc79)
  • internal: remove unused and expand used wildcard imports (#17) (7a6d445)
  • internal: remove unused and expand used wildcard imports (#18) (54bb13a)
  • internal: remove unused imports (#13) (d7dcdbc)
  • internal: update spec (#20) (bbe65de)
  • test: remove unused imports (#15) (9315104)
  • test: use JsonValue instead of JsonString (#16) (13429e3)

0.1.0-alpha.4 (2024-12-11)

Full Changelog: v0.1.0-alpha.3...v0.1.0-alpha.4

Chores

  • update example values in tests and docs (#9) (5f50cbb)

Styles

  • internal: make enum value definitions less verbose (#11) (cd0507b)
  • internal: move enum identity methods to bottom of class (#12) (804f3ec)

0.1.0-alpha.3 (2024-12-10)

Full Changelog: v0.1.0-alpha.2...v0.1.0-alpha.3

Features

Documentation

  • use latest sonnet in example snippets (#6) (a8f9175)

0.1.0-alpha.2 (2024-12-10)

Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2

Chores

  • internal: configure sonatype (#4) (d626be5)

Documentation

  • add note about alpha to readme (bda246c)

0.1.0-alpha.1 (2024-12-09)

Full Changelog: v0.0.1-alpha.0...v0.1.0-alpha.1

Features