Skip to content

Commit 16583e0

Browse files
release: 0.3.0 (#265)
* feat: Removed requiring x-language and x-sdk-version from openapi spec * feat: Using provider/model syntax in modelName examples within openapi spec * release: 0.3.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 6a71238 commit 16583e0

16 files changed

+52
-349
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.2.4"
2+
".": "0.3.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-39cd9547d16412cf0568f6ce2ad8d43805dffe65bde830beeff630b903ae3b38.yml
3-
openapi_spec_hash: 9cd7c9fefa686f9711392782d948470f
4-
config_hash: 3c21550e2c94cad4339d3093d794beb0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-119383e808f394a7676e901bac8b97b6d7402d187d03452fd8d62b31d4085580.yml
3+
openapi_spec_hash: 8a8d7be19d95f849098690863fe9a71a
4+
config_hash: 1f709f8775e13029dc60064ef3a94355

CHANGELOG.md

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

3+
## 0.3.0 (2026-01-12)
4+
5+
Full Changelog: [v0.2.4...v0.3.0](https://github.com/browserbase/stagehand-python/compare/v0.2.4...v0.3.0)
6+
7+
### Features
8+
9+
* Removed requiring x-language and x-sdk-version from openapi spec ([618266f](https://github.com/browserbase/stagehand-python/commit/618266f3fe397a2d346fc1f3adaad225db443cdf))
10+
* Using provider/model syntax in modelName examples within openapi spec ([98d8ab9](https://github.com/browserbase/stagehand-python/commit/98d8ab97cb1115b9cff7f6e831b7dfa98e27f15a))
11+
312
## 0.2.4 (2026-01-07)
413

514
Full Changelog: [v0.2.3...v0.2.4](https://github.com/browserbase/stagehand-python/compare/v0.2.3...v0.2.4)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stagehand-alpha"
3-
version = "0.2.4"
3+
version = "0.3.0"
44
description = "The official Python library for the stagehand API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/stagehand/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "stagehand"
4-
__version__ = "0.2.4" # x-release-please-version
4+
__version__ = "0.3.0" # x-release-please-version

src/stagehand/resources/sessions.py

Lines changed: 16 additions & 238 deletions
Large diffs are not rendered by default.

src/stagehand/types/model_config_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class ModelConfigObject(TypedDict, total=False):
1414
model_name: Required[Annotated[str, PropertyInfo(alias="modelName")]]
15-
"""Model name string without prefix (e.g., 'gpt-5-nano', 'claude-4.5-opus')"""
15+
"""Model name string (e.g., 'openai/gpt-5-nano', 'anthropic/claude-4.5-opus')"""
1616

1717
api_key: Annotated[str, PropertyInfo(alias="apiKey")]
1818
"""API key for the model provider"""

src/stagehand/types/session_act_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ class SessionActParamsBase(TypedDict, total=False):
2222

2323
options: Options
2424

25-
x_language: Annotated[Literal["typescript", "python", "playground"], PropertyInfo(alias="x-language")]
26-
"""Client SDK language"""
27-
28-
x_sdk_version: Annotated[str, PropertyInfo(alias="x-sdk-version")]
29-
"""Version of the Stagehand SDK"""
30-
3125
x_sent_at: Annotated[Union[str, datetime], PropertyInfo(alias="x-sent-at", format="iso8601")]
3226
"""ISO timestamp when request was sent"""
3327

src/stagehand/types/session_end_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
class SessionEndParams(TypedDict, total=False):
1515
_force_body: Annotated[object, PropertyInfo(alias="_forceBody")]
1616

17-
x_language: Annotated[Literal["typescript", "python", "playground"], PropertyInfo(alias="x-language")]
18-
"""Client SDK language"""
19-
20-
x_sdk_version: Annotated[str, PropertyInfo(alias="x-sdk-version")]
21-
"""Version of the Stagehand SDK"""
22-
2317
x_sent_at: Annotated[Union[str, datetime], PropertyInfo(alias="x-sent-at", format="iso8601")]
2418
"""ISO timestamp when request was sent"""
2519

src/stagehand/types/session_execute_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ class SessionExecuteParamsBase(TypedDict, total=False):
2626
frame_id: Annotated[str, PropertyInfo(alias="frameId")]
2727
"""Target frame ID for the agent"""
2828

29-
x_language: Annotated[Literal["typescript", "python", "playground"], PropertyInfo(alias="x-language")]
30-
"""Client SDK language"""
31-
32-
x_sdk_version: Annotated[str, PropertyInfo(alias="x-sdk-version")]
33-
"""Version of the Stagehand SDK"""
34-
3529
x_sent_at: Annotated[Union[str, datetime], PropertyInfo(alias="x-sent-at", format="iso8601")]
3630
"""ISO timestamp when request was sent"""
3731

0 commit comments

Comments
 (0)