Skip to content

Commit e00be19

Browse files
release: 3.18.0 (#9)
* codegen metadata * chore(internal): update `actions/checkout` version * feat(client): add `ToString` to `ApiEnum` * feat(client): add Equals and ToString to params * codegen metadata * feat: move Stainless compatibility transforms from gen-openapi.ts into stainless.yml * feat: End endpoint cleanup * feat: [feat]: add support for local caching of agent when using api (2) * feat: add v3 integration tests matching cloud exactly * feat: Include replay endpoint in stainless spec so SDK clients can get run metrics * chore(internal): add copy constructor tests * chore: change visibility of QueryString() and AddDefaultHeaders * feat(client): add `ToString` and `Equals` methods * feat(api): manual updates * codegen metadata * feat: add auto-bedrock support based on bedrock/provider.model-name * chore(internal): improve HttpResponse qualification * fix(client): handle unions containing unknown types properly * feat: Update stainless.yml for project and publish settings * feat: Add executionModel serialization to api client * chore(internal): ignore stainless-internal artifacts * feat: Removed MCP from readme for now * chore(internal): add sse tests * fix(client): improve union equality method * codegen metadata * Add remote Browserbase Playwright example with SSE streaming. * Fix SSE parsing and log data detection. * Enforce LF line endings for C# files. * Revert "Enforce LF line endings for C# files." This reverts commit edfd513. * Enforce LF for C# example file. * Revert "Enforce LF for C# example file." This reverts commit 1dd8a3e. * Add local browser SSE example * fix(client): improve behaviour for comma-delimited binary content in multipart requests * codegen metadata * STG-1308: update examples to use SSE and examples env * STG-1308: enforce LF for examples * Revert "STG-1308: enforce LF for examples" This reverts commit c6bbce4. * feat(client): add equality and tostring for multipart data * STG-1306: docs/examples updates * feat: randomize region used for evals, split out pnpm and turbo cache, veri… * fix(client): validate unions properly * codegen metadata * chore(internal): remove mock server code * chore: update mock server docs * refactor(internal): default headers * chore(docs): add proxy documentation to readme * codegen metadata * chore(docs): add undocumented parameters to readme * STG-1301: add CLAUDE.md and AGENTS.md * codegen metadata * codegen metadata * feat: Add bedrock to provider enum in Zod schemas and OpenAPI spec * STG-1293: add local server multiregion example * STG-1293: document multiregion example * chore(tests): add tests for retry logic * feat: Add missing cdpHeaders field to v3 server openapi spec * codegen metadata * chore(client): update formatting * fix(docs): make xml syntactically correct * chore(internal): tweak CI branches * feat: [STG-1607] Yield finished SSE event instead of silently dropping it * fix(client): handle path params correctly in `FromRawUnchecked` * feat: Revert broken finished SSE yield config * feat: [fix]: add `useSearch` & `toolTimeout` to stainless types * fix(client): handle root bodies in requests properly * feat: variables for observe * chore(internal): update gitignore * feat: Add explicit SSE event names for local v3 streaming * feat: Include LLM headers in ModelConfig * chore(ci): skip lint on metadata-only changes Note that we still want to run tests, as these depend on the metadata. * release: 3.18.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: monadoid <sam.finton@gmail.com> Co-authored-by: Sam F <43347795+monadoid@users.noreply.github.com>
1 parent 64c448b commit e00be19

83 files changed

Lines changed: 12650 additions & 1257 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"postAttachCommand": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension",
77
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
88
"features": {
9-
// For the Prism mock server.
9+
// For the mock server.
1010
"ghcr.io/devcontainers/features/node:1": {}
1111
}
1212
}

