Skip to navigation

3.8.0

(feat): Add getResponse() method to BasePage for accessing pagination metadata like cursor tokens. This enables stateless pagination by providing access to the full API response object.

Usage example:

SyncPagingIterable<User> users = client.users().list();
users.getResponse().ifPresent(response -> {
String cursor = response.getNext();
// Use cursor for stateless pagination
});

3.7.0

(feat): Wire tests are now enabled by default for all Java SDKs, providing comprehensive HTTP protocol validation tests using MockWebServer. Wire tests validate request/response serialization, HTTP methods, headers, and API contract adherence. To disable wire tests, explicitly set enable-wire-tests: false in your generator configuration.