Skip to content

Commit 16f3ae4

Browse files
authored
Merge pull request #5 from context-dot-dev/release-please--branches--main--changes--next
release: 0.3.0
2 parents ff9ab4f + 25125ab commit 16f3ae4

6 files changed

Lines changed: 20 additions & 5 deletions

File tree

‎.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.2.0"
2+
".": "0.3.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: 25
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-3024c2681b0acf12535d68f39c1b49113330548513a54b276116cd3f2eda182e.yml
3-
openapi_spec_hash: ab3a6473e575381cacd245bf54dcf0f7
4-
config_hash: b0f343b2ab3baebad7b0d6d51f0f16fc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-4903d5902cec6a80f42b9adaa9cf0defa9805ff22d7ae96970d209a4f867e195.yml
3+
openapi_spec_hash: 1097891c23530dfe0155f23170daf973
4+
config_hash: c7b0cdaba3b9797b77efd89e1754d803

‎CHANGELOG.md‎

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

3+
## 0.3.0 (2026-06-25)
4+
5+
Full Changelog: [v0.2.0...v0.3.0](https://github.com/context-dot-dev/context-dev-cli/compare/v0.2.0...v0.3.0)
6+
7+
### Features
8+
9+
* **api:** api update ([e4387a5](https://github.com/context-dot-dev/context-dev-cli/commit/e4387a54271251c65f16cfd1dce035e177393db2))
10+
311
## 0.2.0 (2026-06-21)
412

513
Full Changelog: [v0.1.0...v0.2.0](https://github.com/context-dot-dev/context-dev-cli/compare/v0.1.0...v0.2.0)

‎pkg/cmd/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
package cmd
44

5-
const Version = "0.2.0" // x-release-please-version
5+
const Version = "0.3.0" // x-release-please-version

‎pkg/cmd/web.go‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ var webScreenshot = requestflag.WithInnerFlags(cli.Command{
241241
Usage: "Optional parameter to specify which page type to screenshot. If provided, the system will scrape the domain's links and use heuristics to find the most appropriate URL for the specified page type (30 supported languages). If not provided, screenshots the main domain landing page. Only applicable when using 'domain', not 'directUrl'.",
242242
QueryPath: "page",
243243
},
244+
&requestflag.Flag[int64]{
245+
Name: "scroll-offset",
246+
Usage: "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.",
247+
QueryPath: "scrollOffset",
248+
},
244249
&requestflag.Flag[int64]{
245250
Name: "timeout-ms",
246251
Usage: "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).",

‎pkg/cmd/web_test.go‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ func TestWebScreenshot(t *testing.T) {
147147
"--handle-cookie-popup", "true",
148148
"--max-age-ms", "0",
149149
"--page", "login",
150+
"--scroll-offset", "0",
150151
"--timeout-ms", "1000",
151152
"--viewport", "{height: 240, width: 240}",
152153
"--wait-for-ms", "0",
@@ -168,6 +169,7 @@ func TestWebScreenshot(t *testing.T) {
168169
"--handle-cookie-popup", "true",
169170
"--max-age-ms", "0",
170171
"--page", "login",
172+
"--scroll-offset", "0",
171173
"--timeout-ms", "1000",
172174
"--viewport.height", "240",
173175
"--viewport.width", "240",

0 commit comments

Comments
 (0)