Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Finch-API/finch-api-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.0
Choose a base ref
...
head repository: Finch-API/finch-api-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.0.0
Choose a head ref
  • 1 commit
  • 118 files changed
  • 1 contributor

Commits on May 16, 2025

  1. release: 7.0.0 (#548)

    * feat(client): allow providing some params positionally
    
    * feat(client)!: extract auto pagination to shared classes
    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.
    
    * feat(api): api update
    
    * feat(api): api update
    
    * feat(api): api update
    
    * release: 7.0.0
    
    ---------
    
    Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
    stainless-app[bot] authored May 16, 2025
    Configuration menu
    Copy the full SHA
    5737bc6 View commit details
    Browse the repository at this point in the history
Loading