Audience: teams upgrading the SDK, Java baseline, or workflow definitions.
Works with: OSS and Orkes.
- Select a published
<VERSION>from Maven Central and read its release notes. - Confirm Java 21 for SDK applications and select the matching Spring module: Boot 3 or Boot 4.
- Compile and run your worker and agent test suites against the target server version.
- Review deprecated APIs in the generated Javadocs and migrate before removing the old version.
Deploy new workers before definitions that require their task types. Keep worker implementations backward compatible while old executions are in flight. For breaking workflow changes, publish a new workflow version, route new starts to it, and drain old executions before removing the old version.
Do not change task names, output keys, tool contracts, or credential scopes in place unless all callers and in-flight executions remain compatible.
Monitor workflow completion, retries, queue age, and error reasons after rollout. A rollback should restore a compatible worker/definition pair; never delete definitions needed by active executions.
Next: workflow lifecycle, compatibility, and debugging.