Announcing GA for Worker Versioning and Public Preview for Upgrade on Continue-as-New
Blog post from Temporal
Temporal has announced the General Availability of Worker Versioning and introduced a Public Preview of a new feature called Upgrade on Continue-as-New, which aims to simplify the deployment of new code in long-running Workflows. Traditional methods such as Workflow Patching have added complexity due to the need for conditional logic when updating Workflow logic, especially for Workflows that can run for extensive periods. Worker Versioning offers a solution by allowing Workflows to either remain on their initial Worker version or automatically upgrade to new versions, depending on the designated Versioning Behavior. For very long-running Workflows, Upgrade on Continue-as-New presents a method to seamlessly transition to newer Worker versions at natural checkpoints without requiring patches. This new capability is particularly beneficial for Workflows that use Continue-as-New for managing history, like entity Workflows or AI agents. Worker Versioning is now available across all Temporal SDKs, while Upgrade on Continue-as-New is in Public Preview, inviting users to explore these features for more efficient Workflow management.