Releases: openai/openai-java
Releases · openai/openai-java
v0.4.0
v0.3.0
v0.2.0
0.2.0 (2024-11-20)
Full Changelog: v0.1.0...v0.2.0
Features
Performance Improvements
Chores
Documentation
v0.1.0
0.1.0 (2024-11-08)
Full Changelog: v0.0.1...v0.1.0
⚠ BREAKING CHANGES
- client: simplify structure of strings with presets
- client: replace multimaps with custom types
- client: add/rename methods for headers/query params
- client: rename header and query params builder methods
- client: union and builder method naming conflicts
- client: don't generate default variant field/method names with underscores
Features
- add example (ff05dec)
- add SSE and many other major updates (6eb3f62)
- api: add chatgpt-4o-latest model (f0d7c9a)
- api: add file search result details to run steps (9ec089e)
- api: add gpt-4o-audio-preview model for chat completions (e81ac84)
- api: add new gpt-4o-mini models (a5a855e)
- api: add new, expressive voices for Realtime and Audio in Chat Completions (c4d5fbd)
- api: add o1 models (b9db26a)
- api: add omni-moderation model (5935c8c)
- api: add support for predicted outputs (a72d1ea)
- api: add uploads endpoints (9963139)
- api: support storing chat completions, enabling evals and model distillation in the dashboard (670e73f)
- api: updates (c818fda)
- client: add
Headers
class (339e93c) - client: add
Headers
class (02b56b3) - client: add
QueryParams
class (bf7b4a2) - client: add
User-Agent
header (5bab5cc) - client: add more endpoints (48a86ca)
- client: add streaming (e8fc6aa)
- client: add/rename methods for headers/query params (80ca5d9)
- client: added structured fields to errors (ffc1d7a)
- client: clean up resource leaks when the resource becomes phantom reachable (3ab123c)
- client: improve binary return values (40e6b7c)
- client: more additional body param setters (07262da)
- client: propagate headers/query params methods to client builders (ed455e3)
- client: replace multimaps with custom types (c92580f)
- client: send retry count header (8058647)
- client: set
X-Stainless-Runtime
header (1576020) - client: simplify structure of strings with presets (c6f3499)
- client: support error property (aef3473)
- client: support union discriminators in deserialization (fd0e4bd)
- extract out
ImageModel
,AudioModel
,SpeechModel
(7c23848) - make enums not nominal (dce0b9e)
- updates (4fbb12b)
- updates (303b5f2)
- updates (#4) (af9f9a2)
- vector store: improve chunking strategy type names (1e5d0cd)
Bug Fixes
- audio: correct response_format translations type (f84b960)
- client: accidental double-wrapping with
RetryingHttpClient
(c96911b) - client: add
@JvmOverloads
toHttpClient
methods (95344ef) - client: correct types for transcriptions / translations (5207123)
- client: disallow reusing stream response (6eb1979)
- client: don't generate default variant field/method names with underscores (c49334f)
- client: ensure constructed objects are immutable (ef4d884)
- client: ensure SSE
BufferedReader
gets closed (685553f) - client: error class
toBuilder
not copying fields (92b5889) - client: escape keywords reserved in java, but not in kotlin, for the java sdk (12e0cc6)
- client: implement
hashCode
forIsMissing
(b841254) - client: naming of some variants (3a764f2)
- client: naming of some variants (881affb)
- client: union and builder method naming conflicts (3566be1)
- docs: use correct putAdditionalProperty value (babeb82)
- example for preset simplification (#150) (1c63b4b)
- improve schema definitions (6beee8a)
- internal: remove unnecessary error handler in client (fe5be51)
- internal: remove unnecessary error handlers (205ee00)
- remove additionalBodyProperties from methods that don't support request bodies (df81636)
Chores
- ci: bump prism mock server version (16fcad2)
- ci: codeowners file (0e29d12)
- ci: run tests in CI (7a8cd60)
- docs: fix maxium typo (c6258a2)
- internal: delete unused function (54eb041)
- internal: omit unnecessary code (e87d4ec)
- internal: remove unnecessary
.buffered()
call (2e43707) - internal: remove unne...