Skip to content

v0.1.0

Compare
Choose a tag to compare
@stainless-app stainless-app released this 19 Nov 22:20

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 to HttpClient 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 for IsMissing (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 unnecessary [@file](https://github.com/file):Suppress("OVERLOADS_INTERFACE") (0c219ed)
  • internal: remove unnecessary [@file](https://github.com/file):Suppress("OVERLOADS_INTERFACE") (fbf13e1)
  • internal: remove unnecessary [@file](https://github.com/file):Suppress("OVERLOADS_INTERFACE") (b8ab775)
  • internal: remove unused test file (24d08bb)
  • internal: remove useless [@file](https://github.com/file):JvmSynthetic (046092d)
  • internal: update spec link (a3b99f8)
  • internal: update spec url (6d8a32d)
  • sync openapi url (1868ddd)
  • tests: add tests for services (c58ba71)
  • tests: update prism version (f7cb198)
  • types: define FilePurpose enum (e2c15b1)
  • unknown commit message (6eb1979)
  • unknown commit message (c6f3499)
  • unknown commit message (92b5889)
  • unknown commit message (07262da)
  • unknown commit message (c92580f)
  • unknown commit message (c6089f1)
  • unknown commit message (a72d1ea)
  • unknown commit message (80ca5d9)
  • unknown commit message (4fd6c23)
  • unknown commit message (ed455e3)
  • unknown commit message (bf7b4a2)
  • unknown commit message (02b56b3)
  • unknown commit message (93141d4)
  • unknown commit message (ef4d884)
  • unknown commit message (505c349)
  • unknown commit message (54eb041)
  • unknown commit message (44ab47a)
  • unknown commit message (c4d5fbd)
  • unknown commit message (3ab123c)
  • unknown commit message (685553f)
  • unknown commit message (d86694a)
  • unknown commit message (2e43707)
  • unknown commit message (c96911b)
  • unknown commit message (5bab5cc)
  • unknown commit message (1576020)
  • unknown commit message (48a86ca)
  • unknown commit message (b841254)
  • unknown commit message (aef3473)
  • unknown commit message (734939c)
  • unknown commit message (95344ef)
  • unknown commit message (0c219ed)
  • unknown commit message (046092d)
  • unknown commit message (f0bc243)
  • unknown commit message (86e3988)
  • unknown commit message (b8ab775)
  • unknown commit message (2d98a2c)
  • unknown commit message (c58ba71)
  • unknown commit message (881affb)
  • unknown commit message (0b8b5a8)
  • unknown commit message (a804776)
  • unknown commit message (e8fc6aa)
  • unknown commit message (fd0e4bd)
  • unknown commit message (3566be1)
  • unknown commit message (fe5be51)
  • unknown commit message (205ee00)
  • unknown commit message (e87d4ec)
  • unknown commit message (b8509fb)
  • unknown commit message (f8eceaa)
  • unknown commit message (3989402)
  • unknown commit message (c49334f)
  • unknown commit message (c6e40de)
  • unknown commit message (12e0cc6)
  • unknown commit message (9ec34a8)
  • unknown commit message (670e73f)
  • unknown commit message (5207123)
  • unknown commit message (8058647)
  • unknown commit message (6d8a32d)
  • unknown commit message (b9db26a)
  • unknown commit message (ffc1d7a)
  • unknown commit message (5d05171)
  • unknown commit message (1e5d0cd)
  • unknown commit message (b72a723)
  • unknown commit message (df81636)
  • unknown commit message (babeb82)
  • unknown commit message (e2c15b1)
  • unknown commit message (1868ddd)
  • unknown commit message (16fcad2)
  • unknown commit message (0e29d12)
  • unknown commit message (c818fda)
  • unknown commit message (dce0b9e)
  • unknown commit message (7c23848)
  • unknown commit message (7a8cd60)
  • unknown commit message (40e6b7c)
  • unknown commit message (24d08bb)
  • unknown commit message (f7cb198)
  • unknown commit message (a5a855e)
  • unknown commit message (303b5f2)
  • update repo name (11c62f2)
  • use headless jdk for containers (b72a723)

Documentation

  • adjust additional properties example (5d05171)

Styles

  • client: disable formatting for java boilerplate (c6e40de)
  • client: make toString methods consistent (0b8b5a8)
  • client: move equals, hashCode, and toString to the bottom of entity files (9ec34a8)
  • internal: improve OkHttpClient formatting (70f673c)
  • internal: improve OkHttpClient formatting (86e3988)
  • internal: improve RetryingHttpClient formatting (734939c)
  • internal: improve terseness of handlers (3989402)
  • internal: improve terseness of Properties.kt (f8eceaa)
  • internal: make getOrThrow terse and consistent (44ab47a)
  • internal: move Handlers.kt and HttpRequestBodies.kt to core (b8509fb)
  • internal: rename streamingResponse to streamResponse (d86694a)
  • internal: simplify client build method (f0bc243)
  • internal: update comment formatting (2d98a2c)
  • internal: use if and if-else instead of when idiomatically (a804776)

Refactors

  • client: http request methods (c6089f1)
  • client: rename header and query params builder methods (4fd6c23)
  • internal: inline MoreExecutors usage (505c349)
  • internal: polish ClientOptions (13c9038)
  • internal: polish ClientOptions (93141d4)