Skip to content

release: 0.71.0#127

Merged
stainless-app[bot] merged 4 commits into
mainfrom
release-please--branches--main--changes--next
Jun 26, 2026
Merged

release: 0.71.0#127
stainless-app[bot] merged 4 commits into
mainfrom
release-please--branches--main--changes--next

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-26)

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

Features

  • Add auth connection event timeline endpoint (d14cbe4)
  • Expose audit logs in public SDK (8c92e59)

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
OpenAPI-generated additive SDK release: new read-only endpoints and types; no changes to existing client behavior beyond version strings.

Overview
Release 0.71.0 adds two public API surfaces to the Go SDK and bumps package metadata to match.

Audit logs: client.AuditLogs.List calls GET /audit-logs with required start/end time bounds and optional filters (method, auth strategy, search, etc.). Results use new PageTokenPagination (driven by X-Next-Page-Token) with ListAutoPaging support. AuditLogEntry models request metadata (path, status, user, client IP, etc.).

Auth connection timeline: client.Auth.Connections.Timeline calls GET /auth/connections/{id}/timeline and returns offset-paginated ManagedAuthTimelineEvent records (login, reauth, health_check) newest-first, with optional type filter and limit/offset.

The root Client wires AuditLogs. Pagination package gains PageTokenPagination / auto-pager alongside existing offset pagination.

Reviewed by Cursor Bugbot for commit 2d68441. 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:

Download and unzip: 'https://pkg.stainless.com/s/kernel-go/d14cbe46c35e9c5e58398551bb6a903f0bcb02ff/source.zip'. Run 'go mod edit -replace github.com/kernel/kernel-go-sdk=/path/to/unzipped_directory'.

Expires at: Sun, 26 Jul 2026 17:25:12 GMT
Updated at: Fri, 26 Jun 2026 17:25:12 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.

Reviewed by Cursor Bugbot for commit d003a61. Configure here.

func (r *PageTokenPagination[T]) GetNextPage() (res *PageTokenPagination[T], err error) {
if len(r.Items) == 0 {
return nil, nil
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Empty page ignores next page token

Medium Severity

PageTokenPagination.GetNextPage returns immediately when Items is empty, so it never reads X-Next-Page-Token. If GET /audit-logs returns an empty page with a continuation header, manual paging and ListAutoPaging stop early and omit later records.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit d003a61. Configure here.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from d003a61 to 68e38d9 Compare June 25, 2026 13:13
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 68e38d9 to 2d68441 Compare June 26, 2026 17:25

@masnwilliams masnwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving 0.71.0 — includes the auth connection event timeline endpoint (auth.connections.timeline).

@stainless-app stainless-app Bot merged commit 449b8c8 into main Jun 26, 2026
10 checks passed
@stainless-app

stainless-app Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Release is at https://github.com/kernel/kernel-go-sdk/releases/tag/v0.71.0 🌻

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.

1 participant