From 8691bc04e7941e14ee90011027b38d25b2530f78 Mon Sep 17 00:00:00 2001 From: Andrew Yuan Date: Thu, 17 Sep 2026 10:08:23 +0800 Subject: [PATCH 1/2] Mark Priority as stable --- src/Common/Priority.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Common/Priority.php b/src/Common/Priority.php index 1078cee5d..2b08e40a1 100644 --- a/src/Common/Priority.php +++ b/src/Common/Priority.php @@ -25,8 +25,6 @@ * from the calling workflow, or if there is no calling workflow, then use the default value. * * @see \Temporal\Api\Common\V1\Priority - * - * @internal The feature is experimental and may change in the future. */ final class Priority { From 72ba958cdd73ee9d09c6a12ad50fbac24fa4c381 Mon Sep 17 00:00:00 2001 From: Andrew Yuan Date: Thu, 17 Sep 2026 10:41:56 +0800 Subject: [PATCH 2/2] Stabilize Priority API surfaces --- src/Activity/ActivityInfo.php | 2 -- src/Activity/ActivityOptions.php | 2 -- src/Client/WorkflowOptions.php | 2 -- src/Workflow/ChildWorkflowOptions.php | 2 -- src/Workflow/WorkflowInfo.php | 2 -- 5 files changed, 10 deletions(-) diff --git a/src/Activity/ActivityInfo.php b/src/Activity/ActivityInfo.php index c3e85ee28..bc4e4586e 100644 --- a/src/Activity/ActivityInfo.php +++ b/src/Activity/ActivityInfo.php @@ -103,8 +103,6 @@ final class ActivityInfo /** * Return the priority of the activity task. - * - * @internal Experimental API */ #[Marshal(name: 'Priority')] public Priority $priority; diff --git a/src/Activity/ActivityOptions.php b/src/Activity/ActivityOptions.php index e02ca212b..485c381ca 100644 --- a/src/Activity/ActivityOptions.php +++ b/src/Activity/ActivityOptions.php @@ -321,8 +321,6 @@ public function withRetryOptions(?RetryOptions $options): self * Defaults to inheriting priority from the workflow that scheduled the activity. * * @return $this - * - * @internal Experimental */ #[Pure] public function withPriority(Priority $priority): self diff --git a/src/Client/WorkflowOptions.php b/src/Client/WorkflowOptions.php index 5f483e77e..775b1789c 100644 --- a/src/Client/WorkflowOptions.php +++ b/src/Client/WorkflowOptions.php @@ -596,8 +596,6 @@ public function toSearchAttributes(DataConverterInterface $converter): ?SearchAt * backed up in a queue. * * @return $this - * - * @internal Experimental */ #[Pure] public function withPriority(Priority $priority): self diff --git a/src/Workflow/ChildWorkflowOptions.php b/src/Workflow/ChildWorkflowOptions.php index aa8c4a878..731de2611 100644 --- a/src/Workflow/ChildWorkflowOptions.php +++ b/src/Workflow/ChildWorkflowOptions.php @@ -495,8 +495,6 @@ public function withStaticDetails(string $details): self * backed up in a queue. * * @return $this - * - * @internal Experimental */ #[Pure] public function withPriority(Priority $priority): self diff --git a/src/Workflow/WorkflowInfo.php b/src/Workflow/WorkflowInfo.php index 4b61f98ba..828f89ced 100644 --- a/src/Workflow/WorkflowInfo.php +++ b/src/Workflow/WorkflowInfo.php @@ -144,8 +144,6 @@ final class WorkflowInfo /** * The priority of the Workflow task. - * - * @internal ExperimentalAPI */ #[Marshal(name: 'Priority')] public Priority $priority;