Skip to content

Commit 8f88a74

Browse files
release: 0.4.0 (#4)
* feat(api): manual updates * release: 0.4.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 586fc14 commit 8f88a74

File tree

8 files changed

+33
-25
lines changed

8 files changed

+33
-25
lines changed

.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.3.0"
2+
".": "0.4.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 7
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-ed52466945f2f8dfd3814a29e948d7bf30af7b76a7a7689079c03b8baf64e26f.yml
33
openapi_spec_hash: 5d57aaf2362b0d882372dbf76477ba23
4-
config_hash: 989ddfee371586e9156b4d484ec0a6cc
4+
config_hash: 8ec9eaf59304f664cf79f73de1488671

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.4.0 (2026-01-05)
4+
5+
Full Changelog: [v0.3.0...v0.4.0](https://github.com/browserbase/stagehand-java/compare/v0.3.0...v0.4.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([5cf0d46](https://github.com/browserbase/stagehand-java/commit/5cf0d4684d652046dbf0c05e12a796423f860bd9))
10+
311
## 0.3.0 (2025-12-23)
412

513
Full Changelog: [v0.2.0...v0.3.0](https://github.com/browserbase/stagehand-java/compare/v0.2.0...v0.3.0)

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.browserbase.api/stagehand-java)](https://central.sonatype.com/artifact/com.browserbase.api/stagehand-java/0.3.0)
6-
[![javadoc](https://javadoc.io/badge2/com.browserbase.api/stagehand-java/0.3.0/javadoc.svg)](https://javadoc.io/doc/com.browserbase.api/stagehand-java/0.3.0)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.browserbase.api/stagehand-java)](https://central.sonatype.com/artifact/com.browserbase.api/stagehand-java/0.4.0)
6+
[![javadoc](https://javadoc.io/badge2/com.browserbase.api/stagehand-java/0.4.0/javadoc.svg)](https://javadoc.io/doc/com.browserbase.api/stagehand-java/0.4.0)
77

88
<!-- x-release-please-end -->
99

@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1313

1414
<!-- x-release-please-start-version -->
1515

16-
The REST API documentation can be found on [docs.stagehand.dev](https://docs.stagehand.dev). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.browserbase.api/stagehand-java/0.3.0).
16+
The REST API documentation can be found on [docs.stagehand.dev](https://docs.stagehand.dev). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.browserbase.api/stagehand-java/0.4.0).
1717

1818
<!-- x-release-please-end -->
1919

@@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.stagehand.dev](https://docs.sta
2424
### Gradle
2525

2626
```kotlin
27-
implementation("com.browserbase.api:stagehand-java:0.3.0")
27+
implementation("com.browserbase.api:stagehand-java:0.4.0")
2828
```
2929

3030
### Maven
@@ -33,7 +33,7 @@ implementation("com.browserbase.api:stagehand-java:0.3.0")
3333
<dependency>
3434
<groupId>com.browserbase.api</groupId>
3535
<artifactId>stagehand-java</artifactId>
36-
<version>0.3.0</version>
36+
<version>0.4.0</version>
3737
</dependency>
3838
```
3939

@@ -104,12 +104,12 @@ StagehandClient client = StagehandOkHttpClient.builder()
104104

105105
See this table for the available options:
106106

107-
| Setter | System property | Environment variable | Required | Default value |
108-
| ---------------------- | -------------------------------- | ------------------------ | -------- | -------------------------------------------- |
109-
| `browserbaseApiKey` | `stagehand.browserbaseApiKey` | `BROWSERBASE_API_KEY` | true | - |
110-
| `browserbaseProjectId` | `stagehand.browserbaseProjectId` | `BROWSERBASE_PROJECT_ID` | true | - |
111-
| `modelApiKey` | `stagehand.modelApiKey` | `MODEL_API_KEY` | true | - |
112-
| `baseUrl` | `stagehand.baseUrl` | `STAGEHAND_BASE_URL` | true | `"https://api.stagehand.browserbase.com/v1"` |
107+
| Setter | System property | Environment variable | Required | Default value |
108+
| ---------------------- | -------------------------------- | ------------------------ | -------- | ----------------------------------------- |
109+
| `browserbaseApiKey` | `stagehand.browserbaseApiKey` | `BROWSERBASE_API_KEY` | true | - |
110+
| `browserbaseProjectId` | `stagehand.browserbaseProjectId` | `BROWSERBASE_PROJECT_ID` | true | - |
111+
| `modelApiKey` | `stagehand.modelApiKey` | `MODEL_API_KEY` | true | - |
112+
| `baseUrl` | `stagehand.baseUrl` | `STAGEHAND_BASE_URL` | true | `"https://api.stagehand.browserbase.com"` |
113113

114114
System properties take precedence over environment variables.
115115

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories {
99

1010
allprojects {
1111
group = "com.browserbase.api"
12-
version = "0.3.0" // x-release-please-version
12+
version = "0.4.0" // x-release-please-version
1313
}
1414

1515
subprojects {

stagehand-java-client-okhttp/src/main/kotlin/com/browserbase/api/client/okhttp/StagehandOkHttpClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class StagehandOkHttpClient private constructor() {
157157
/**
158158
* The base URL to use for every request.
159159
*
160-
* Defaults to the production environment: `https://api.stagehand.browserbase.com/v1`.
160+
* Defaults to the production environment: `https://api.stagehand.browserbase.com`.
161161
*/
162162
fun baseUrl(baseUrl: String?) = apply { clientOptions.baseUrl(baseUrl) }
163163

stagehand-java-client-okhttp/src/main/kotlin/com/browserbase/api/client/okhttp/StagehandOkHttpClientAsync.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class StagehandOkHttpClientAsync private constructor() {
157157
/**
158158
* The base URL to use for every request.
159159
*
160-
* Defaults to the production environment: `https://api.stagehand.browserbase.com/v1`.
160+
* Defaults to the production environment: `https://api.stagehand.browserbase.com`.
161161
*/
162162
fun baseUrl(baseUrl: String?) = apply { clientOptions.baseUrl(baseUrl) }
163163

stagehand-java-core/src/main/kotlin/com/browserbase/api/core/ClientOptions.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ private constructor(
124124
/**
125125
* The base URL to use for every request.
126126
*
127-
* Defaults to the production environment: `https://api.stagehand.browserbase.com/v1`.
127+
* Defaults to the production environment: `https://api.stagehand.browserbase.com`.
128128
*/
129129
fun baseUrl(): String = baseUrl ?: PRODUCTION_URL
130130

131131
fun toBuilder() = Builder().from(this)
132132

133133
companion object {
134134

135-
const val PRODUCTION_URL = "https://api.stagehand.browserbase.com/v1"
135+
const val PRODUCTION_URL = "https://api.stagehand.browserbase.com"
136136

137137
/**
138138
* Returns a mutable builder for constructing an instance of [ClientOptions].
@@ -260,7 +260,7 @@ private constructor(
260260
/**
261261
* The base URL to use for every request.
262262
*
263-
* Defaults to the production environment: `https://api.stagehand.browserbase.com/v1`.
263+
* Defaults to the production environment: `https://api.stagehand.browserbase.com`.
264264
*/
265265
fun baseUrl(baseUrl: String?) = apply { this.baseUrl = baseUrl }
266266

@@ -411,12 +411,12 @@ private constructor(
411411
*
412412
* See this table for the available options:
413413
*
414-
* |Setter |System property |Environment variable |Required|Default value |
415-
* |----------------------|--------------------------------|------------------------|--------|--------------------------------------------|
416-
* |`browserbaseApiKey` |`stagehand.browserbaseApiKey` |`BROWSERBASE_API_KEY` |true |- |
417-
* |`browserbaseProjectId`|`stagehand.browserbaseProjectId`|`BROWSERBASE_PROJECT_ID`|true |- |
418-
* |`modelApiKey` |`stagehand.modelApiKey` |`MODEL_API_KEY` |true |- |
419-
* |`baseUrl` |`stagehand.baseUrl` |`STAGEHAND_BASE_URL` |true |`"https://api.stagehand.browserbase.com/v1"`|
414+
* |Setter |System property |Environment variable |Required|Default value |
415+
* |----------------------|--------------------------------|------------------------|--------|-----------------------------------------|
416+
* |`browserbaseApiKey` |`stagehand.browserbaseApiKey` |`BROWSERBASE_API_KEY` |true |- |
417+
* |`browserbaseProjectId`|`stagehand.browserbaseProjectId`|`BROWSERBASE_PROJECT_ID`|true |- |
418+
* |`modelApiKey` |`stagehand.modelApiKey` |`MODEL_API_KEY` |true |- |
419+
* |`baseUrl` |`stagehand.baseUrl` |`STAGEHAND_BASE_URL` |true |`"https://api.stagehand.browserbase.com"`|
420420
*
421421
* System properties take precedence over environment variables.
422422
*/

0 commit comments

Comments
 (0)