From ecfd5a4f0842da9ff452958799f2e542f782bb73 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 31 Jan 2026 06:01:41 +0000 Subject: [PATCH 1/2] feat: add setters to constant parameters --- .../ProxyConfigList/BrowserbaseProxyConfig.php | 11 +++++++++++ .../Proxies/ProxyConfigList/ExternalProxyConfig.php | 11 +++++++++++ .../StreamEvent/Data/StreamEventLogDataOutput.php | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/BrowserbaseProxyConfig.php b/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/BrowserbaseProxyConfig.php index 3aa53a2..8023995 100644 --- a/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/BrowserbaseProxyConfig.php +++ b/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/BrowserbaseProxyConfig.php @@ -58,6 +58,17 @@ public static function with( return $self; } + /** + * @param 'browserbase' $type + */ + public function withType(string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } + public function withDomainPattern(string $domainPattern): self { $self = clone $this; diff --git a/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/ExternalProxyConfig.php b/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/ExternalProxyConfig.php index a203e40..25d8fd6 100644 --- a/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/ExternalProxyConfig.php +++ b/src/Sessions/SessionStartParams/BrowserbaseSessionCreateParams/Proxies/ProxyConfigList/ExternalProxyConfig.php @@ -88,6 +88,17 @@ public function withServer(string $server): self return $self; } + /** + * @param 'external' $type + */ + public function withType(string $type): self + { + $self = clone $this; + $self['type'] = $type; + + return $self; + } + public function withDomainPattern(string $domainPattern): self { $self = clone $this; diff --git a/src/Sessions/StreamEvent/Data/StreamEventLogDataOutput.php b/src/Sessions/StreamEvent/Data/StreamEventLogDataOutput.php index 5477691..9845210 100644 --- a/src/Sessions/StreamEvent/Data/StreamEventLogDataOutput.php +++ b/src/Sessions/StreamEvent/Data/StreamEventLogDataOutput.php @@ -71,4 +71,15 @@ public function withMessage(string $message): self return $self; } + + /** + * @param 'running' $status + */ + public function withStatus(string $status): self + { + $self = clone $this; + $self['status'] = $status; + + return $self; + } } From 0b55f6008a950a74b09b3226e28da638ff872e19 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 31 Jan 2026 06:01:54 +0000 Subject: [PATCH 2/2] release: 3.13.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- src/Version.php | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index faa0df4..82f5ad9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.12.0" + ".": "3.13.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 77e3fdd..71f1878 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.13.0 (2026-01-31) + +Full Changelog: [v3.12.0...v3.13.0](https://github.com/browserbase/stagehand-php/compare/v3.12.0...v3.13.0) + +### Features + +* add setters to constant parameters ([ecfd5a4](https://github.com/browserbase/stagehand-php/commit/ecfd5a4f0842da9ff452958799f2e542f782bb73)) + ## 3.12.0 (2026-01-31) Full Changelog: [v3.11.0...v3.12.0](https://github.com/browserbase/stagehand-php/compare/v3.11.0...v3.12.0) diff --git a/README.md b/README.md index 247b7e2..b1691ef 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ The REST API documentation can be found on [docs.stagehand.dev](https://docs.sta ``` -composer require "browserbase/stagehand 3.12.0" +composer require "browserbase/stagehand 3.13.0" ``` diff --git a/src/Version.php b/src/Version.php index 919dd22..e6417c7 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace Stagehand; // x-release-please-start-version -const VERSION = '3.12.0'; +const VERSION = '3.13.0'; // x-release-please-end