Skip to content

Commit 6ff98d3

Browse files
release: 2.10.0 (#181)
Automated Release PR --- ## 2.10.0 (2026-04-06) Full Changelog: [v2.9.0...v2.10.0](v2.9.0...v2.10.0) ### Features * [CORE-000][apps/api] Add verified to SDK ([3d5d8ee](3d5d8ee)) * Update search docs by removing description from typebox schemas ([5a80f2e](5a80f2e)) ### Chores * **ci:** skip lint on metadata-only changes ([b2635a7](b2635a7)) * **internal:** tweak CI branches ([6a01e18](6a01e18)) * **internal:** update gitignore ([a493763](a493763)) * **internal:** update multipart form array serialization ([bd86f6a](bd86f6a)) * **tests:** bump steady to v0.19.4 ([22a2654](22a2654)) * **tests:** bump steady to v0.19.5 ([67408e0](67408e0)) * **tests:** bump steady to v0.19.6 ([41df179](41df179)) * **tests:** bump steady to v0.19.7 ([e83612a](e83612a)) * **tests:** bump steady to v0.20.1 ([deda749](deda749)) * **tests:** bump steady to v0.20.2 ([26bfaca](26bfaca)) ### Refactors * **tests:** switch from prism to steady ([d38c181](d38c181)) --- 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>
1 parent a4956b1 commit 6ff98d3

15 files changed

Lines changed: 75 additions & 42 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 8 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,7 +19,7 @@ jobs:
1719
timeout-minutes: 10
1820
name: lint
1921
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
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
steps:
2224
- uses: actions/checkout@v6
2325

@@ -36,7 +38,7 @@ jobs:
3638
timeout-minutes: 5
3739
name: build
3840
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
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
permissions:
4143
contents: read
4244
id-token: write

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.prism.log
2+
.stdy.log
23
node_modules
34
yarn-error.log
45
codegen.log

.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.9.0"
2+
".": "2.10.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-9b1e2a2abf39dd780601935a9a9ee04cb939e2c3ba76627535f625b6aeaf5eb7.yml
3-
openapi_spec_hash: 12fe5f4306c43fdfb394a33f79391a82
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-921d3c61c7aa06269f74bee63cee993597944f913429caa2aa2e00dd51fab60f.yml
3+
openapi_spec_hash: d35b9613c41bf172fa2b28aceef10b39
44
config_hash: cf04ecfb8dad5fbd8b85be25d6e9ec55

CHANGELOG.md

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

3+
## 2.10.0 (2026-04-06)
4+
5+
Full Changelog: [v2.9.0...v2.10.0](https://github.com/browserbase/sdk-node/compare/v2.9.0...v2.10.0)
6+
7+
### Features
8+
9+
* [CORE-000][apps/api] Add verified to SDK ([3d5d8ee](https://github.com/browserbase/sdk-node/commit/3d5d8eeed45b4bba8e82b04560a97e0c0038bee7))
10+
* Update search docs by removing description from typebox schemas ([5a80f2e](https://github.com/browserbase/sdk-node/commit/5a80f2eb54c7be11989bbb7e1820c966b3511e3d))
11+
12+
13+
### Chores
14+
15+
* **ci:** skip lint on metadata-only changes ([b2635a7](https://github.com/browserbase/sdk-node/commit/b2635a75dbda16d58becdb0a2ea163fcd2793597))
16+
* **internal:** tweak CI branches ([6a01e18](https://github.com/browserbase/sdk-node/commit/6a01e18b448edc29f94d5a3d8de3707f28b95f6d))
17+
* **internal:** update gitignore ([a493763](https://github.com/browserbase/sdk-node/commit/a493763a688700867b9050b662e946aac6b92b41))
18+
* **internal:** update multipart form array serialization ([bd86f6a](https://github.com/browserbase/sdk-node/commit/bd86f6af8731af88d432b75991634ab067de3e16))
19+
* **tests:** bump steady to v0.19.4 ([22a2654](https://github.com/browserbase/sdk-node/commit/22a2654495e703ed6bc2c3245df0ab86995c8356))
20+
* **tests:** bump steady to v0.19.5 ([67408e0](https://github.com/browserbase/sdk-node/commit/67408e0ad8667e63becdcc7810e8d5e5d2103e9f))
21+
* **tests:** bump steady to v0.19.6 ([41df179](https://github.com/browserbase/sdk-node/commit/41df179422074d46093c489479ad8aab341c4cb6))
22+
* **tests:** bump steady to v0.19.7 ([e83612a](https://github.com/browserbase/sdk-node/commit/e83612a756439d0f4d9dac4eac84cc549f6e69b2))
23+
* **tests:** bump steady to v0.20.1 ([deda749](https://github.com/browserbase/sdk-node/commit/deda749dc700a4c823165fa0e8d92a380e5fe59b))
24+
* **tests:** bump steady to v0.20.2 ([26bfaca](https://github.com/browserbase/sdk-node/commit/26bfaca318277fafd9be39861a6a4c7ebe4bfea6))
25+
26+
27+
### Refactors
28+
29+
* **tests:** switch from prism to steady ([d38c181](https://github.com/browserbase/sdk-node/commit/d38c18152f14979fdcd788c4036e5e084fdd0a6b))
30+
331
## 2.9.0 (2026-03-16)
432

533
Full Changelog: [v2.8.0...v2.9.0](https://github.com/browserbase/sdk-node/compare/v2.8.0...v2.9.0)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $ pnpm link --global @browserbasehq/sdk
6565

6666
## Running tests
6767

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

7070
```sh
7171
$ ./scripts/mock

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@browserbasehq/sdk",
3-
"version": "2.9.0",
3+
"version": "2.10.0",
44
"description": "The official Node.js library for the Browserbase API",
55
"author": "Browserbase <support@browserbase.com>",
66
"types": "dist/index.d.ts",

scripts/mock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,34 @@ fi
1919

2020
echo "==> Starting mock server with URL ${URL}"
2121

22-
# Run prism mock on the given spec
22+
# Run steady mock on the given spec
2323
if [ "$1" == "--daemon" ]; then
2424
# Pre-install the package so the download doesn't eat into the startup timeout
25-
npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism --version
25+
npm exec --package=@stdy/cli@0.20.2 -- steady --version
2626

27-
npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log &
27+
npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log &
2828

29-
# Wait for server to come online (max 30s)
29+
# Wait for server to come online via health endpoint (max 30s)
3030
echo -n "Waiting for server"
3131
attempts=0
32-
while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do
32+
while ! curl --silent --fail "http://127.0.0.1:4010/_x-steady/health" >/dev/null 2>&1; do
33+
if ! kill -0 $! 2>/dev/null; then
34+
echo
35+
cat .stdy.log
36+
exit 1
37+
fi
3338
attempts=$((attempts + 1))
3439
if [ "$attempts" -ge 300 ]; then
3540
echo
36-
echo "Timed out waiting for Prism server to start"
37-
cat .prism.log
41+
echo "Timed out waiting for Steady server to start"
42+
cat .stdy.log
3843
exit 1
3944
fi
4045
echo -n "."
4146
sleep 0.1
4247
done
4348

44-
if grep -q "✖ fatal" ".prism.log"; then
45-
cat .prism.log
46-
exit 1
47-
fi
48-
4949
echo
5050
else
51-
npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL"
51+
npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL"
5252
fi

scripts/test

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ GREEN='\033[0;32m'
99
YELLOW='\033[0;33m'
1010
NC='\033[0m' # No Color
1111

12-
function prism_is_running() {
13-
curl --silent "http://localhost:4010" >/dev/null 2>&1
12+
function steady_is_running() {
13+
curl --silent "http://127.0.0.1:4010/_x-steady/health" >/dev/null 2>&1
1414
}
1515

1616
kill_server_on_port() {
@@ -25,7 +25,7 @@ function is_overriding_api_base_url() {
2525
[ -n "$TEST_API_BASE_URL" ]
2626
}
2727

28-
if ! is_overriding_api_base_url && ! prism_is_running ; then
28+
if ! is_overriding_api_base_url && ! steady_is_running ; then
2929
# When we exit this script, make sure to kill the background mock server process
3030
trap 'kill_server_on_port 4010' EXIT
3131

@@ -36,19 +36,19 @@ fi
3636
if is_overriding_api_base_url ; then
3737
echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}"
3838
echo
39-
elif ! prism_is_running ; then
40-
echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server"
39+
elif ! steady_is_running ; then
40+
echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Steady server"
4141
echo -e "running against your OpenAPI spec."
4242
echo
4343
echo -e "To run the server, pass in the path or url of your OpenAPI"
44-
echo -e "spec to the prism command:"
44+
echo -e "spec to the steady command:"
4545
echo
46-
echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}"
46+
echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.2 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}"
4747
echo
4848

4949
exit 1
5050
else
51-
echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}"
51+
echo -e "${GREEN}✔ Mock steady server is running with your OpenAPI spec${NC}"
5252
echo
5353
fi
5454

0 commit comments

Comments
 (0)