Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@stainless-app stainless-app released this 14 Jan 19:23

4.0.0 (2025-01-14)

Full Changelog: v3.1.0...v4.0.0

⚠ BREAKING CHANGES

  • client: switch query params objects to use QueryParams (#293)

Features

  • client: add more builder convenience methods for lists (#304) (4c7cecf)
  • client: add various convenience setters to models (#301) (536a4cf)
  • client: allow passing null or optional for nullable fields (#299) (7754377)
  • client: allow setting arbitrary JSON for top-level body params (536a4cf)
  • client: expose getters for JsonField of body params (536a4cf)
  • client: put body field in params, add more convenience methods, and add missing docs (#296) (99b10f6)

Bug Fixes

  • client: add some missing validate() calls (#306) (214c60d)
  • client: consider header properties in page equality (#302) (ca111de)
  • client: consistently throw on omitting required fields (536a4cf)
  • client: convert JsonField containing list type to mutable in builder (536a4cf)

Chores

Documentation

Styles

  • internal: explicitly add some method return types (536a4cf)
  • internal: move headers and query params setters below others (536a4cf)
  • internal: simplify existing convenience setters on params (536a4cf)
  • internal: sort fields (#298) (c10ab38)

Refactors

  • client: switch query params objects to use QueryParams (#293) (15ccd7f)
  • internal: use constructor to deserialize json (#294) (e0242e2)