Releases: braintrustdata/braintrust-java
Releases · braintrustdata/braintrust-java
v0.9.0
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 returnMap<String, JsonValue>
. Now you would access this viaexception.body()
, which returnsJsonValue
. You should no longer assume that the returned error JSON is an object. You can check viaexception.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<T>
instead ofOptional<? 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(...)
totoBuilder()
(#172) (d15ef50) - internal: swap from
getNullable
togetOptional
(#181) (2fca092) - internal: version bump (#157) (0492bdd)
Documentation
- add comments for page methods (445e30e)
- add comments to
JsonField
classes (e3d5b19) - client: update jackson compat error message (6039ca5)
- document how to forcibly omit required field (e797de1)
- explain http client customization (1388be4)
- explain jackson compat in readme (8fd288d)
- minor readme tweak (#169) (4154acd)
- refine comments on multipart params (#165) (6d40318)
- swap examples used in readme (#183) ([e797de1](https://gith...
v0.8.0
0.8.0 (2025-03-18)
Full Changelog: v0.7.0...v0.8.0
⚠ BREAKING CHANGES
- client: refactor multipart formdata impl (#132)
Features
- api: api update (#64) (f1d956d)
- api: api update (#66) (02b0490)
- api: api update (#67) (2ca59f7)
- api: api update (#68) (288a26d)
- api: manual updates (#100) (8aea924)
- api: manual updates (#107) (893c7c9)
- api: manual updates (#148) (03f4bce)
- api: manual updates (#149) (98e4bf7)
- api: manual updates (#150) (be6e2a6)
- api: manual updates (#151) (be0354d)
- api: manual updates (#91) (5e9b07e)
- api: manual updates (#93) (3c635ad)
- api: manual updates (#95) (0e97915)
- api: manual updates (#96) (711a5bc)
- api: manual updates (#97) (f229777)
- api: manual updates (#98) (d27a782)
- api: manual updates (#99) (eb3e689)
- client: accept
InputStream
andPath
for file params (#136) (92073d0) - client: add logging when debug env is set (#106) (0bad87e)
- client: allow configuring timeouts granularly (#130) (606ebb7)
- client: detect binary incompatible jackson versions (#137) (de216b5)
- client: get rid of annoying checked exceptions (#118) (0aabe74)
- client: support
JsonField#asX()
for known values (#114) (550e1a8) - client: support raw response access (#131) (cc8b5a5)
- client: update enum
asX
methods (#113) (ed83ac5) - generate and publish docs (#138) (d951553)
Bug Fixes
- client: add missing
@JvmStatic
(#124) (c4e0b8a) - client: mark some request bodies as optional (#120) (274c95c)
Chores
- api: manual updates (#72) (b6c9f43)
- client: expose
Optional
, not nullable, fromClientOptions
(#135) (bd8a24d) - client: refactor multipart formdata impl (#132) (a32b711)
- client: use deep identity methods for primitive array types (#126) (effc197)
- deps: bump jackson to 2.18.1 (#101) (1d5c887)
- docs: add faq to readme (#119) (5b4d07f)
- docs: reorganize readme (#115) (b65c599)
- internal: add
.kotlin
to.gitignore
(#139) (1e4c3e5) - internal: add async service tests (#125) (5dc06c8)
- internal: add generated comment (#154) (28a3568)
- internal: codegen related update (#105) (ad0fed3)
- internal: codegen related update (#109) (a8b7cd7)
- internal: codegen related update (#111) (029cbc7)
- internal: codegen related update (#117) (aaaef18)
- internal: codegen related update (#122) (c9d3840)
- internal: codegen related update (#123) (9dbc537)
- internal: codegen related update ([#145](https://github.com/braintrust...
v0.7.0
0.7.0 (2024-10-01)
Full Changelog: v0.6.0...v0.7.0
Features
- add model ProjectScoreCategory (#42) (1609ae3)
- api: deduplication (#59) (4ba216e)
- api: manual updates (#43) (fbe2ed0)
- api: manual updates (#44) (324bff1)
- api: manual updates (#45) (ba55a6f)
- api: manual updates (#60) (ce1c596)
- api: manual updates (#61) (774a260)
- api: manual updates (#62) (349cd21)
- api: update via SDK Studio (#39) (d03930e)
- api: update via SDK Studio (#40) (8dd13cc)
- api: update via SDK Studio (#41) (50ccd19)
- api: update via SDK Studio (#47) (7f9fe1e)
- api: update via SDK Studio (#49) (8a3d6b2)
- api: update via SDK Studio (#50) (277c229)
- api: update via SDK Studio (#51) (9f851a5)
- api: update via SDK Studio (#52) (4e6ba2b)
- api: update via SDK Studio (#53) (338bd4d)
- api: update via SDK Studio (#54) (9c103d7)
- api: update via SDK Studio (#55) (af97a69)
- api: update via SDK Studio (#56) (11c77ae)
Bug Fixes
Chores
v0.6.0
v0.5.0
v0.4.0
v0.3.0
0.3.0 (2024-05-10)
Full Changelog: v0.2.0...v0.3.0
Features
- api: update via SDK Studio (#11) (e7431bf)
- api: update via SDK Studio (#12) (3dee163)
- api: update via SDK Studio (#13) (943833b)
- api: update via SDK Studio (#14) (eefe809)
- api: update via SDK Studio (#15) (34977ad)
- api: update via SDK Studio (#16) (c01130d)
- api: update via SDK Studio (#17) (1789858)
- api: update via SDK Studio (#18) (2472bdc)
- api: update via SDK Studio (#9) (637f325)