release: 0.71.0#127
Conversation
|
🧪 Testing To try out this version of the SDK: Expires at: Sun, 26 Jul 2026 17:25:12 GMT |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ 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 | ||
| } |
There was a problem hiding this comment.
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)
Reviewed by Cursor Bugbot for commit d003a61. Configure here.
d003a61 to
68e38d9
Compare
68e38d9 to
2d68441
Compare
masnwilliams
left a comment
There was a problem hiding this comment.
Approving 0.71.0 — includes the auth connection event timeline endpoint (auth.connections.timeline).
|
🤖 Release is at https://github.com/kernel/kernel-go-sdk/releases/tag/v0.71.0 🌻 |


Automated Release PR
0.71.0 (2026-06-26)
Full Changelog: v0.70.0...v0.71.0
Features
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.ListcallsGET /audit-logswith requiredstart/endtime bounds and optional filters (method, auth strategy, search, etc.). Results use newPageTokenPagination(driven byX-Next-Page-Token) withListAutoPagingsupport.AuditLogEntrymodels request metadata (path, status, user, client IP, etc.).Auth connection timeline:
client.Auth.Connections.TimelinecallsGET /auth/connections/{id}/timelineand returns offset-paginatedManagedAuthTimelineEventrecords (login, reauth, health_check) newest-first, with optional type filter and limit/offset.The root
ClientwiresAuditLogs. Pagination package gainsPageTokenPagination/ 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.