Skip to content

Commit 5523796

Browse files
stainless-app[bot]derekmeeganclaude
authored
release: 2.7.0-alpha.1 (#171)
Automated Release PR --- ## 2.7.0-alpha.1 (2026-02-26) Full Changelog: [v2.6.0...v2.7.0-alpha.1](v2.6.0...v2.7.0-alpha.1) ### Features * **api:** api update ([3e4e63e](3e4e63e)) * **api:** api update ([a4abc41](a4abc41)) * **api:** api update ([3318432](3318432)) * **api:** api update ([f44ef24](f44ef24)) * **api:** api update ([7967442](7967442)) * **api:** api update ([890aa00](890aa00)) * **api:** api update ([3348e1a](3348e1a)) * **api:** api update ([d80e4ac](d80e4ac)) * **api:** api update ([d661869](d661869)) * **api:** api update ([d57f23e](d57f23e)) * **api:** api update ([90c9185](90c9185)) * **api:** api update ([0ec3383](0ec3383)) * **api:** api update ([ef5f62b](ef5f62b)) * **api:** manual updates ([31b7212](31b7212)) * **api:** manual updates ([ffdf6f3](ffdf6f3)) * **api:** manual updates ([2b60d30](2b60d30)) * **api:** manual updates ([83d57f0](83d57f0)) * **api:** manual updates ([b9152d8](b9152d8)) * **api:** manual updates ([d808751](d808751)) * **api:** manual updates ([d249ec3](d249ec3)) * **api:** manual updates ([8b48f9b](8b48f9b)) * **api:** manual updates ([b2ac95c](b2ac95c)) * **api:** manual updates ([59bb2a5](59bb2a5)) * **client:** add support for endpoint-specific base URLs ([0c69436](0c69436)) * **mcp:** support filtering tool results by a jq expression ([0efabac](0efabac)) ### Bug Fixes * **ci:** release-doctor — report correct token name ([8e59beb](8e59beb)) * **client:** don't send `Content-Type` for bodyless methods ([bfe46e8](bfe46e8)) * coerce nullable values to undefined ([6108dc5](6108dc5)) * **docs/contributing:** correct pnpm link command ([fa166b7](fa166b7)) * **internal:** skip tests that depend on mock server ([efbf3ab](efbf3ab)) * **mcp:** correct code tool API endpoint ([e28c890](e28c890)) * **mcp:** return correct lines on typescript errors ([80ae079](80ae079)) * publish script — handle NPM errors correctly ([87c245e](87c245e)) ### Performance Improvements * faster formatting ([44cd7a6](44cd7a6)) ### Chores * break long lines in snippets into multiline ([48d6458](48d6458)) * ci build action ([4fe59cd](4fe59cd)) * **ci:** enable for pull requests ([132825d](132825d)) * **ci:** only run for pushes and fork pull requests ([a166050](a166050)) * **ci:** upgrade `actions/github-script` ([8818cfb](8818cfb)) * **client:** do not parse responses with empty content-length ([c9d1b79](c9d1b79)) * **deps:** update dependency node-fetch to v2.6.13 ([b657cbe](b657cbe)) * do not install brew dependencies in ./scripts/bootstrap by default ([ea703c8](ea703c8)) * **docs:** grammar improvements ([985f2fe](985f2fe)) * **docs:** use top-level-await in example snippets ([24c7006](24c7006)) * improve publish-npm script --latest tag logic ([88ce3e3](88ce3e3)) * **internal:** codegen related update ([6eabc90](6eabc90)) * **internal:** codegen related update ([3dd3df4](3dd3df4)) * **internal:** codegen related update ([eb99387](eb99387)) * **internal:** fix incremental formatting in some cases ([4057bd2](4057bd2)) * **internal:** formatting change ([29b57d4](29b57d4)) * **internal:** ignore .eslintcache ([adee655](adee655)) * **internal:** make base APIResource abstract ([6ec9d38](6ec9d38)) * **internal:** move publish config ([2fb47ce](2fb47ce)) * **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([80a6db7](80a6db7)) * **internal:** remove redundant imports config ([ddf4087](ddf4087)) * **internal:** update `actions/checkout` version ([dfe82a1](dfe82a1)) * **internal:** update comment in script ([a549d56](a549d56)) * **internal:** upgrade babel, qs, js-yaml ([fe654da](fe654da)) * **internal:** use npm pack for build uploads ([b1ddfd9](b1ddfd9)) * **internal:** version bump ([690777f](690777f)) * make some internal functions async ([f8111cb](f8111cb)) * mention unit type in timeout docs ([8d864d1](8d864d1)) * update @stainless-api/prism-cli to v5.15.0 ([d4ac1f1](d4ac1f1)) * update CI script ([2cd3501](2cd3501)) * update mock server docs ([54a36bf](54a36bf)) ### Refactors * **types:** replace Record with mapped types ([3e0bfd3](3e0bfd3)) --- This pull request is managed by Stainless's [GitHub App](https://github.com/apps/stainless-app). The [semver version number](https://semver.org/#semantic-versioning-specification-semver) is based on included [commit messages](https://www.conventionalcommits.org/en/v1.0.0/). Alternatively, you can manually set the version number in the title of this pull request. For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request. 🔗 Stainless [website](https://www.stainlessapi.com) 📚 Read the [docs](https://app.stainlessapi.com/docs) 🙋 [Reach out](mailto:support@stainlessapi.com) for help or questions --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Derek Meegan <derek@browserbase.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6ea9475 commit 5523796

43 files changed

Lines changed: 1828 additions & 1185 deletions

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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"postCreateCommand": "yarn install",
1010
"customizations": {
1111
"vscode": {
12-
"extensions": [
13-
"esbenp.prettier-vscode"
14-
]
12+
"extensions": ["esbenp.prettier-vscode"]
1513
}
1614
}
1715
}

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ on:
77
- 'integrated/**'
88
- 'stl-preview-head/**'
99
- 'stl-preview-base/**'
10+
pull_request:
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
1014

