Skip to content

v0.90.0

Choose a tag to compare

@stainless-app stainless-app released this 12 May 15:48

0.90.0 (2025-05-12)

Full Changelog: v0.89.1...v0.90.0

⚠ BREAKING CHANGES

  • client: improve some class names
  • 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: manual updates (cda7a4a)
  • client: allow providing some params positionally (0da037e)
  • client: extract auto pagination to shared classes (b2a1763)

Chores

  • internal: fix custom code (a94fb16)
  • internal: fix custom code (5dabc27)
  • internal: remove flaky -Xbackend-threads=0 option (3ac784c)

Refactors

  • client: improve some class names (0a90771)