Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.31.1"
".": "0.32.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 108
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-3fbe762c99e8a120c426ac22bc1fa257c9127d631b12a38a6440a37f52935543.yml
openapi_spec_hash: 5a190df210ed90b20a71c5061ff43917
config_hash: 38c9b3b355025daf9bb643040e4af94e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-f967d3024897a6125d5d18c4577dbb2cc22d742d487e6a43165198685f992379.yml
openapi_spec_hash: e1c40ef0aee3a79168eb9cc854a9e403
config_hash: 3b1fbbb6bda0dac7e8b42e155cd7da56
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.32.0 (2026-02-07)

Full Changelog: [v0.31.1...v0.32.0](https://github.com/kernel/kernel-go-sdk/compare/v0.31.1...v0.32.0)

### Features

* **auth:** add reauth circuit breaker logic ([9cfbd02](https://github.com/kernel/kernel-go-sdk/commit/9cfbd021a7ecf10f4a037ce73e775c5dab2d8fa0))

## 0.31.1 (2026-02-06)

Full Changelog: [v0.31.0...v0.31.1](https://github.com/kernel/kernel-go-sdk/compare/v0.31.0...v0.31.1)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/kernel/kernel-go-sdk@v0.31.1'
go get -u 'github.com/kernel/kernel-go-sdk@v0.32.0'
```

<!-- x-release-please-end -->
Expand Down
3 changes: 3 additions & 0 deletions agentauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ type AuthAgent struct {
// Whether automatic re-authentication is possible (has credential_id, selectors,
// and login_url)
CanReauth bool `json:"can_reauth"`
// Reason why automatic re-authentication is or is not possible
CanReauthReason string `json:"can_reauth_reason"`
// Reference to credentials for managed auth. Use one of:
//
// - { name } for Kernel credentials
Expand All @@ -355,6 +357,7 @@ type AuthAgent struct {
Status respjson.Field
AllowedDomains respjson.Field
CanReauth respjson.Field
CanReauthReason respjson.Field
Credential respjson.Field
CredentialID respjson.Field
HasSelectors respjson.Field
Expand Down
3 changes: 3 additions & 0 deletions authconnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ type ManagedAuth struct {
// Whether automatic re-authentication is possible (has credential, selectors, and
// login_url)
CanReauth bool `json:"can_reauth"`
// Reason why automatic re-authentication is or is not possible
CanReauthReason string `json:"can_reauth_reason"`
// Reference to credentials for managed auth. Use one of:
//
// - { name } for Kernel credentials
Expand Down Expand Up @@ -304,6 +306,7 @@ type ManagedAuth struct {
Status respjson.Field
AllowedDomains respjson.Field
CanReauth respjson.Field
CanReauthReason respjson.Field
Credential respjson.Field
DiscoveredFields respjson.Field
ErrorMessage respjson.Field
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.31.1" // x-release-please-version
const PackageVersion = "0.32.0" // x-release-please-version