Skip to content

v7.0.0

Choose a tag to compare

@stainless-app stainless-app released this 16 May 16:07
5737bc6

7.0.0 (2025-05-16)

Full Changelog: v6.0.0...v7.0.0

⚠ BREAKING CHANGES

  • client: extract auto pagination to shared classes
  • client: Migration: - If you were referencing the AutoPager class on a specific *Page or *PageAsync type, then you should instead reference the shared AutoPager and AutoPagerAsync types, under the core package
    • AutoPagerAsync now has different usage. You can call .subscribe(...) on the returned object instead to get called back each page item. You can also call onCompleteFuture() to get a future that completes when all items have been processed. Finally, you can call .close() on the returned object to stop auto-paginating early
    • If you were referencing getNextPage or getNextPageParams:
      • Swap to nextPage() and nextPageParams()
      • Note that these both now return non-optional types (use hasNextPage() before calling these, since they will throw if it's impossible to get another page)

Features

  • api: api update (f226da9)
  • api: api update (7932861)
  • api: api update (17bd5c1)
  • client: allow providing some params positionally (ec6fa40)
  • client: extract auto pagination to shared classes (c4a8874)