.github/workflows/ci.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: CI
22
on:
33
push:
4-
branches-ignore:
5-
- 'generated'
6-
- 'codegen/**'
7-
- 'integrated/**'
8-
- 'stl-preview-head/**'
9-
- 'stl-preview-base/**'
4+
branches:
5+
- '**'
6+
- '!integrated/**'
7+
- '!stl-preview-head/**'
8+
- '!stl-preview-base/**'
9+
- '!generated'
10+
- '!codegen/**'
11+
- 'codegen/stl/**'
1012
pull_request:
1113
branches-ignore:
1214
- 'stl-preview-head/**'
@@ -17,10 +19,10 @@ jobs:
1719
timeout-minutes: 10
1820
name: lint
1921
runs-on: ${{ github.repository == 'stainless-sdks/stagehand-csharp' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
22+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2123

2224
steps:
23-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2426

2527
- name: Set up .NET
2628
uses: actions/setup-dotnet@v3
@@ -36,10 +38,10 @@ jobs:
3638
timeout-minutes: 10
3739
name: build
3840
runs-on: ${{ github.repository == 'stainless-sdks/stagehand-csharp' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
39-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
41+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
4042

4143
steps:
42-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v6
4345

4446
- name: Set up .NET
4547
uses: actions/setup-dotnet@v3
@@ -55,7 +57,7 @@ jobs:
5557
runs-on: ${{ github.repository == 'stainless-sdks/stagehand-csharp' && 'depot-windows-2022' || 'windows-latest' }}
5658
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
5759
steps:
58-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v6
5961

6062
- name: Set up .NET
6163
uses: actions/setup-dotnet@v5

.github/workflows/publish-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616

1717
- name: Set up .NET
1818
uses: actions/setup-dotnet@v5

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
.prism.log
2+
.stdy.log
23
bin/
34
obj/
45
.vs/
56
.idea/
7+
8+
# do not edit! excludes generated files used internally
9+
.artifacts/
10+
11+
examples/.env

.release-please-manifest.json

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

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-07032b695bc66ecd76328d936b41e01cfad508a870928c09c185f5faa5ea66ab.yml
3-
openapi_spec_hash: fca4b895ce36ad547fb015c3dd38821f
4-
config_hash: d4df55e4b30aac2d8d0982be97f837c4
1+
configured_endpoints: 8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-bc309fd00fe0507f4cbe3bc77fa27d0fbffeaa6e71998778da34de42608a67e8.yml
3+
openapi_spec_hash: 1db1af5c1b068bba1d652102f4454668
4+
config_hash: d6c6f623d03971bdba921650e5eb7e5f

AGENTS.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

CHANGELOG.md

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

3+
## 3.18.0 (2026-03-25)
4+
5+
Full Changelog: [v3.0.2...v3.18.0](https://github.com/browserbase/stagehand-net/compare/v3.0.2...v3.18.0)
6+
7+
### Features
8+
9+
* [feat]: add support for local caching of agent when using api (2) ([2cafd02](https://github.com/browserbase/stagehand-net/commit/2cafd023d69d10ff33a239f26d72e4eab17ed2de))
10+
* [fix]: add `useSearch` & `toolTimeout` to stainless types ([7293763](https://github.com/browserbase/stagehand-net/commit/7293763097064afb7943c0f32b579940e7418d5a))
11+
* [STG-1607] Yield finished SSE event instead of silently dropping it ([5b6b3fc](https://github.com/browserbase/stagehand-net/commit/5b6b3fcd8b7197d78b17f32f91fbcfd08396aaaa))
12+
* add auto-bedrock support based on bedrock/provider.model-name ([2627a23](https://github.com/browserbase/stagehand-net/commit/2627a232681be0a7fc3469bca31852decc87a9a6))
13+
* Add bedrock to provider enum in Zod schemas and OpenAPI spec ([9b19bf9](https://github.com/browserbase/stagehand-net/commit/9b19bf91f2393a3163b0c58582f32b59f11f0a5b))
14+
* Add executionModel serialization to api client ([6171867](https://github.com/browserbase/stagehand-net/commit/617186772fb6e704f04c7f0b8aa4ea6fff8400ba))
15+
* Add explicit SSE event names for local v3 streaming ([7239f7a](https://github.com/browserbase/stagehand-net/commit/7239f7a4c85ee42fb3ddb7f68c1a82e0f4f3a483))
16+
* Add missing cdpHeaders field to v3 server openapi spec ([a417fc8](https://github.com/browserbase/stagehand-net/commit/a417fc83d3c26537057aa998fba24309cd830b09))
17+
* add v3 integration tests matching cloud exactly ([a5a3ab7](https://github.com/browserbase/stagehand-net/commit/a5a3ab7acb6fadd38b01160fba7eb580e5b7a9e2))
18+
* **api:** manual updates ([51b11b1](https://github.com/browserbase/stagehand-net/commit/51b11b137bd6a3a348a1db25e3066a6f19bf4624))
19+
* **client:** add `ToString` and `Equals` methods ([44c5549](https://github.com/browserbase/stagehand-net/commit/44c554907ae79cd91847f4c0611e1a04866053cf))
20+
* **client:** add `ToString` to `ApiEnum` ([20899c6](https://github.com/browserbase/stagehand-net/commit/20899c6f1f10e4fef11da62dd21a0b480e18020b))
21+
* **client:** add equality and tostring for multipart data ([7e64d5f](https://github.com/browserbase/stagehand-net/commit/7e64d5fa069e6372831812d43b25bb753ce6ada2))
22+
* **client:** add Equals and ToString to params ([80c81af](https://github.com/browserbase/stagehand-net/commit/80c81af5710b875c5d8628fa5c92f5fa3fd24125))
23+
* End endpoint cleanup ([6b33978](https://github.com/browserbase/stagehand-net/commit/6b33978623eedce1b5579e705361c839ff2e0c9f))
24+
* Include LLM headers in ModelConfig ([ea89f89](https://github.com/browserbase/stagehand-net/commit/ea89f897c49f86777b6f06edaba309f608bd94da))
25+
* Include replay endpoint in stainless spec so SDK clients can get run metrics ([e9fdd89](https://github.com/browserbase/stagehand-net/commit/e9fdd89600606e06b760afd1dbff555d90691156))
26+
* move Stainless compatibility transforms from gen-openapi.ts into stainless.yml ([7068824](https://github.com/browserbase/stagehand-net/commit/706882437b7438fada41642c4e27ce8c833c8ea8))
27+
* randomize region used for evals, split out pnpm and turbo cache, veri… ([5c36c02](https://github.com/browserbase/stagehand-net/commit/5c36c027a72715dc394d4dc4482d309685abee10))
28+
* Removed MCP from readme for now ([f173a80](https://github.com/browserbase/stagehand-net/commit/f173a80394811c28d64ea561b23050159ee47db0))
29+
* Revert broken finished SSE yield config ([dcab6a5](https://github.com/browserbase/stagehand-net/commit/dcab6a549b3daaa2084b629633a462910a71df03))
30+
* Update stainless.yml for project and publish settings ([5f7a786](https://github.com/browserbase/stagehand-net/commit/5f7a786bb55f3d2958af0335850c1de917bcb6e7))
31+
* variables for observe ([6668a7e](https://github.com/browserbase/stagehand-net/commit/6668a7e4df2fb13c7463bd5a8d3417d716cf68db))
32+
33+
34+
### Bug Fixes
35+
36+
* **client:** handle path params correctly in `FromRawUnchecked` ([29e411c](https://github.com/browserbase/stagehand-net/commit/29e411c157e2868886ff9e02c873f155b840b15c))
37+
* **client:** handle root bodies in requests properly ([1c7654f](https://github.com/browserbase/stagehand-net/commit/1c7654f6dc8dae28bf5467d2e665d53a5e1e5d96))
38+
* **client:** handle unions containing unknown types properly ([2a7576a](https://github.com/browserbase/stagehand-net/commit/2a7576aefd876d6dd2075a561e258c4e3cde14d8))
39+
* **client:** improve behaviour for comma-delimited binary content in multipart requests ([63f7db5](https://github.com/browserbase/stagehand-net/commit/63f7db584e2dcccc2a4a8b0f159364656a50b695))
40+
* **client:** improve union equality method ([e0a1678](https://github.com/browserbase/stagehand-net/commit/e0a167855a6540366efea3e2e7eccbc64b0065dd))
41+
* **client:** validate unions properly ([087cc53](https://github.com/browserbase/stagehand-net/commit/087cc531de13193f6734cc77601826736099b68d))
42+
* **docs:** make xml syntactically correct ([f3c68ef](https://github.com/browserbase/stagehand-net/commit/f3c68ef22883a20c2bdd5f5520a37608b5fd4b69))
43+
44+
45+
### Chores
46+
47+
* change visibility of QueryString() and AddDefaultHeaders ([f655845](https://github.com/browserbase/stagehand-net/commit/f65584521843f75b3b90a1a2e8493bb51675c474))
48+
* **ci:** skip lint on metadata-only changes ([a027bc6](https://github.com/browserbase/stagehand-net/commit/a027bc620f45a6ace517434e4cc71b42ac2fbb7b))
49+
* **client:** update formatting ([721c480](https://github.com/browserbase/stagehand-net/commit/721c4807811f583802b2e44cab336d88ea8314b8))
50+
* **docs:** add proxy documentation to readme ([1fd2998](https://github.com/browserbase/stagehand-net/commit/1fd299833ce513ec9a9ea19cd4febf5541b8ab0f))
51+
* **docs:** add undocumented parameters to readme ([79503d8](https://github.com/browserbase/stagehand-net/commit/79503d8c88c73ad54cfe24e4daccb30a5ca1b502))
52+
* **internal:** add copy constructor tests ([e4dcd96](https://github.com/browserbase/stagehand-net/commit/e4dcd96a44a62e54399d1cc139ec1e3d57fe8d88))
53+
* **internal:** add sse tests ([3c2c701](https://github.com/browserbase/stagehand-net/commit/3c2c701a3b77eda43d11355abac59fb206b99645))
54+
* **internal:** ignore stainless-internal artifacts ([a06a892](https://github.com/browserbase/stagehand-net/commit/a06a89244434cb9f952c1729d17956780c2f0629))
55+
* **internal:** improve HttpResponse qualification ([b9f018b](https://github.com/browserbase/stagehand-net/commit/b9f018b477d27b215553c20028b02d0d81dbdc54))
56+
* **internal:** remove mock server code ([5a63556](https://github.com/browserbase/stagehand-net/commit/5a63556e7d91e0ce5c43e1c5513741667cff67f3))
57+
* **internal:** tweak CI branches ([8b75d2c](https://github.com/browserbase/stagehand-net/commit/8b75d2c36e9a79eab71076924b61fd59ec6d8e35))
58+
* **internal:** update `actions/checkout` version ([bebf217](https://github.com/browserbase/stagehand-net/commit/bebf217c94e0cb86861f9308853c02dc281d9921))
59+
* **internal:** update gitignore ([214f388](https://github.com/browserbase/stagehand-net/commit/214f38876701a414a7f4869cd20c3cf5899d8edc))
60+
* **tests:** add tests for retry logic ([8666f41](https://github.com/browserbase/stagehand-net/commit/8666f41d3886eb08db10025a6d283ee199d27be4))
61+
* update mock server docs ([7aac0ab](https://github.com/browserbase/stagehand-net/commit/7aac0ab0381d2903c5feac7554a2814e4ded175c))
62+
63+
64+
### Refactors
65+
66+
* **internal:** default headers ([a6d9731](https://github.com/browserbase/stagehand-net/commit/a6d97313e053b7c8a593a7b3134fd75516a57c26))
67+
368
## 3.0.2 (2026-01-16)
469

570
Full Changelog: [v3.0.1...v3.0.2](https://github.com/browserbase/stagehand-net/compare/v3.0.1...v3.0.2)

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
AGENTS.md
1+
README.md

0 commit comments

Comments
 (0)