Skip to content

v1.1.0 Release

Compare
Choose a tag to compare
@longquanzheng longquanzheng released this 20 Jan 23:26
· 29 commits to main since this release
f892c02

💥 Breaking changes in SDK API:

  • Client:
    • Removed the startStateId for StartWorkflow API -- this should simplify the experience
    • WorkflowOptions use a more friendly way to define initial search attributes
  • UnregisteredClient
    • Add UnregisteredWorkflowOptions for UnregisteredClient since it cannot use WorkflowOptions anymore. UnregisteredWorkflowOptions is the same as the previous WorkflowOptions

New features (need higher server version)

  • Skip timer API for testing/operation : requires server version 1.2 +
  • Decider trigger type: any command combination: requires server version 1.2 +
  • Improve error handling to add more friendly API to check client side error
  • Error handling returns subError type like WorkflowAlreadyStarted/WorkflowNotExists: requires server version 1.2.1+
  • Add Attempt and FirstAttemptTimestampSeconds to context: requires server version 1.2.2+
    • NOTE: This Attempt and FirstAttemptTimestampSeconds are important to implement complex WorkflowState behavior. E.g. It needs to do some backoff retry in a Start/Decide API for several times, but then give up and move on without failing the workflow

Requirements:

Best if runs with iWF server 1.2 +
It also runs with lower versions of iWF server, but new features will be rejected or returns empty

What's Changed

Full Changelog: v1.0.1...v1.1.0