Skip to content

Commit 3bf246f

Browse files
authored
Merge pull request #122 from kernel/release-please--branches--main--changes--next
release: 0.67.0
2 parents b999de9 + aeb1cfd commit 3bf246f

13 files changed

Lines changed: 59 additions & 38 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.66.0"
2+
".": "0.67.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 119
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-e66c3f8aedccc39104386a3ec619f3fdcef7e8b00d9e5aa82e414a1b387351c2.yml
3-
openapi_spec_hash: afeddf18ebc3da1521b3e6f6739411fa
4-
config_hash: 80eef1b592110714ea55cd26c470fabb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-51549f813f3002e18c6ca8d850cc0c7932828d511c151e0412c73b6798d19e30.yml
3+
openapi_spec_hash: ee77b293c4bda91c1a32cfdd12b8739e
4+
config_hash: 57567e00b41af47cef1b78e51b747aa0

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.67.0 (2026-06-11)
4+
5+
Full Changelog: [v0.66.0...v0.67.0](https://github.com/kernel/kernel-go-sdk/compare/v0.66.0...v0.67.0)
6+
7+
### Features
8+
9+
* Add project_id SDK client option mapped to X-Kernel-Project-Id ([fc37447](https://github.com/kernel/kernel-go-sdk/commit/fc37447ec9fc09e21c04d1ecee2009dc44010363))
10+
11+
12+
### Documentation
13+
14+
* **api:** correct project-scoping descriptions in OpenAPI spec ([d10587c](https://github.com/kernel/kernel-go-sdk/commit/d10587c1131648662d969b25ed921264063e36a4))
15+
316
## 0.66.0 (2026-06-10)
417

518
Full Changelog: [v0.65.0...v0.66.0](https://github.com/kernel/kernel-go-sdk/compare/v0.65.0...v0.66.0)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Or to pin the version:
2828
<!-- x-release-please-start-version -->
2929

3030
```sh
31-
go get -u 'github.com/kernel/kernel-go-sdk@v0.66.0'
31+
go get -u 'github.com/kernel/kernel-go-sdk@v0.67.0'
3232
```
3333

3434
<!-- x-release-please-end -->

authconnection.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ type ManagedAuthCreateRequestParam struct {
735735
// - { provider, path } for external provider item
736736
// - { provider, auto: true } for external provider domain lookup
737737
Credential ManagedAuthCreateRequestCredentialParam `json:"credential,omitzero"`
738-
// Proxy selection. Provide either id or name. The proxy must belong to the
739-
// caller's org.
738+
// Proxy selection. Provide either id or name. The proxy must be in the same
739+
// project as the resource referencing it.
740740
Proxy ManagedAuthCreateRequestProxyParam `json:"proxy,omitzero"`
741741
paramObj
742742
}
@@ -774,8 +774,8 @@ func (r *ManagedAuthCreateRequestCredentialParam) UnmarshalJSON(data []byte) err
774774
return apijson.UnmarshalRoot(data, r)
775775
}
776776

777-
// Proxy selection. Provide either id or name. The proxy must belong to the
778-
// caller's org.
777+
// Proxy selection. Provide either id or name. The proxy must be in the same
778+
// project as the resource referencing it.
779779
type ManagedAuthCreateRequestProxyParam struct {
780780
// Proxy ID
781781
ID param.Opt[string] `json:"id,omitzero"`
@@ -823,8 +823,8 @@ type ManagedAuthUpdateRequestParam struct {
823823
// - { provider, path } for external provider item
824824
// - { provider, auto: true } for external provider domain lookup
825825
Credential ManagedAuthUpdateRequestCredentialParam `json:"credential,omitzero"`
826-
// Proxy selection. Provide either id or name. The proxy must belong to the
827-
// caller's org.
826+
// Proxy selection. Provide either id or name. The proxy must be in the same
827+
// project as the resource referencing it.
828828
Proxy ManagedAuthUpdateRequestProxyParam `json:"proxy,omitzero"`
829829
paramObj
830830
}
@@ -862,8 +862,8 @@ func (r *ManagedAuthUpdateRequestCredentialParam) UnmarshalJSON(data []byte) err
862862
return apijson.UnmarshalRoot(data, r)
863863
}
864864

865-
// Proxy selection. Provide either id or name. The proxy must belong to the
866-
// caller's org.
865+
// Proxy selection. Provide either id or name. The proxy must be in the same
866+
// project as the resource referencing it.
867867
type ManagedAuthUpdateRequestProxyParam struct {
868868
// Proxy ID
869869
ID param.Opt[string] `json:"id,omitzero"`
@@ -1298,8 +1298,8 @@ type AuthConnectionLoginParams struct {
12981298
// Override the connection's default for recording this login's browser session.
12991299
// When omitted, the connection's record_session default is used.
13001300
RecordSession param.Opt[bool] `json:"record_session,omitzero"`
1301-
// Proxy selection. Provide either id or name. The proxy must belong to the
1302-
// caller's org.
1301+
// Proxy selection. Provide either id or name. The proxy must be in the same
1302+
// project as the resource referencing it.
13031303
Proxy AuthConnectionLoginParamsProxy `json:"proxy,omitzero"`
13041304
paramObj
13051305
}
@@ -1312,8 +1312,8 @@ func (r *AuthConnectionLoginParams) UnmarshalJSON(data []byte) error {
13121312
return apijson.UnmarshalRoot(data, r)
13131313
}
13141314

1315-
// Proxy selection. Provide either id or name. The proxy must belong to the
1316-
// caller's org.
1315+
// Proxy selection. Provide either id or name. The proxy must be in the same
1316+
// project as the resource referencing it.
13171317
type AuthConnectionLoginParamsProxy struct {
13181318
// Proxy ID
13191319
ID param.Opt[string] `json:"id,omitzero"`

browser.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,8 @@ type BrowserNewParams struct {
679679
// the dashboard. Must be unique among active sessions within the project. Can be
680680
// changed later via PATCH /browsers/{id_or_name}.
681681
Name param.Opt[string] `json:"name,omitzero"`
682-
// Optional proxy to associate to the browser session. Must reference a proxy
683-
// belonging to the caller's org.
682+
// Optional proxy to associate to the browser session. Must reference a proxy in
683+
// the same project as the browser session.
684684
ProxyID param.Opt[string] `json:"proxy_id,omitzero"`
685685
// Optional URL to open when the browser session is created. Navigation is
686686
// best-effort, so navigation failures do not prevent the session from being

browserpool.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (r *BrowserPoolService) Update(ctx context.Context, idOrName string, body B
7474
return res, err
7575
}
7676

77-
// List browser pools owned by the caller's organization.
77+
// List browser pools in the resolved project.
7878
func (r *BrowserPoolService) List(ctx context.Context, query BrowserPoolListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[BrowserPool], err error) {
7979
var raw *http.Response
8080
opts = slices.Concat(r.Options, opts)
@@ -92,7 +92,7 @@ func (r *BrowserPoolService) List(ctx context.Context, query BrowserPoolListPara
9292
return res, nil
9393
}
9494

95-
// List browser pools owned by the caller's organization.
95+
// List browser pools in the resolved project.
9696
func (r *BrowserPoolService) ListAutoPaging(ctx context.Context, query BrowserPoolListParams, opts ...option.RequestOption) *pagination.OffsetPaginationAutoPager[BrowserPool] {
9797
return pagination.NewOffsetPaginationAutoPager(r.List(ctx, query, opts...))
9898
}
@@ -211,8 +211,8 @@ type BrowserPoolBrowserPoolConfig struct {
211211
// specified, the matching profile will be loaded into the browser session.
212212
// Profiles must be created beforehand.
213213
Profile shared.BrowserProfile `json:"profile"`
214-
// Optional proxy to associate to the browser session. Must reference a proxy
215-
// belonging to the caller's org.
214+
// Optional proxy to associate to the browser session. Must reference a proxy in
215+
// the same project as the browser session.
216216
ProxyID string `json:"proxy_id"`
217217
// Optional URL to navigate to when a new browser is warmed into the pool.
218218
// Best-effort: failures to navigate do not fail pool fill. Only applied to
@@ -379,8 +379,8 @@ type BrowserPoolNewParams struct {
379379
KioskMode param.Opt[bool] `json:"kiosk_mode,omitzero"`
380380
// Optional name for the browser pool. Must be unique within the project.
381381
Name param.Opt[string] `json:"name,omitzero"`
382-
// Optional proxy to associate to the browser session. Must reference a proxy
383-
// belonging to the caller's org.
382+
// Optional proxy to associate to the browser session. Must reference a proxy in
383+
// the same project as the browser session.
384384
ProxyID param.Opt[string] `json:"proxy_id,omitzero"`
385385
// Optional URL to navigate to when a new browser is warmed into the pool.
386386
// Best-effort: failures to navigate do not fail pool fill. Only applied to
@@ -442,8 +442,8 @@ type BrowserPoolUpdateParams struct {
442442
KioskMode param.Opt[bool] `json:"kiosk_mode,omitzero"`
443443
// Optional name for the browser pool. Must be unique within the project.
444444
Name param.Opt[string] `json:"name,omitzero"`
445-
// Optional proxy to associate to the browser session. Must reference a proxy
446-
// belonging to the caller's org.
445+
// Optional proxy to associate to the browser session. Must reference a proxy in
446+
// the same project as the browser session.
447447
ProxyID param.Opt[string] `json:"proxy_id,omitzero"`
448448
// Number of browsers to maintain in the pool. The maximum size is determined by
449449
// your organization's pooled sessions limit (the sum of all pool sizes cannot

credential.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ func (r *CredentialService) Update(ctx context.Context, idOrName string, body Cr
7575
return res, err
7676
}
7777

78-
// List credentials owned by the caller's organization. Credential values are not
79-
// returned.
78+
// List credentials in the resolved project. Credential values are not returned.
8079
func (r *CredentialService) List(ctx context.Context, query CredentialListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[Credential], err error) {
8180
var raw *http.Response
8281
opts = slices.Concat(r.Options, opts)
@@ -94,8 +93,7 @@ func (r *CredentialService) List(ctx context.Context, query CredentialListParams
9493
return res, nil
9594
}
9695

97-
// List credentials owned by the caller's organization. Credential values are not
98-
// returned.
96+
// List credentials in the resolved project. Credential values are not returned.
9997
func (r *CredentialService) ListAutoPaging(ctx context.Context, query CredentialListParams, opts ...option.RequestOption) *pagination.OffsetPaginationAutoPager[Credential] {
10098
return pagination.NewOffsetPaginationAutoPager(r.List(ctx, query, opts...))
10199
}

extension.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func NewExtensionService(opts ...option.RequestOption) (r ExtensionService) {
4545
return
4646
}
4747

48-
// List extensions owned by the caller's organization.
48+
// List extensions in the resolved project.
4949
func (r *ExtensionService) List(ctx context.Context, query ExtensionListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[ExtensionListResponse], err error) {
5050
var raw *http.Response
5151
opts = slices.Concat(r.Options, opts)
@@ -63,7 +63,7 @@ func (r *ExtensionService) List(ctx context.Context, query ExtensionListParams,
6363
return res, nil
6464
}
6565

66-
// List extensions owned by the caller's organization.
66+
// List extensions in the resolved project.
6767
func (r *ExtensionService) ListAutoPaging(ctx context.Context, query ExtensionListParams, opts ...option.RequestOption) *pagination.OffsetPaginationAutoPager[ExtensionListResponse] {
6868
return pagination.NewOffsetPaginationAutoPager(r.List(ctx, query, opts...))
6969
}

internal/requestconfig/requestconfig.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ type RequestConfig struct {
219219
HTTPClient *http.Client
220220
Middlewares []middleware
221221
APIKey string
222+
ProjectID string
222223
// If ResponseBodyInto not nil, then we will attempt to deserialize into
223224
// ResponseBodyInto. If Destination is a []byte, then it will return the body as
224225
// is.
@@ -593,6 +594,7 @@ func (cfg *RequestConfig) Clone(ctx context.Context) *RequestConfig {
593594
HTTPClient: cfg.HTTPClient,
594595
Middlewares: cfg.Middlewares,
595596
APIKey: cfg.APIKey,
597+
ProjectID: cfg.ProjectID,
596598
}
597599

598600
return new

0 commit comments

Comments
 (0)