Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Apr 15, 2025

Automated Release PR

0.57.0 (2025-05-22)

Full Changelog: v0.56.0...v0.57.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

  • client: allow providing some params positionally (7ddd872)
  • client: extract auto pagination to shared classes (9affbde)

Bug Fixes

  • internal: fix name collision errors from Unit import (1f7beef)

Performance Improvements

  • internal: improve compilation+test speed (f72c4ad)

Chores

  • ci: only use depot for staging repos (68dcdd8)
  • ci: run on more branches and use depot runners (ddcc77e)
  • docs: grammar improvements (7b5fb07)
  • internal: codegen related update (9df208b)
  • internal: codegen related update (7db8db6)
  • internal: java 17 -> 21 on ci (7f2fb10)
  • internal: remove flaky -Xbackend-threads=0 option (b085373)
  • internal: update java toolchain (2b4abdf)

Documentation

  • client: update jackson compat error message (b3ceb27)
  • explain http client customization (31827ac)
  • explain jackson compat in readme (fb2505d)

Refactors

  • client: improve some class names (9460c52)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 177738c to fb2505d Compare April 16, 2025 14:08
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from cdbbd7b to f72c4ad Compare April 16, 2025 15:33
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 703185f to 31827ac Compare April 16, 2025 20:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 36d0ae6 to 7db8db6 Compare April 22, 2025 21:13
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4be82df to ddcc77e Compare April 23, 2025 18:08
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ac06745 to 68dcdd8 Compare April 23, 2025 20:09
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a195850 to 7f2fb10 Compare April 23, 2025 22:12
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 52321b1 to 2b4abdf Compare May 2, 2025 00:37
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3f59e75 to b085373 Compare May 6, 2025 18:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9f4dc4c to 9df208b Compare May 8, 2025 21:18
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b7e7d83 to 7ddd872 Compare May 8, 2025 22:18
@stainless-app stainless-app bot changed the title release: 0.56.1 release: 0.57.0 May 8, 2025
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b5a36c3 to 7ddd872 Compare May 8, 2025 22:18
refactor(client)!: refactor async auto-pagination
refactor(client)!: rename `getNextPage{,Params}` to `nextPage{,Params}`
refactor(client)!: swap `nextPage{,Params}` to return non-optional

# 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)

There are examples and further information about pagination in the readme.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a2583f3 to 9affbde Compare May 9, 2025 00:01
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b2ebd6b to 9460c52 Compare May 9, 2025 00:17
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4790c69 to fca1dab Compare May 18, 2025 20:12
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ea1993c to 7b5fb07 Compare May 21, 2025 15:20
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from c1db2f2 to 1f7beef Compare May 22, 2025 21:57
@stainless-app stainless-app bot merged commit 1b46759 into main May 22, 2025
1 of 2 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented May 22, 2025

🤖 Release is at https://github.com/orbcorp/orb-java/releases/tag/v0.57.0 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants