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 @@
{
".": "1.1.0"
".": "1.2.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: 25
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-ccc3d15a43be0505cabc52b9bd35e75ebdf072246b1563eab29e644bfc21e766.yml
openapi_spec_hash: ab3a6473e575381cacd245bf54dcf0f7
config_hash: eebf67a9c2ccfe2641980c154d7a698e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-4903d5902cec6a80f42b9adaa9cf0defa9805ff22d7ae96970d209a4f867e195.yml
openapi_spec_hash: 1097891c23530dfe0155f23170daf973
config_hash: c7b0cdaba3b9797b77efd89e1754d803
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.2.0 (2026-06-25)

Full Changelog: [v1.1.0...v1.2.0](https://github.com/context-dot-dev/context-go-sdk/compare/v1.1.0...v1.2.0)

### Features

* **api:** api update ([3e24bff](https://github.com/context-dot-dev/context-go-sdk/commit/3e24bffec3f7d99ce7e57c03be71c8e7d297308c))

## 1.1.0 (2026-06-19)

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

```sh
go get -u 'github.com/context-dot-dev/context-go-sdk@v1.1.0'
go get -u 'github.com/context-dot-dev/context-go-sdk@v1.2.0'
```

<!-- x-release-please-end -->
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 = "1.1.0" // x-release-please-version
const PackageVersion = "1.2.0" // x-release-please-version
7 changes: 7 additions & 0 deletions web.go
Original file line number Diff line number Diff line change
Expand Up @@ -2491,6 +2491,13 @@ type WebScreenshotParams struct {
// and is younger than this many milliseconds. Defaults to 1 day (86400000 ms) when
// omitted. Max is 30 days (2592000000 ms). Set to 0 to always capture fresh.
MaxAgeMs param.Opt[int64] `query:"maxAgeMs,omitzero" json:"-"`
// Optional vertical scroll offset in pixels for capturing a long page in
// viewport-sized chunks. When provided, the full page is captured once and the
// returned image is the viewport-sized slice that begins at this Y offset (e.g.
// request scrollOffset=0, then 1080, then 2160 to walk a 1920x1080 landing page
// top to bottom). The final slice may be shorter than the viewport height. Takes
// precedence over fullScreenshot. Max: 100000.
ScrollOffset param.Opt[int64] `query:"scrollOffset,omitzero" json:"-"`
// Optional timeout in milliseconds for the request. If the request takes longer
// than this value, it will be aborted with a 408 status code. Maximum allowed
// value is 300000ms (5 minutes).
Expand Down
1 change: 1 addition & 0 deletions web_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func TestWebScreenshotWithOptionalParams(t *testing.T) {
HandleCookiePopup: contextdev.WebScreenshotParamsHandleCookiePopupTrue,
MaxAgeMs: contextdev.Int(0),
Page: contextdev.WebScreenshotParamsPageLogin,
ScrollOffset: contextdev.Int(0),
TimeoutMs: contextdev.Int(1000),
Viewport: contextdev.WebScreenshotParamsViewport{
Height: contextdev.Int(240),
Expand Down
Loading