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.12.0"
".": "3.13.0"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion 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.12.0"
composer require "browserbase/stagehand 3.13.0"
```

<!-- x-release-please-end -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
11 changes: 11 additions & 0 deletions src/Sessions/StreamEvent/Data/StreamEventLogDataOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
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.12.0';
const VERSION = '3.13.0';
// x-release-please-end