0.5.0 (2026-01-30)
Full Changelog: v0.4.0...v0.5.0
⚠ BREAKING CHANGES
- replace special flag type
omittablewith justnull - use camel casing for all class properties
Features
- add
BaseResponseclass for accessing raw responses (b803fb8) - add idempotency header support (113b79f)
- add setters to constant parameters (a476273)
- allow both model class instances and arrays in setters (71aa7fc)
- api: add support for Structured Outputs in the Messages API (9fd43ce)
- api: migrate sending message format in output_config rather than output_format (d334157)
- better support for pagination mechanisms (829ee6e)
- improved phpstan type annotations (cc981bb)
- replace special flag type
omittablewith justnull(e1137de) - simplify and make the phpstan types more consistent (9f536fe)
- split out services into normal & raw types (5ba5dbf)
- support unwrapping envelopes (0ed53db)
- use camel casing for all class properties (90f0805)
Bug Fixes
- a number of serialization errors (e318451)
- correctly serialize dates (af8260d)
- support arrays in query param construction (779413f)
- typos in README.md (cb61dee)
Chores
- add git attributes and composer lock file (006c7c2)
- be more targeted in suppressing superfluous linter warnings (4b8cbf5)
- ci: Add Claude Code GitHub Workflow (#240) (4fd215b)
- ensure constant values are marked as optional in array types (66cf88c)
- formatting (5878c16)
- internal: add a basic client test (8835b21)
- internal: codegen related update (1c218af)
- internal: codegen related update (7240372)
- internal: codegen related update (9557a1c)
- internal: codegen related update (a8a13ec)
- internal: codegen related update (e2bebf6)
- internal: codegen related update (213c670)
- internal: codegen related update (2d460ff)
- internal: codegen related update (6087933)
- internal: codegen related update (3e5e21a)
- internal: codegen related update (ee26b2b)
- internal: codegen related update (b3411dd)
- internal: codegen related update (e98bd62)
- internal: codegen related update (94d88c4)
- internal: ignore stainless-internal artifacts (b144935)
- internal: improve pagination tests (94f8bc8)
- internal: minor test script reformatting (e27d068)
- internal: refactor auth by moving concern from base client into client (af7b192)
- internal: update
actions/checkoutversion (212b762) - internal: update phpstan comments (f0f7ddf)
- readme: remove beta warning now that we're in ga (ca60a4b)
- support jsonl streaming (b350cbc)
- switch from
#[Api(optional: true|false)]to#[Required]|#[Optional]for annotations (f938919) - update examples (eef6daf)
- use
$self = clone $this;instead of$obj = clone $this;(1607f76) - use non-trivial test assertions (c223976)
- use single quote strings (441785c)