Skip to content

release: 0.71.0#132

Open
stainless-app[bot] wants to merge 2 commits into
mainfrom
release-please--branches--main--changes--next--components--sdk
Open

release: 0.71.0#132
stainless-app[bot] wants to merge 2 commits into
mainfrom
release-please--branches--main--changes--next--components--sdk

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

0.71.0 (2026-06-24)

Full Changelog: v0.70.0...v0.71.0

Features

  • Expose audit logs in public SDK (e08b560)

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


Note

Low Risk
Additive OpenAPI-generated client surface and pagination; no changes to auth, routing, or existing resources beyond exports and version metadata.

Overview
Release 0.71.0 adds organization audit log search to the public TypeScript SDK, plus the pagination machinery that endpoint uses.

Callers can use client.auditLogs.list() against GET /audit-logs with required start / end time bounds and optional filters (method, auth_strategy, service, search, etc.). Results are typed as AuditLogEntry (request metadata such as path, status, user, IP, duration).

Listing uses a new PageTokenPagination helper that reads x-next-page-token and x-has-more (distinct from existing offset-based lists). PageTokenPagination types are exported on the Kernel namespace alongside OffsetPagination.

The rest of the diff is version 0.71.0, changelog, OpenAPI stats, api.md, and skipped generated tests for auditLogs.list.

Reviewed by Cursor Bugbot for commit 3de2942. Bugbot is set up for automated code reviews on this repo. Configure here.

@stainless-app

stainless-app Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

🧪 Testing

To try out this version of the SDK:

npm install 'https://pkg.stainless.com/s/kernel-typescript/e08b560f83fd5532f2e45940dd2b92bdbbe27951/dist.tar.gz'

Expires at: Fri, 24 Jul 2026 18:43:31 GMT
Updated at: Wed, 24 Jun 2026 18:43:31 GMT

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3de2942. Configure here.

Comment thread src/core/pagination.ts
page_token: cursor,
},
};
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silent audit log pagination truncation

High Severity

PageTokenPagination stops auto-paginating when x-has-more is true but x-next-page-token is missing or empty. This causes callers to silently miss records, as the system treats pagination as complete instead of indicating an issue.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3de2942. Configure here.

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.

0 participants