From f41ed59da57f03f17dc5e5f8ad8bf0e778041f90 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 18:06:41 +0000 Subject: [PATCH 1/3] feat: Report the unified concurrency ceiling from the org limits endpoint --- .stats.yml | 4 ++-- projectlimit.go | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.stats.yml b/.stats.yml index e1475ca..0f14b3d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 127 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-7b03462454d6fa8390eaebc1b411d3e160501bf96abb93b75d38dfc382d4ce51.yml -openapi_spec_hash: ba55400aafb4759cc06ec139fe528dfc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-7d774918a5bbe0a980a1dca0322e74d2b4e3d3372a2cbc9513e48f4b8b6abfa1.yml +openapi_spec_hash: 8007b5846ff01c221e29d467b1cb8aaf config_hash: 77ee715aa17061166f9a02b264a21b8d diff --git a/projectlimit.go b/projectlimit.go index 964901a..85c0101 100644 --- a/projectlimit.go +++ b/projectlimit.go @@ -76,7 +76,7 @@ type ProjectLimits struct { // cap. MaxConcurrentSessions int64 `json:"max_concurrent_sessions" api:"nullable"` // Deprecated: pooled browsers now count toward `max_concurrent_sessions`. Always - // null once the unified concurrency limit is enabled for your organization. + // null. // // Deprecated: deprecated MaxPooledSessions int64 `json:"max_pooled_sessions" api:"nullable"` @@ -105,8 +105,7 @@ type UpdateProjectLimitsRequestParam struct { // unchanged. MaxConcurrentSessions param.Opt[int64] `json:"max_concurrent_sessions,omitzero"` // Deprecated: pooled browsers now count toward `max_concurrent_sessions`. Requests - // that set this field are rejected with a 400 once the unified concurrency limit - // is enabled for your organization. + // that set this field are rejected with a 400. // // Deprecated: deprecated MaxPooledSessions param.Opt[int64] `json:"max_pooled_sessions,omitzero"` From 00515a84e5554056c2bdf91ac83582289b9f21b8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 15:21:26 +0000 Subject: [PATCH 2/3] feat: Harden managed auth verification and login recovery --- .stats.yml | 4 ++-- authconnection.go | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0f14b3d..f433e79 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 127 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-7d774918a5bbe0a980a1dca0322e74d2b4e3d3372a2cbc9513e48f4b8b6abfa1.yml -openapi_spec_hash: 8007b5846ff01c221e29d467b1cb8aaf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-3d361d4878b48802a1dc486fa597b6b01ce23099d6627bcf836a849f0080c0c7.yml +openapi_spec_hash: f21df7b9241e2e8b8dc04fdae30a3e27 config_hash: 77ee715aa17061166f9a02b264a21b8d diff --git a/authconnection.go b/authconnection.go index d221134..a476a5b 100644 --- a/authconnection.go +++ b/authconnection.go @@ -693,6 +693,9 @@ type ManagedAuthField struct { Label string `json:"label"` // Selector for the visible field, when available. ObservedSelector string `json:"observed_selector" api:"nullable"` + // Whether the submitted value must replace an existing credential after explicit + // rejection. + ReplaceExisting bool `json:"replace_existing"` // Whether this field is required. Required bool `json:"required"` // JSON contains metadata for fields, check presence with [respjson.Field.Valid]. @@ -702,6 +705,7 @@ type ManagedAuthField struct { Type respjson.Field Label respjson.Field ObservedSelector respjson.Field + ReplaceExisting respjson.Field Required respjson.Field ExtraFields map[string]respjson.Field raw string @@ -1586,6 +1590,9 @@ type AuthConnectionFollowResponseManagedAuthStateField struct { Label string `json:"label"` // Selector for the visible field, when available. ObservedSelector string `json:"observed_selector" api:"nullable"` + // Whether the submitted value must replace an existing credential after explicit + // rejection. + ReplaceExisting bool `json:"replace_existing"` // Whether this field is required. Required bool `json:"required"` // JSON contains metadata for fields, check presence with [respjson.Field.Valid]. @@ -1595,6 +1602,7 @@ type AuthConnectionFollowResponseManagedAuthStateField struct { Type respjson.Field Label respjson.Field ObservedSelector respjson.Field + ReplaceExisting respjson.Field Required respjson.Field ExtraFields map[string]respjson.Field raw string From 3de1ce2db171bc84ceb4276629c71f84065127f6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 15:21:53 +0000 Subject: [PATCH 3/3] release: 0.86.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ README.md | 2 +- internal/version.go | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ad502a4..5307957 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.85.0" + ".": "0.86.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f000179..b2e77f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.86.0 (2026-08-01) + +Full Changelog: [v0.85.0...v0.86.0](https://github.com/kernel/kernel-go-sdk/compare/v0.85.0...v0.86.0) + +### Features + +* Harden managed auth verification and login recovery ([00515a8](https://github.com/kernel/kernel-go-sdk/commit/00515a84e5554056c2bdf91ac83582289b9f21b8)) +* Report the unified concurrency ceiling from the org limits endpoint ([f41ed59](https://github.com/kernel/kernel-go-sdk/commit/f41ed59da57f03f17dc5e5f8ad8bf0e778041f90)) + ## 0.85.0 (2026-07-29) Full Changelog: [v0.84.0...v0.85.0](https://github.com/kernel/kernel-go-sdk/compare/v0.84.0...v0.85.0) diff --git a/README.md b/README.md index 355839c..c500805 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Or to pin the version: ```sh -go get -u 'github.com/kernel/kernel-go-sdk@v0.85.0' +go get -u 'github.com/kernel/kernel-go-sdk@v0.86.0' ``` diff --git a/internal/version.go b/internal/version.go index df9bb02..946f880 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "0.85.0" // x-release-please-version +const PackageVersion = "0.86.0" // x-release-please-version