Releases: indeedeng/iwf-golang-sdk
v1.9.0
What's Changed
- 💥 Breaking changes (requires new iwf server v1.18.0)
- IWF-836: SDK expects stateWaitUntilFailed flag instead stateStartApiSucceeded by @samuel27m in #88
Full Changelog: v1.8.1...v1.9.0
v1.8.2
What's Changed
- IWF-786: update libraries to fix vulnerability bot alerts by @dlukiantsev in #87
New Contributors
- @dlukiantsev made their first contribution in #87
Full Changelog: v1.8.0...v1.8.2
v1.8.1
What's Changed
- IWF-786: update libraries to fix vulnerability bot alerts by @dlukiantsev in #87
New Contributors
- @dlukiantsev made their first contribution in #87
Full Changelog: v1.8.0...v1.8.1
v1.8.0
What's Changed
- IWF-536: Update iwf-idl and replace deprecated workflow type error by @stevo89519 in #86
Full Changelog: v1.7.1...v1.8.0
v1.7.1
What's Changed
- IWF-206: Upgrade Temporal SDKs in iWF SDKs test envs by @samuel27m in #83
- IWF-137: Update iwf-idl to latest to allow separate persistence loading policy for state API by @samuel27m in #82
- Test UnregisteredClient invoking RPC and improve check IsRPCError by @longquanzheng in #84
- Bump golang.org/x/crypto from 0.0.0-20211215153901-e495a2d5b3d3 to 0.31.0 by @dependabot in #85
New Contributors
- @samuel27m made their first contribution in #83
- @dependabot made their first contribution in #85
Full Changelog: v1.6.1...v1.7.1
v1.7.0
What's Changed
- add start delay by @duoertai in #78
- 💥 Breaking changes (requires new server v1.10.0)
- IWF-158: Updating iwf-idl submodule to fix typo IdReusePolicy of ALLOW_IF_PREVIOUS_EXISTS_ABNORMALLY by @stevo89519 in #80
New Contributors
- @stevo89519 made their first contribution in #80
Full Changelog: v1.6.0...v1.7.0
v1.6.0 Release
💥Breaking changes: WorkflowStateOptions
--> StateOptions
The iwfidl.WorkflowStateOptions
is an internal model of the API protocol of SDKs and iWF server.
It was a implementation leakage to use it as the return value of GetStateOptions()
method of WorkflowState
interface.
Because of the leakage
- It's confusing that user can set
SkipWaitUntil
boolean - Use can set
ExecuteApiFailurePolicy
and raw state options - It makes things tricky to support
ExecuteApiFailurePolicy
properly
Now we have a dedicated model iwf.StateOptions
in SDK to separate from the API model.
How to migrate
It should be very simple. The breaking changes does't involve anything on server side.
Mostly, just change iwfidl.WorkflowStateOptions
to iwf.StateOptions
.
See how we have changed in the integration tests and samples.
Because iwf.StateOptions
share almost the same fields as iwfidl.WorkflowStateOptions
, except for SkipWaitUntil
and fields for ExecuteApiFailureProceed*
.
To make it clear to use the failure recovery/proceed feature, the SetProceedOnExecuteFailure
is now removed.
Use ExecuteApiFailureProceedState
field instead in the StateOptions
:
options := &iwf.StateOptions{
...
ExecuteApiFailureProceedState: &youRecoveryState{},
}
You should not need to set the state options for this recovery state, because the SDK will use the one returned from the state implementation.
What's Changed
- Refactor StateOptions and execute failure policy by @longquanzheng in #74
Full Changelog: v1.5.0...v1.6.0
v1.5.0 Release
What's Changed
- Updating codegen to support UseMemoForDataAttributes by @edmondop in #67
- Add execute API failure policy support by @nakanaori in #71
- [UNIT TEST] Update mockgen and create client mock by @afasari in #72
New Contributors
- @edmondop made their first contribution in #67
- @nakanaori made their first contribution in #71
- @afasari made their first contribution in #72
Full Changelog: v1.4.2...v1.5.0
v1.4.2 Release
What's Changed
- Fix iwftest.MockCommunication and add example by @longquanzheng in #63
Full Changelog: v1.4.1...v1.4.2
v1.4.1 Release
What's Changed
- Add iwf.WorkflowStateDefaultsNoWaitUntil by @longquanzheng in #62
Full Changelog: v1.4.0...v1.4.1