Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.18.0"
".": "3.19.3"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-bc309fd00fe0507f4cbe3bc77fa27d0fbffeaa6e71998778da34de42608a67e8.yml
openapi_spec_hash: 1db1af5c1b068bba1d652102f4454668
config_hash: d6c6f623d03971bdba921650e5eb7e5f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-b969ce378479c79ee64c05127c0ed6c6ce2edbee017ecd037242fb618a5ebc9f.yml
openapi_spec_hash: a24aabaa5214effb679808b7f2be0ad4
config_hash: a962ae71493deb11a1c903256fb25386
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.19.3 (2026-04-03)

Full Changelog: [v3.18.0...v3.19.3](https://github.com/browserbase/stagehand-php/compare/v3.18.0...v3.19.3)

### Features

* Replace default model used in server-v3 api spec examples ([b0b96f9](https://github.com/browserbase/stagehand-php/commit/b0b96f9947ada81950292af4f3fefb3743c6d1d6))

## 3.18.0 (2026-03-24)

Full Changelog: [v3.16.0...v3.18.0](https://github.com/browserbase/stagehand-php/compare/v3.16.0...v3.18.0)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The REST API documentation can be found on [docs.stagehand.dev](https://docs.sta
<!-- x-release-please-start-version -->

```
composer require "browserbase/stagehand 3.18.0"
composer require "browserbase/stagehand 3.19.3"
```

<!-- x-release-please-end -->
Expand Down Expand Up @@ -276,7 +276,7 @@ use Stagehand\Core\Exceptions\RateLimitException;
use Stagehand\Core\Exceptions\APIStatusException;

try {
$response = $client->sessions->start(modelName: 'openai/gpt-5-nano');
$response = $client->sessions->start(modelName: 'openai/gpt-5.4-mini');
} catch (APIConnectionException $e) {
echo "The server could not be reached", PHP_EOL;
var_dump($e->getPrevious());
Expand Down Expand Up @@ -322,7 +322,7 @@ $client = new Client(requestOptions: ['maxRetries' => 0]);

// Or, configure per-request:
$result = $client->sessions->start(
modelName: 'openai/gpt-5-nano', requestOptions: ['maxRetries' => 5]
modelName: 'openai/gpt-5.4-mini', requestOptions: ['maxRetries' => 5]
);
```

Expand All @@ -340,7 +340,7 @@ Note: the `extra*` parameters of the same name overrides the documented paramete
<?php

$response = $client->sessions->start(
modelName: 'openai/gpt-5-nano',
modelName: 'openai/gpt-5.4-mini',
requestOptions: [
'extraQueryParams' => ['my_query_parameter' => 'value'],
'extraBodyParams' => ['my_body_parameter' => 'value'],
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace Stagehand;

// x-release-please-start-version
const VERSION = '3.18.0';
const VERSION = '3.19.3';
// x-release-please-end
2 changes: 1 addition & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testDefaultHeaders(): void
requestOptions: ['transporter' => $transporter],
);

$client->sessions->start(modelName: 'openai/gpt-4o');
$client->sessions->start(modelName: 'openai/gpt-5.4-mini');

$this->assertNotFalse($requested = $transporter->getRequests()[0] ?? false);

Expand Down
10 changes: 5 additions & 5 deletions tests/Services/SessionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function testActWithOptionalParams(): void
frameID: 'frameId',
options: [
'model' => [
'modelName' => 'openai/gpt-5-nano',
'modelName' => 'openai/gpt-5.4-mini',
'apiKey' => 'sk-some-openai-api-key',
'baseURL' => 'https://api.openai.com/v1',
'headers' => ['foo' => 'string'],
Expand Down Expand Up @@ -136,15 +136,15 @@ public function testExecuteWithOptionalParams(): void
agentConfig: [
'cua' => true,
'executionModel' => [
'modelName' => 'openai/gpt-5-nano',
'modelName' => 'openai/gpt-5.4-mini',
'apiKey' => 'sk-some-openai-api-key',
'baseURL' => 'https://api.openai.com/v1',
'headers' => ['foo' => 'string'],
'provider' => 'openai',
],
'mode' => 'cua',
'model' => [
'modelName' => 'openai/gpt-5-nano',
'modelName' => 'openai/gpt-5.4-mini',
'apiKey' => 'sk-some-openai-api-key',
'baseURL' => 'https://api.openai.com/v1',
'headers' => ['foo' => 'string'],
Expand Down Expand Up @@ -259,7 +259,7 @@ public function testStart(): void
$this->markTestSkipped('Mock server tests are disabled');
}

$result = $this->client->sessions->start(modelName: 'openai/gpt-4o');
$result = $this->client->sessions->start(modelName: 'openai/gpt-5.4-mini');

// @phpstan-ignore-next-line method.alreadyNarrowedType
$this->assertInstanceOf(SessionStartResponse::class, $result);
Expand All @@ -273,7 +273,7 @@ public function testStartWithOptionalParams(): void
}

$result = $this->client->sessions->start(
modelName: 'openai/gpt-4o',
modelName: 'openai/gpt-5.4-mini',
actTimeoutMs: 0,
browser: [
'cdpURL' => 'ws://localhost:9222',
Expand Down