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.27.0"
".": "0.28.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 97
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-7427d4bcaba5cad07910da7a222bdd2650b5280e6b889132ed38d230adafb8a5.yml
openapi_spec_hash: e8e3dc1ae54666d544d1fc848b25e7cf
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d430a8e3407ceb608d912cabadbcb016b4fcf057ca56b3bbd179ea3b3121b484.yml
openapi_spec_hash: 8adbf013baf77abacaf04ed067749397
config_hash: b470456b217bb9502f5212311d395a6f
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.28.0 (2026-01-22)

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

### Features

* Allow hot loading profiles into sessions ([436ac8c](https://github.com/kernel/kernel-go-sdk/commit/436ac8cfa797b3283ccb0a801a59fb1fa499e32f))


### Bug Fixes

* preserve existing CLI branch work in coverage workflow ([5c2eb99](https://github.com/kernel/kernel-go-sdk/commit/5c2eb9944cf21b4c9b4870666be6332c52f2a4d9))

## 0.27.0 (2026-01-21)

Full Changelog: [v0.26.0...v0.27.0](https://github.com/kernel/kernel-go-sdk/compare/v0.26.0...v0.27.0)
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.27.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.28.0'
```

<!-- x-release-please-end -->
Expand Down
5 changes: 5 additions & 0 deletions browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,11 @@ type BrowserUpdateParams struct {
// ID of the proxy to use. Omit to leave unchanged, set to empty string to remove
// proxy.
ProxyID param.Opt[string] `json:"proxy_id,omitzero"`
// Profile to load into the browser session. Only allowed if the session does not
// already have a profile loaded.
Profile shared.BrowserProfileParam `json:"profile,omitzero"`
// Viewport configuration to apply to the browser session.
Viewport shared.BrowserViewportParam `json:"viewport,omitzero"`
paramObj
}

Expand Down
10 changes: 10 additions & 0 deletions browser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,17 @@ func TestBrowserUpdateWithOptionalParams(t *testing.T) {
context.TODO(),
"htzv5orfit78e1m2biiifpbv",
kernel.BrowserUpdateParams{
Profile: shared.BrowserProfileParam{
ID: kernel.String("id"),
Name: kernel.String("name"),
SaveChanges: kernel.Bool(true),
},
ProxyID: kernel.String("proxy_id"),
Viewport: shared.BrowserViewportParam{
Height: 800,
Width: 1280,
RefreshRate: kernel.Int(60),
},
},
)
if err != nil {
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.27.0" // x-release-please-version
const PackageVersion = "0.28.0" // x-release-please-version