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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## 2.0.2 - 2026-09-01

- Workflow `2.0.2` reports its stable package identity through the platform
conformance API, allowing published-package verification after the 2.0 launch.

## 2.0.1 - 2026-09-01

- Workflow `2.0.1` keeps PHP exception traces Avro-portable when argument
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
"extra": {
"durable-workflow": {
"product-train": "2.0.1",
"product-train": "2.0.2",
"laravel-embedded-upgrade-contract": "resources/laravel-embedded-upgrade-contract.json",
"laravel-dependency-security-policy": "resources/laravel-dependency-security-policy.json"
},
Expand Down
4 changes: 2 additions & 2 deletions src/V2/Support/PlatformConformanceSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public static function workflowSourceRelease(): string
}

$release = is_array($composer) ? ($composer['extra']['durable-workflow']['product-train'] ?? null) : null;
if (! is_string($release) || preg_match('/\A2\.0\.0-rc\.[1-9][0-9]*\z/D', $release) !== 1) {
throw new RuntimeException('Workflow package metadata must declare one exact 2.0 release candidate.');
if (! is_string($release) || preg_match('/\A2\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\z/D', $release) !== 1) {
throw new RuntimeException('Workflow package metadata must declare one exact stable 2.x release.');
}

return $release;
Expand Down
6 changes: 2 additions & 4 deletions tests/Unit/V2/PlatformConformanceSuiteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1031,10 +1031,8 @@ public function testWorkflowSourceReleaseAndQualifiedSdkTupleRemainExplicit(): v
$contracts = $suiteManifest['fixture_catalog']['signal_query_runtime_contract']['required_scenario_contracts'];

$this->assertIsString($workflowSourceRelease);
$this->assertMatchesRegularExpression(
'/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-(?:alpha|beta|rc)\.(?:0|[1-9]\d*))?$/D',
$workflowSourceRelease,
);
$this->assertMatchesRegularExpression('/^2\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$/D', $workflowSourceRelease);
$this->assertSame($workflowSourceRelease, PlatformConformanceSuite::workflowSourceRelease());

foreach ($sdkCompatibility as $sdk) {
$this->assertSame('2.0.0-rc.5', $sdk['release_line']);
Expand Down