Skip to content
Open
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.73.0"
".": "0.74.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: 125
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-55409ab573762d8bc010fb34c885651ca858a97d4353b4776b7aafeaaa313257.yml
openapi_spec_hash: 0cf678d80f2a2b73fb9ec82d05c8cc0a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-ea36e417a5dbc80a7dab65b38bd6c892520929d31363e626a3341436d697a17c.yml
openapi_spec_hash: fb15f771cbf9c937a4674f23f9a56050
config_hash: 06186eb40e0058a2a87ac251fc07415d
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.74.0 (2026-07-02)

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

### Features

* Add tablet and mobile viewport presets to pool dashboard ([eec3e1e](https://github.com/kernel/kernel-go-sdk/commit/eec3e1ee4b4a4386d25c260840d279d3afcd9895))

## 0.73.0 (2026-07-01)

Full Changelog: [v0.72.0...v0.73.0](https://github.com/kernel/kernel-go-sdk/compare/v0.72.0...v0.73.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.73.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.74.0'
```

<!-- x-release-please-end -->
Expand Down
32 changes: 16 additions & 16 deletions aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ type BrowserProfileParam = shared.BrowserProfileParam
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
//
// This is an alias to an internal type.
type BrowserViewport = shared.BrowserViewport
Expand All @@ -60,14 +60,14 @@ type BrowserViewport = shared.BrowserViewport
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
//
// This is an alias to an internal type.
type BrowserViewportParam = shared.BrowserViewportParam
Expand Down
80 changes: 40 additions & 40 deletions browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,14 @@ type BrowserNewResponse struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewport `json:"viewport"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -392,14 +392,14 @@ type BrowserGetResponse struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewport `json:"viewport"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -492,14 +492,14 @@ type BrowserUpdateResponse struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewport `json:"viewport"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -592,14 +592,14 @@ type BrowserListResponse struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewport `json:"viewport"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -720,14 +720,14 @@ type BrowserNewParams struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewportParam `json:"viewport,omitzero"`
paramObj
}
Expand Down
64 changes: 32 additions & 32 deletions browserpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,14 @@ type BrowserPoolBrowserPoolConfig struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewport `json:"viewport"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -358,14 +358,14 @@ type BrowserPoolAcquireResponse struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewport `json:"viewport"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Expand Down Expand Up @@ -451,14 +451,14 @@ type BrowserPoolNewParams struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewportParam `json:"viewport,omitzero"`
paramObj
}
Expand Down Expand Up @@ -546,14 +546,14 @@ type BrowserPoolUpdateParams struct {
// image defaults apply (1920x1080@25). For GPU images, the default is
// 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
// Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
// presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
// 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
// 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
// Viewports outside this list may exhibit unstable live view or recording
// behavior. If refresh_rate is not provided, it will be automatically determined
// based on the resolution (higher resolutions use lower refresh rates to keep
// bandwidth reasonable).
// 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
// GPU images, recommended presets use one of these resolutions with refresh rates
// 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
// 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
// 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
// or recording behavior. If refresh_rate is not provided, it will be automatically
// determined based on the resolution (higher resolutions use lower refresh rates
// to keep bandwidth reasonable).
Viewport shared.BrowserViewportParam `json:"viewport,omitzero"`
paramObj
}
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.73.0" // x-release-please-version
const PackageVersion = "0.74.0" // x-release-please-version
Loading
Loading