From d3bab461f31f650a74804f0db19a088a9689bc76 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:03:22 +0000 Subject: [PATCH 1/2] fix: used redirect count instead of retry count in base client --- src/Core/BaseClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/BaseClient.php b/src/Core/BaseClient.php index 6d944db..98f540d 100644 --- a/src/Core/BaseClient.php +++ b/src/Core/BaseClient.php @@ -271,7 +271,7 @@ protected function sendRequest( throw $exn; } - $seconds = $this->retryDelay($opts, retryCount: $redirectCount, rsp: $rsp); + $seconds = $this->retryDelay($opts, retryCount: $retryCount, rsp: $rsp); $floor = floor($seconds); time_nanosleep((int) $floor, nanoseconds: (int) ($seconds - $floor) * 10 ** 9); From 06325a0c5823c0bc81f569a7bf17f31bd4a64fbb 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:03:35 +0000 Subject: [PATCH 2/2] release: 3.13.1 --- .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 82f5ad9..0fef13b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.13.0" + ".": "3.13.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 71f1878..3b1fed8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.13.1 (2026-01-31) + +Full Changelog: [v3.13.0...v3.13.1](https://github.com/browserbase/stagehand-php/compare/v3.13.0...v3.13.1) + +### Bug Fixes + +* used redirect count instead of retry count in base client ([d3bab46](https://github.com/browserbase/stagehand-php/commit/d3bab461f31f650a74804f0db19a088a9689bc76)) + ## 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) diff --git a/README.md b/README.md index b1691ef..0387c84 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.13.0" +composer require "browserbase/stagehand 3.13.1" ``` diff --git a/src/Version.php b/src/Version.php index e6417c7..d18f2ae 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace Stagehand; // x-release-please-start-version -const VERSION = '3.13.0'; +const VERSION = '3.13.1'; // x-release-please-end