Skip to content

Commit a4956b1

Browse files
release: 2.9.0 (#179)
Automated Release PR --- ## 2.9.0 (2026-03-16) Full Changelog: [v2.8.0...v2.9.0](v2.8.0...v2.9.0) ### Features * [CORE-1796][apps/api] Update Node.js SDK ([0b1a1ff](0b1a1ff)) * [GRO-000] docs: Add guide + docs for search api ([a87b397](a87b397)) * **api:** api update ([#19](#19)) ([8df9cc8](8df9cc8)) * **api:** update via SDK Studio ([#10](#10)) ([2c6c15d](2c6c15d)) * **api:** update via SDK Studio ([#11](#11)) ([9191ed6](9191ed6)) * **api:** update via SDK Studio ([#12](#12)) ([ebeaf82](ebeaf82)) * **api:** update via SDK Studio ([#13](#13)) ([c0ffdce](c0ffdce)) * **api:** update via SDK Studio ([#16](#16)) ([a96a86c](a96a86c)) * **api:** update via SDK Studio ([#17](#17)) ([52cf741](52cf741)) * **api:** update via SDK Studio ([#3](#3)) ([8a06f81](8a06f81)) * **api:** update via SDK Studio ([#4](#4)) ([cf6309b](cf6309b)) * **api:** update via SDK Studio ([#5](#5)) ([4275810](4275810)) * **api:** update via SDK Studio ([#6](#6)) ([299d77e](299d77e)) * **api:** update via SDK Studio ([#7](#7)) ([e1e4738](e1e4738)) * **api:** update via SDK Studio ([#8](#8)) ([2d845ff](2d845ff)) * **api:** update via SDK Studio ([#9](#9)) ([a17fadc](a17fadc)) ### Bug Fixes * use npm publish instead of yarn publish ([#173](#173)) ([05b3225](05b3225)) ### Chores * go live ([#1](#1)) ([bc9e36e](bc9e36e)) * **release:** prepare alpha ([#36](#36)) ([c5e0f61](c5e0f61)) * **release:** v2.0.0 ([#39](#39)) ([2ecb572](2ecb572)) * update SDK settings ([#21](#21)) ([dd2956f](dd2956f)) --- 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 e2fa875 commit a4956b1

12 files changed

Lines changed: 179 additions & 12 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-
".": "2.8.0"
2+
".": "2.9.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: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-b20f9fea14d79990ab1af3d276f931e026cd955ac623ec6ace80b2af90de170f.yml
3-
openapi_spec_hash: 943ff4b3297014503fdc9854544cb9a4
4-
config_hash: 55c54fdafc9e80be584829b5724b00ab
1+
configured_endpoints: 21
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-9b1e2a2abf39dd780601935a9a9ee04cb939e2c3ba76627535f625b6aeaf5eb7.yml
3+
openapi_spec_hash: 12fe5f4306c43fdfb394a33f79391a82
4+
config_hash: cf04ecfb8dad5fbd8b85be25d6e9ec55

CHANGELOG.md

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

3+
## 2.9.0 (2026-03-16)
4+
5+
Full Changelog: [v2.8.0...v2.9.0](https://github.com/browserbase/sdk-node/compare/v2.8.0...v2.9.0)
6+
7+
### Features
8+
9+
* [CORE-1796][apps/api] Update Node.js SDK ([0b1a1ff](https://github.com/browserbase/sdk-node/commit/0b1a1ff40f260ca4994e4a5a82a72d3518985a2f))
10+
* [GRO-000] docs: Add guide + docs for search api ([a87b397](https://github.com/browserbase/sdk-node/commit/a87b3970711487245762479ea5cc8f488ed3bb86))
11+
* **api:** api update ([#19](https://github.com/browserbase/sdk-node/issues/19)) ([8df9cc8](https://github.com/browserbase/sdk-node/commit/8df9cc8c76e4a615ba63d4568086bd60e88a0dfb))
12+
* **api:** update via SDK Studio ([#10](https://github.com/browserbase/sdk-node/issues/10)) ([2c6c15d](https://github.com/browserbase/sdk-node/commit/2c6c15d148d1a5e74a48f92087580d8c590288af))
13+
* **api:** update via SDK Studio ([#11](https://github.com/browserbase/sdk-node/issues/11)) ([9191ed6](https://github.com/browserbase/sdk-node/commit/9191ed631256b52a39de1aafcf1d7deb2788efdb))
14+
* **api:** update via SDK Studio ([#12](https://github.com/browserbase/sdk-node/issues/12)) ([ebeaf82](https://github.com/browserbase/sdk-node/commit/ebeaf82736747398450d739e27d6874603c4f942))
15+
* **api:** update via SDK Studio ([#13](https://github.com/browserbase/sdk-node/issues/13)) ([c0ffdce](https://github.com/browserbase/sdk-node/commit/c0ffdce615059b9523817d22ef18e01e778f3454))
16+
* **api:** update via SDK Studio ([#16](https://github.com/browserbase/sdk-node/issues/16)) ([a96a86c](https://github.com/browserbase/sdk-node/commit/a96a86c2e7c5025cacd7edd89f88b914de3596e3))
17+
* **api:** update via SDK Studio ([#17](https://github.com/browserbase/sdk-node/issues/17)) ([52cf741](https://github.com/browserbase/sdk-node/commit/52cf741bc4c5712f2fe15ee6eaa48e4c3643ec58))
18+
* **api:** update via SDK Studio ([#3](https://github.com/browserbase/sdk-node/issues/3)) ([8a06f81](https://github.com/browserbase/sdk-node/commit/8a06f81c1cd5dc8a64b9fd10ed26f8547469fdeb))
19+
* **api:** update via SDK Studio ([#4](https://github.com/browserbase/sdk-node/issues/4)) ([cf6309b](https://github.com/browserbase/sdk-node/commit/cf6309bb5de1376139fb0ba6b8e45b5d0801bee5))
20+
* **api:** update via SDK Studio ([#5](https://github.com/browserbase/sdk-node/issues/5)) ([4275810](https://github.com/browserbase/sdk-node/commit/427581035437844d44333c0e3471db675dff89c7))
21+
* **api:** update via SDK Studio ([#6](https://github.com/browserbase/sdk-node/issues/6)) ([299d77e](https://github.com/browserbase/sdk-node/commit/299d77ebc0994b0ab39a9c908157d42d605e9765))
22+
* **api:** update via SDK Studio ([#7](https://github.com/browserbase/sdk-node/issues/7)) ([e1e4738](https://github.com/browserbase/sdk-node/commit/e1e47381dc142f94bd61e7f5819eafbf5b4797a7))
23+
* **api:** update via SDK Studio ([#8](https://github.com/browserbase/sdk-node/issues/8)) ([2d845ff](https://github.com/browserbase/sdk-node/commit/2d845ffc683ea988980e42ea2c03699034af6980))
24+
* **api:** update via SDK Studio ([#9](https://github.com/browserbase/sdk-node/issues/9)) ([a17fadc](https://github.com/browserbase/sdk-node/commit/a17fadcac323079f3e36e0c965f6d6c1be26f1d8))
25+
26+
27+
### Bug Fixes
28+
29+
* use npm publish instead of yarn publish ([#173](https://github.com/browserbase/sdk-node/issues/173)) ([05b3225](https://github.com/browserbase/sdk-node/commit/05b3225efe94473f2b49988dab63a9e67beb9802))
30+
31+
32+
### Chores
33+
34+
* go live ([#1](https://github.com/browserbase/sdk-node/issues/1)) ([bc9e36e](https://github.com/browserbase/sdk-node/commit/bc9e36ec17be8df65bc4bd43bad6ad6617e4973c))
35+
* **release:** prepare alpha ([#36](https://github.com/browserbase/sdk-node/issues/36)) ([c5e0f61](https://github.com/browserbase/sdk-node/commit/c5e0f61f324c607421449db10cf861a0a5100b4a))
36+
* **release:** v2.0.0 ([#39](https://github.com/browserbase/sdk-node/issues/39)) ([2ecb572](https://github.com/browserbase/sdk-node/commit/2ecb5720bc6102a3487ecd71f06fd3c548b5f760))
37+
* update SDK settings ([#21](https://github.com/browserbase/sdk-node/issues/21)) ([dd2956f](https://github.com/browserbase/sdk-node/commit/dd2956f0b22aac232b6ae3cdd572a4d6b688099d))
38+
339
## 2.8.0-alpha.1 (2026-03-11)
440

541
Full Changelog: [v2.7.0...v2.8.0-alpha.1](https://github.com/browserbase/sdk-node/compare/v2.7.0...v2.8.0-alpha.1)

api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ Methods:
4949
- <code title="get /v1/projects">client.projects.<a href="./src/resources/projects.ts">list</a>() -> ProjectListResponse</code>
5050
- <code title="get /v1/projects/{id}/usage">client.projects.<a href="./src/resources/projects.ts">usage</a>(id) -> ProjectUsage</code>
5151

52+
# Search
53+
54+
Types:
55+
56+
- <code><a href="./src/resources/search.ts">SearchWebResponse</a></code>
57+
58+
Methods:
59+
60+
- <code title="post /v1/search">client.search.<a href="./src/resources/search.ts">web</a>({ ...params }) -> SearchWebResponse</code>
61+
5262
# Sessions
5363

5464
Types:

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.8.0",
3+
"version": "2.9.0",
44
"description": "The official Node.js library for the Browserbase API",
55
"author": "Browserbase <support@browserbase.com>",
66
"types": "dist/index.d.ts",

src/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
import { Extension, ExtensionCreateParams, Extensions } from './resources/extensions';
1616
import { FetchAPI, FetchAPICreateParams, FetchAPICreateResponse } from './resources/fetch-api';
1717
import { Project, ProjectListResponse, ProjectUsage, Projects } from './resources/projects';
18+
import { Search, SearchWebParams, SearchWebResponse } from './resources/search';
1819
import {
1920
Session,
2021
SessionCreateParams,
@@ -147,6 +148,7 @@ export class Browserbase extends Core.APIClient {
147148
extensions: API.Extensions = new API.Extensions(this);
148149
fetchAPI: API.FetchAPI = new API.FetchAPI(this);
149150
projects: API.Projects = new API.Projects(this);
151+
search: API.Search = new API.Search(this);
150152
sessions: API.Sessions = new API.Sessions(this);
151153

152154
/**
@@ -196,6 +198,7 @@ Browserbase.Contexts = Contexts;
196198
Browserbase.Extensions = Extensions;
197199
Browserbase.FetchAPI = FetchAPI;
198200
Browserbase.Projects = Projects;
201+
Browserbase.Search = Search;
199202
Browserbase.Sessions = Sessions;
200203

201204
export declare namespace Browserbase {
@@ -228,6 +231,12 @@ export declare namespace Browserbase {
228231
type ProjectListResponse as ProjectListResponse,
229232
};
230233

234+
export {
235+
Search as Search,
236+
type SearchWebResponse as SearchWebResponse,
237+
type SearchWebParams as SearchWebParams,
238+
};
239+
231240
export {
232241
Sessions as Sessions,
233242
type Session as Session,

src/resources/fetch-api.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ export class FetchAPI extends APIResource {
1212
}
1313
}
1414

15-
/**
16-
* Response body for fetch
17-
*/
1815
export interface FetchAPICreateResponse {
1916
/**
2017
* Unique identifier for the fetch request

src/resources/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export {
1010
export { Extensions, type Extension, type ExtensionCreateParams } from './extensions';
1111
export { FetchAPI, type FetchAPICreateResponse, type FetchAPICreateParams } from './fetch-api';
1212
export { Projects, type Project, type ProjectUsage, type ProjectListResponse } from './projects';
13+
export { Search, type SearchWebResponse, type SearchWebParams } from './search';
1314
export {
1415
Sessions,
1516
type Session,

src/resources/search.ts

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
import { APIResource } from '../resource';
4+
import * as Core from '../core';
5+
6+
export class Search extends APIResource {
7+
/**
8+
* Perform a web search and return structured results.
9+
*/
10+
web(body: SearchWebParams, options?: Core.RequestOptions): Core.APIPromise<SearchWebResponse> {
11+
return this._client.post('/v1/search', { body, ...options });
12+
}
13+
}
14+
15+
/**
16+
* Response body for web search
17+
*/
18+
export interface SearchWebResponse {
19+
/**
20+
* The search query that was executed
21+
*/
22+
query: string;
23+
24+
/**
25+
* Unique identifier for the request
26+
*/
27+
requestId: string;
28+
29+
/**
30+
* List of search results
31+
*/
32+
results: Array<SearchWebResponse.Result>;
33+
}
34+
35+
export namespace SearchWebResponse {
36+
export interface Result {
37+
/**
38+
* Unique identifier for the result
39+
*/
40+
id: string;
41+
42+
/**
43+
* The title of the search result
44+
*/
45+
title: string;
46+
47+
/**
48+
* The URL of the search result
49+
*/
50+
url: string;
51+
52+
/**
53+
* Author of the content if available
54+
*/
55+
author?: string;
56+
57+
/**
58+
* Favicon URL
59+
*/
60+
favicon?: string;
61+
62+
/**
63+
* Image URL if available
64+
*/
65+
image?: string;
66+
67+
/**
68+
* Publication date in ISO 8601 format
69+
*/
70+
publishedDate?: string;
71+
}
72+
}
73+
74+
export interface SearchWebParams {
75+
/**
76+
* The search query string
77+
*/
78+
query: string;
79+
80+
/**
81+
* Number of results to return (1-25)
82+
*/
83+
numResults?: number;
84+
}
85+
86+
export declare namespace Search {
87+
export { type SearchWebResponse as SearchWebResponse, type SearchWebParams as SearchWebParams };
88+
}

0 commit comments

Comments
 (0)