0.26.0-rc2

(feat): RequestOptions now supports overriding global headers like authentication and version.

0.26.0-rc1

(fix): The generator was skipping auto pagination for item arrays that were optional. Now, those are safely handled as well.

0.26.0-rc0

(feat): The TypeScript generator now supports cursor-based auto pagination. With auto pagination, a user can simply iterate over the results automatically:

1for (const user of client.users.list()) {
2 consoler.log(user);
3}

Users can also paginate over data manually

1const page = client.users.list();
2for (const user of page.data) {
3 consoler.log(user);
4}
5
6// Helper methods for manually paginating:
7while (page.hasNextPage()) {
8 page = page.getNextPage();
9 // ...
10}