1115
jobs:
1216
lint:
1317
timeout-minutes: 10
1418
name: lint
1519
runs-on: ${{ github.repository == 'stainless-sdks/browserbase-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
1621
steps:
17-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
1823

1924
- name: Set up Node
2025
uses: actions/setup-node@v4
@@ -31,11 +36,12 @@ jobs:
3136
timeout-minutes: 5
3237
name: build
3338
runs-on: ${{ github.repository == 'stainless-sdks/browserbase-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
39+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
3440
permissions:
3541
contents: read
3642
id-token: write
3743
steps:
38-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v6
3945

4046
- name: Set up Node
4147
uses: actions/setup-node@v4
@@ -51,7 +57,7 @@ jobs:
5157
- name: Get GitHub OIDC Token
5258
if: github.repository == 'stainless-sdks/browserbase-node'
5359
id: github-oidc
54-
uses: actions/github-script@v6
60+
uses: actions/github-script@v8
5561
with:
5662
script: core.setOutput('github_token', await core.getIDToken());
5763

@@ -66,8 +72,9 @@ jobs:
6672
timeout-minutes: 10
6773
name: test
6874
runs-on: ${{ github.repository == 'stainless-sdks/browserbase-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
75+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
6976
steps:
70-
- uses: actions/checkout@v4
77+
- uses: actions/checkout@v6
7178

7279
- name: Set up Node
7380
uses: actions/setup-node@v4

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818

1919
- name: Set up Node
2020
uses: actions/setup-node@v3

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'browserbase/sdk-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

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

1717
- name: Check release environment
1818
run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ dist
77
dist-deno
88
/*.tgz
99
.idea/
10+
.eslintcache
1011

1112
.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-
".": "2.6.0"
2+
".": "2.7.0-alpha.1"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-e2ed1b5267eeff92982918505349017b9155da2c7ab948787ab11cf9068af1b8.yml
3-
openapi_spec_hash: 6639c21dccb52ca610cae833227a9791
4-
config_hash: 74882e23a455dece33e43a27e67f0fbb
1+
configured_endpoints: 19
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-a2379f6bf614a1efd1bbb22b2191bf1a3daf09fd42267c8c54ce4284392d1ea4.yml
3+
openapi_spec_hash: 918f5ba73e08f044cfb77de95a8b7524
4+
config_hash: b01d72cbe03bd762a73b05744086b2ec

CHANGELOG.md

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

3+
## 2.7.0-alpha.1 (2026-02-26)
4+
5+
Full Changelog: [v2.6.0...v2.7.0-alpha.1](https://github.com/browserbase/sdk-node/compare/v2.6.0...v2.7.0-alpha.1)
6+
7+
### Features
8+
9+
* **api:** api update ([3e4e63e](https://github.com/browserbase/sdk-node/commit/3e4e63ebc319a9e4dacb17a4a2d7322dfb7a95ac))
10+
* **api:** api update ([a4abc41](https://github.com/browserbase/sdk-node/commit/a4abc414b984d8fee927cdedee246a27024d0287))
11+
* **api:** api update ([3318432](https://github.com/browserbase/sdk-node/commit/3318432579ed035eb0093dadcfb0704961341d17))
12+
* **api:** api update ([f44ef24](https://github.com/browserbase/sdk-node/commit/f44ef24579d2fb2473a4cabc1c8307d063a29810))
13+
* **api:** api update ([7967442](https://github.com/browserbase/sdk-node/commit/796744236d9a1a05602680b06a6a0d0c3d56bdc4))
14+
* **api:** api update ([890aa00](https://github.com/browserbase/sdk-node/commit/890aa008e4a798a0e179c85d3b1344d657f30d58))
15+
* **api:** api update ([3348e1a](https://github.com/browserbase/sdk-node/commit/3348e1a8e2cd6093142953283cedeaab44dfba81))
16+
* **api:** api update ([d80e4ac](https://github.com/browserbase/sdk-node/commit/d80e4acd14c12d8eed735ae11ed41cc07077dbde))
17+
* **api:** api update ([d661869](https://github.com/browserbase/sdk-node/commit/d661869a4b91bdc914195961b63ec5080060b178))
18+
* **api:** api update ([d57f23e](https://github.com/browserbase/sdk-node/commit/d57f23ea6d04a61dd523fd9cfea3bba138914483))
19+
* **api:** api update ([90c9185](https://github.com/browserbase/sdk-node/commit/90c9185c9de52ad0297062906d58ec7bb99ea004))
20+
* **api:** api update ([0ec3383](https://github.com/browserbase/sdk-node/commit/0ec33838237efd4424249482aac57294f17bdeda))
21+
* **api:** api update ([ef5f62b](https://github.com/browserbase/sdk-node/commit/ef5f62b267edcfa58fb677db40ae24a9a742ffa0))
22+
* **api:** manual updates ([31b7212](https://github.com/browserbase/sdk-node/commit/31b7212a87ea28c0a6a39bf90210bdb56cac3a21))
23+
* **api:** manual updates ([ffdf6f3](https://github.com/browserbase/sdk-node/commit/ffdf6f3eb5d0b39cda43f8a705106fade7245a58))
24+
* **api:** manual updates ([2b60d30](https://github.com/browserbase/sdk-node/commit/2b60d30cbed5a53407eff00230cfecb37f166445))
25+
* **api:** manual updates ([83d57f0](https://github.com/browserbase/sdk-node/commit/83d57f08249edc0b76e2a5575bdade34f6a93c2a))
26+
* **api:** manual updates ([b9152d8](https://github.com/browserbase/sdk-node/commit/b9152d86ca7438ef769cb0dc19bd211e661eb603))
27+
* **api:** manual updates ([d808751](https://github.com/browserbase/sdk-node/commit/d808751c5283bc3f78114980263784c8cf5fec2e))
28+
* **api:** manual updates ([d249ec3](https://github.com/browserbase/sdk-node/commit/d249ec32a00f2824acea4cd87ceb945429a4964f))
29+
* **api:** manual updates ([8b48f9b](https://github.com/browserbase/sdk-node/commit/8b48f9bba7d01d88eaa158de36ccc8e99a9caaca))
30+
* **api:** manual updates ([b2ac95c](https://github.com/browserbase/sdk-node/commit/b2ac95c9014672c812f352f5c9ca8a4c325c9a2f))
31+
* **api:** manual updates ([59bb2a5](https://github.com/browserbase/sdk-node/commit/59bb2a5665c3bebf073c7084d8dbfbef40148e38))
32+
* **client:** add support for endpoint-specific base URLs ([0c69436](https://github.com/browserbase/sdk-node/commit/0c69436d731785b207af5f979e9eb5ae1b975957))
33+
* **mcp:** support filtering tool results by a jq expression ([0efabac](https://github.com/browserbase/sdk-node/commit/0efabac130794ebc44c4054a19e77bb6fc455749))
34+
35+
36+
### Bug Fixes
37+
38+
* **ci:** release-doctor — report correct token name ([8e59beb](https://github.com/browserbase/sdk-node/commit/8e59beb314e8c07bd14b471121e28ec941168190))
39+
* **client:** don't send `Content-Type` for bodyless methods ([bfe46e8](https://github.com/browserbase/sdk-node/commit/bfe46e8c3af3377953857072ee39babdaec25820))
40+
* coerce nullable values to undefined ([6108dc5](https://github.com/browserbase/sdk-node/commit/6108dc5e49ed0623e8d91159e65c8a2a6399c811))
41+
* **docs/contributing:** correct pnpm link command ([fa166b7](https://github.com/browserbase/sdk-node/commit/fa166b7530064beddc69f0740f878d5e7f62dd14))
42+
* **internal:** skip tests that depend on mock server ([efbf3ab](https://github.com/browserbase/sdk-node/commit/efbf3ab35a46c5904696ea613b3bd50147b742d9))
43+
* **mcp:** correct code tool API endpoint ([e28c890](https://github.com/browserbase/sdk-node/commit/e28c89078c01cc4b5f2c2626da38b69ce9bc0680))
44+
* **mcp:** return correct lines on typescript errors ([80ae079](https://github.com/browserbase/sdk-node/commit/80ae079773e9b0e0e97b02f550c524333f9bcbec))
45+
* publish script — handle NPM errors correctly ([87c245e](https://github.com/browserbase/sdk-node/commit/87c245e2048dad1586d97fae8c4622c6e2780365))
46+
47+
48+
### Performance Improvements
49+
50+
* faster formatting ([44cd7a6](https://github.com/browserbase/sdk-node/commit/44cd7a6321dc1dc6f0ebffef9f39db191efd4576))
51+
52+
53+
### Chores
54+
55+
* break long lines in snippets into multiline ([48d6458](https://github.com/browserbase/sdk-node/commit/48d6458a73da3a2da5e1016a3b13ed5b851f9e17))
56+
* ci build action ([4fe59cd](https://github.com/browserbase/sdk-node/commit/4fe59cd495df620609a05b8556d04d1968ef004b))
57+
* **ci:** enable for pull requests ([132825d](https://github.com/browserbase/sdk-node/commit/132825d5c65ba9aa1c47afe9b8a7b14885129598))
58+
* **ci:** only run for pushes and fork pull requests ([a166050](https://github.com/browserbase/sdk-node/commit/a166050ab35ddff365ca60f23ed1243690b7eda2))
59+
* **ci:** upgrade `actions/github-script` ([8818cfb](https://github.com/browserbase/sdk-node/commit/8818cfb698e19648a44ce9a9608de974b2115a1a))
60+
* **client:** do not parse responses with empty content-length ([c9d1b79](https://github.com/browserbase/sdk-node/commit/c9d1b7994557bfc994a0f85508323e3cb827f184))
61+
* **deps:** update dependency node-fetch to v2.6.13 ([b657cbe](https://github.com/browserbase/sdk-node/commit/b657cbec9e3603f4fe186141f0e38aa8a3a66bb7))
62+
* do not install brew dependencies in ./scripts/bootstrap by default ([ea703c8](https://github.com/browserbase/sdk-node/commit/ea703c8de75098582591496bdb0b3d81c9f1605a))
63+
* **docs:** grammar improvements ([985f2fe](https://github.com/browserbase/sdk-node/commit/985f2fe1bf866f1dc48c8d5f1827dda2e99b6f11))
64+
* **docs:** use top-level-await in example snippets ([24c7006](https://github.com/browserbase/sdk-node/commit/24c7006ca4c4dc7c03a48796b2677bdc47728934))
65+
* improve publish-npm script --latest tag logic ([88ce3e3](https://github.com/browserbase/sdk-node/commit/88ce3e3a96e34bfeb08d2ac254440b283818d7ef))
66+
* **internal:** codegen related update ([6eabc90](https://github.com/browserbase/sdk-node/commit/6eabc90c17805698fc4f3c43e7b9adabe2260b4b))
67+
* **internal:** codegen related update ([3dd3df4](https://github.com/browserbase/sdk-node/commit/3dd3df48e900410326c20d8d1f28498a171b4e17))
68+
* **internal:** codegen related update ([eb99387](https://github.com/browserbase/sdk-node/commit/eb993878d68dc8e787877ce2fad439430933bf8d))
69+
* **internal:** fix incremental formatting in some cases ([4057bd2](https://github.com/browserbase/sdk-node/commit/4057bd22ec1c05b8625d6efb8e9ed377d776da24))
70+
* **internal:** formatting change ([29b57d4](https://github.com/browserbase/sdk-node/commit/29b57d4294400969bccde8cacc2b27a5dd90f7fa))
71+
* **internal:** ignore .eslintcache ([adee655](https://github.com/browserbase/sdk-node/commit/adee65511c2b345665703b88b1a2c14da18967cd))
72+
* **internal:** make base APIResource abstract ([6ec9d38](https://github.com/browserbase/sdk-node/commit/6ec9d38a92775cb8e46468b05f539f53a01b54c9))
73+
* **internal:** move publish config ([2fb47ce](https://github.com/browserbase/sdk-node/commit/2fb47cec73a9d518866c84f927fbe16327dc9ab9))
74+
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([80a6db7](https://github.com/browserbase/sdk-node/commit/80a6db70bd87d690cc98db33b59e2ed4d929eb55))
75+
* **internal:** remove redundant imports config ([ddf4087](https://github.com/browserbase/sdk-node/commit/ddf408750a968e8bfcab59a1b86d58be796074de))
76+
* **internal:** update `actions/checkout` version ([dfe82a1](https://github.com/browserbase/sdk-node/commit/dfe82a1f2420a59f93c18b3adc0dbd3dcaa57f3a))
77+
* **internal:** update comment in script ([a549d56](https://github.com/browserbase/sdk-node/commit/a549d56d306c23019fc9cd99f4af5d48345664a5))
78+
* **internal:** upgrade babel, qs, js-yaml ([fe654da](https://github.com/browserbase/sdk-node/commit/fe654daf83853d7529fb80028d22484426287fc8))
79+
* **internal:** use npm pack for build uploads ([b1ddfd9](https://github.com/browserbase/sdk-node/commit/b1ddfd9e4f4e5afb6a0df0185570a4eeaf0fd1b7))
80+
* **internal:** version bump ([690777f](https://github.com/browserbase/sdk-node/commit/690777f5b88d363db563aba093363ed84c7c9ec4))
81+
* make some internal functions async ([f8111cb](https://github.com/browserbase/sdk-node/commit/f8111cb415bd62ff7d30f6ec7912878042d94eed))
82+
* mention unit type in timeout docs ([8d864d1](https://github.com/browserbase/sdk-node/commit/8d864d1f6858a655840ec824434e045c886216eb))
83+
* update @stainless-api/prism-cli to v5.15.0 ([d4ac1f1](https://github.com/browserbase/sdk-node/commit/d4ac1f19f066dc8386a2d7a48123d031763bef46))
84+
* update CI script ([2cd3501](https://github.com/browserbase/sdk-node/commit/2cd3501a6fa3368e8ad48dcd97f8cafd03b92dca))
85+
* update mock server docs ([54a36bf](https://github.com/browserbase/sdk-node/commit/54a36bfe34a444092247686a828331556d8dc003))
86+
87+
88+
### Refactors
89+
90+
* **types:** replace Record with mapped types ([3e0bfd3](https://github.com/browserbase/sdk-node/commit/3e0bfd327332edd2969106d189e650286d13e441))
91+
392
## 2.6.0 (2025-05-16)
493

594
Full Changelog: [v2.5.0...v2.6.0](https://github.com/browserbase/sdk-node/compare/v2.5.0...v2.6.0)

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ $ yarn link @browserbasehq/sdk
6060
# With pnpm
6161
$ pnpm link --global
6262
$ cd ../my-package
63-
$ pnpm link -global @browserbasehq/sdk
63+
$ pnpm link --global @browserbasehq/sdk
6464
```
6565

6666
## Running tests
6767

6868
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
6969

7070
```sh
71-
$ npx prism mock path/to/your/openapi.yml
71+
$ ./scripts/mock
7272
```
7373

7474
```sh

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Browserbase
189+
Copyright 2026 Browserbase
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)