Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Jan 9, 2026

Automated Release PR

0.25.0 (2026-01-09)

Full Changelog: v0.24.0...v0.25.0

Features

  • api: update production repos (0cdfbfd)

Chores

  • sync repo (1728134)
  • update module path from onkernel to kernel (52c5887)

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

Org/module update and release docs

  • Switches module path and links from github.com/onkernel/kernel-go-sdk to github.com/kernel/kernel-go-sdk across README.md, CONTRIBUTING.md, and api.md.
  • Updates CHANGELOG.md for 0.25.0 (2026-01-09) and corrects repo links.
  • Refreshes .stats.yml config_hash.

Pagination implementation tweak

  • Modifies OffsetPagination.GetNextPage() in packages/pagination/pagination.go to handle X-Next-Offset and compute the next offset when fetching subsequent pages.

Written by Cursor Bugbot for commit 07d54e3. This will update automatically on new commits. Configure here.

return nil, err
}
length := int64(len(r.Items))
nextStr := offset + length
Copy link

Choose a reason for hiding this comment

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

This currently won’t compile (nextStr used before declaration; offset + length is invalid). Suggest reverting to the original header parse logic:

Suggested change
nextStr := offset + length
nextStr := r.res.Header.Get("X-Next-Offset")
next, err := strconv.ParseInt(nextStr, 10, 64)
if err != nil {
return nil, err
}
length := int64(len(r.Items))

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