Skip to content

Releases: braintrustdata/braintrust-java

v0.9.0

23 Apr 20:33
Compare
Choose a tag to compare

0.9.0 (2025-04-23)

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

⚠ BREAKING CHANGES

  • client: refactor exception structure and methods (#164)
  • client: Migration: Previously you would access error JSON on an exception via exception.error()._additionalProperties(), which would return Map<String, JsonValue>. Now you would access this via exception.body(), which returns JsonValue. You should no longer assume that the returned error JSON is an object. You can check via exception.body().asObject().

Features

  • client: add enum validation method (7fe60b3)
  • client: expose request body setter and getter (#178) (a36c0b6)
  • client: make datetime deserialization more lenient (#177) (a65987d)
  • client: make pagination robust to missing data (445e30e)
  • client: make union deserialization more robust (#176) (7fe60b3)
  • client: support a lower jackson version (#170) (803e291)
  • client: support setting base URL via env var (85b334a)
  • client: throw on incompatible jackson version (803e291)

Bug Fixes

  • client: bump to better jackson version (a2f69b5)
  • client: don't call validate() during deserialization if we don't have to (#173) (e71f053)
  • client: limit json deserialization coercion (#174) (63e2b2c)
  • client: map deserialization bug (2a52b9f)
  • client: return Optional&lt;T&gt; instead of Optional<? extends T> (#182) (e3d5b19)
  • client: support kotlin 1.8 runtime (#161) (c9856ed)
  • pluralize list response variables (#175) (8d7b939)

Performance Improvements

  • client: cached parsed type in HttpResponseFor (#180) (49c0c0a)
  • internal: improve compilation+test speed (8efd75a)

Chores

  • ci: add timeout thresholds for CI jobs (15222f8)
  • client: refactor exception structure and methods (#164) (8463834)
  • client: remove unnecessary json state from some query param classes (7fe60b3)
  • internal: add invalid json deserialization tests (7fe60b3)
  • internal: add json roundtripping tests (7fe60b3)
  • internal: codegen related update (732dd76)
  • internal: codegen related update (#159) (45cca50)
  • internal: codegen related update (#162) (a490f5f)
  • internal: codegen related update (#163) (140986d)
  • internal: codegen related update (#179) (d32e7e5)
  • internal: delete unused methods and annotations (#171) (2a52b9f)
  • internal: expand CI branch coverage (6e596e4)
  • internal: fix example formatting (#166) (3ce1a02)
  • internal: generate more tests (e7cdefc)
  • internal: make multipart assertions more robust (6d40318)
  • internal: reduce CI branch coverage (491a2ae)
  • internal: reformat some tests (#160) (e7cdefc)
  • internal: remove unnecessary assertNotNull calls (6d40318)
  • internal: remove unnecessary import (#167) (03d8ca9)
  • internal: swap from Builder().from(...) to toBuilder() (#172) (d15ef50)
  • internal: swap from getNullable to getOptional (#181) (2fca092)
  • internal: version bump (#157) (0492bdd)

Documentation

Read more

v0.8.0

18 Mar 17:14
Compare
Choose a tag to compare

0.8.0 (2025-03-18)

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

⚠ BREAKING CHANGES

  • client: refactor multipart formdata impl (#132)

Features

Bug Fixes

  • client: add missing @JvmStatic (#124) (c4e0b8a)
  • client: mark some request bodies as optional (#120) (274c95c)

Chores

Read more

v0.7.0

01 Oct 16:45
Compare
Choose a tag to compare

0.7.0 (2024-10-01)

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

Features

Bug Fixes

  • api: fix go build (#58) (ae79bfb)
  • internal: fix issues with imports and categories (faab28a)

Chores

v0.6.0

23 Jul 20:21
Compare
Choose a tag to compare

0.6.0 (2024-07-23)

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

Features

Chores

  • internal: codegen related update (#34) (be915fc)

v0.5.0

17 May 17:24
Compare
Choose a tag to compare

0.5.0 (2024-05-17)

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

Features

Chores

v0.4.0

17 May 00:23
Compare
Choose a tag to compare

0.4.0 (2024-05-16)

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

Features

v0.3.0

10 May 23:37
Compare
Choose a tag to compare

0.3.0 (2024-05-10)

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

Features

v0.2.0

04 Feb 23:47
adb4f92
Compare
Choose a tag to compare

0.2.0 (2024-02-04)

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

Features

v0.1.0

04 Feb 21:09
38eafa2
Compare
Choose a tag to compare

0.1.0 (2024-02-03)

Full Changelog: v0.0.1...v0.1.0

Features