3.39.0
(feat): Add support for custom pagination with a dedicated CustomPager class, similar to the C# SDK generator.
The CustomPager class provides:
- A
CustomPagerParsercallback type that SDK authors implement to define pagination logic - Support for both forward (
getNextPage) and backward (getPreviousPage) pagination AsyncIterableimplementation for ergonomic consumption withfor await...of- Access to raw response data via
responseandrawResponseproperties
The generated endpoint returns a CustomPager with a default parser that extracts items from the
configured results property and sets hasNextPage/hasPreviousPage to false. SDK authors who need
custom pagination logic can create their own wrapper/factory that calls CustomPager.create() with
their own CustomPagerParser implementation.
3.38.3
(chore): Sort imports and exports in generated TypeScript SDK files for consistent, deterministic output.
This eliminates the need to rely on formatters like prettier, biome, or oxfmt to order imports and exports.
3.38.2
(chore): Pre format and lint as is files and core utilities.
3.38.1
(fix): hasNextPage employs the default for the step attribute on offset-based pagination endpoints if it’s set.
3.38.0
(feat): The oauthTokenOverride feature flag has been removed and is now always enabled.
OAuth token override allows users to skip the OAuth flow by providing a pre-generated bearer token directly.
This feature is now the default behavior and no longer requires configuration.