Skip to content

v0.1.0-alpha.64

Pre-release
Pre-release

Choose a tag to compare

@stainless-app stainless-app released this 17 Mar 15:05

0.1.0-alpha.64 (2025-03-15)

Full Changelog: v0.1.0-alpha.63...v0.1.0-alpha.64

⚠ BREAKING CHANGES

  • client: improve naming of some variants (#89)

Features

  • add azure, examples, and message constructors (fb2df0f)
  • add SKIP_BREW env var to ./scripts/bootstrap (#255) (151c5e7)
  • add support for error property in stream (#29) (0c7d6e5)
  • api: add chatgpt-4o-latest model (#24) (110d1f0)
  • api: add file search result details to run steps (#32) (c1862bd)
  • api: add gpt-4.5-preview (#242) (961bf16)
  • api: add gpt-4o-2024-11-20 model (#131) (8fe1011)
  • api: add gpt-4o-audio-preview model for chat completions (#88) (f4a76d0)
  • api: add new, expressive voices for Realtime and Audio in Chat Completions (#101) (f946acc)
  • api: add o1 models (#49) (698a0c9)
  • api: add o3-mini (#195) (1dc8887)
  • api: add omni-moderation model (#63) (7402f24)
  • api: add support for predicted outputs (#110) (73c798a)
  • api: add support for storing chat completions (#228) (3da23d8)
  • api: new o1 and GPT-4o models + preference fine-tuning (#142) (a9e2f35)
  • api: support storing chat completions, enabling evals and model distillation in the dashboard (#72) (b0eae50)
  • api: update enum values, comments, and examples (#181) (29e5479)
  • api: updates (#138) (525573e)
  • api: updates (#259) (aa5cb47)
  • api: updates (#5) (f92a25c)
  • assistants: add polling helpers and examples (#84) (eaa9194)
  • client: accept RFC6838 JSON content types (#256) (9a8f472)
  • client: allow custom baseurls without trailing slash (#254) (32b7eb4)
  • client: improve default client options support (0c621c0)
  • client: improve default client options support (#266) (e68b1cd)
  • client: improve naming of some variants (#89) (6bb0f75)
  • client: send X-Stainless-Timeout header (#204) (72405f0)
  • client: send retry count header (#60) (01ed6ab)
  • examples/structure-outputs: created an example for using structured outputs (d4303e8)
  • extract out ImageModel, AudioModel, SpeechModel (#3) (4b90869)
  • make enums not nominal (#4) (a559359)
  • move pagination package from internal to packages (#81) (c7476f7)
  • pagination: avoid fetching when has_more: false (#218) (978707d)
  • publish (c329601)
  • simplify content union (#18) (b228103)
  • stream-accumulators: added streaming accumulator helpers and example (ecfdb64)
  • support assistants stream (7c00c63)
  • support deprecated markers (#178) (2c21e34)
  • vector store: improve chunking strategy type names (#40) (5d0740f)

Bug Fixes

  • api/types: correct audio duration & role types (#209) (f480273)
  • api: add missing file rank enum + more metadata (#248) (a47089e)
  • api: add missing reasoning effort + model enums (#215) (5b53a1d)
  • api: escape key values when encoding maps (#116) (a29c08e)
  • audio: correct response_format translations type (#62) (c46777b)
  • beta: pass beta header by default (#75) (e0a5caa)
  • client: don't truncate manually specified filenames (#230) (86febfc)
  • client: no panic on missing BaseURL (#121) (9e252ee)
  • correct required fields for flattened unions (#120) (9d6e6f2)
  • deserialization of struct unions that implement json.Unmarshaler (#11) (7c0847a)
  • do not call path.Base on ContentType (#225) (e1c1a55)
  • examples/fine-tuning: used an old constant name (#34) (fb78f1d)
  • example: use correct model (#86) (0f3578d)
  • fix apijson.Port for embedded structs (#174) (13ecf6c)
  • fix apijson.Port for embedded structs (#177) (1820b25)
  • fix early cancel when RequestTimeout is provided for streaming requests (#221) (08320be)
  • fix unicode encoding for json (#193) (4a905a7)
  • flush stream response when done event is sent (#172) (cf1a6a5)
  • requestconfig: copy over more fields when cloning (#44) (3c7aa48)
  • responses: correct computer use enum value (#261) (73d820b)
  • responses: correct reasoning output type (#262) (a636da3)
  • stream: ensure .Close() doesn't panic (#194) (71821a8)
  • stream: ensure .Close() doesn't panic (#201) (a75c812)
  • streaming: correctly accumulate tool calls and roles (#55) (321ff9e)
  • types: correct metadata type + other fixes (1dc8887)
  • update stream error handling (#213) (b2a763d)

Chores

Documentation

Refactors

  • sort fields for squashed union structs (#111) (e927fb0)