Skip to content

release: 0.31.1#67

Merged
stainless-app[bot] merged 2 commits intomainfrom
release-please--branches--main--changes--next
Feb 6, 2026
Merged

release: 0.31.1#67
stainless-app[bot] merged 2 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 6, 2026

Automated Release PR

0.31.1 (2026-02-06)

Full Changelog: v0.31.0...v0.31.1

Chores

  • add Managed Auth API planning doc (fe6c74f)

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

Medium Risk
Adds a sizable new API surface (managed auth flows + SSE streaming) and changes public models/enums and endpoint paths, which may impact consumers upgrading or relying on previous values/URLs, though the legacy auth APIs remain available as deprecated wrappers.

Overview
Introduces a new Managed Auth Connections surface (client.Auth.Connections) for creating, querying, listing, deleting, and driving login flows (Login, Submit) plus SSE streaming updates via FollowStreaming, with new request/response models and flow-state unions.

Marks the legacy AgentAuth/AgentAuthInvocation endpoints as deprecated in favor of /auth/connections, updates auth models (credential reference object, removes auto_login type, adds password as an MFA option, and adds linked_mfa_type on discovered fields), and documents default allowed SSO/OAuth domains.

Updates Credential Providers to use org/credential_providers paths, makes name required on create and present on models, and adds ListItems plus item/list response types; updates docs/tests accordingly. Also bumps release metadata/versioning to 0.31.1 and regenerates api.md.

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

Copy link

@cursor cursor bot left a comment

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 and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

opts = append([]option.RequestOption{option.WithHeader("Accept", "text/event-stream")}, opts...)
if id == "" {
err = errors.New("missing required id parameter")
return
Copy link

Choose a reason for hiding this comment

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

FollowStreaming returns nil stream on empty id

Medium Severity

When id is empty, FollowStreaming sets err but then does a bare return, yielding a nil *ssestream.Stream. Any caller that uses the returned stream (e.g., calling Next(), Err(), or Close()) will hit a nil pointer dereference and panic. The normal error path correctly passes errors through ssestream.NewStream, which stores the error and makes Next() return false safely — but the empty-id early return bypasses NewStream entirely.

Fix in Cursor Fix in Web

Copy link
Contributor

@masnwilliams masnwilliams left a comment

Choose a reason for hiding this comment

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

lgtm

@stainless-app stainless-app bot merged commit 8edced9 into main Feb 6, 2026
5 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Feb 6, 2026

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

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