Skip to content

Serverless Workflow Go SDK v2.2.0

Compare
Choose a tag to compare
@ricardozanini ricardozanini released this 20 Dec 13:00
· 43 commits to main since this release
a2f539d

Big changes! Now the Go SDK officially supports the specification version 0.8. If you have problems, please don't hesitate to open an issue. You can find us at the serverless-workflow-sdk channel on CNCF Slack.

What's Changed

  • test(*): fix unittest assert.NoError checks and msg by @lsytj0413 in #67
  • refactor(model): remove unnecessary code for slice length check by @lsytj0413 in #68
  • fix(*): update auth type to array or string by @lsytj0413 in #71
  • fix(44): add validate for ISO8601 time duration field by @lsytj0413 in #72
  • feat(*): change test resources expression to jq by @lsytj0413 in #73
  • fix(*): validate failed when transition is missing by @lsytj0413 in #75
  • fix(*): validate stateExecTimeout iso8601 by @lsytj0413 in #76
  • refactor(*): add iso8601duration validate tag by @lsytj0413 in #78
  • feat(*): add v0.8 event data filter's useData field by @lsytj0413 in #79
  • v08 spec alignment - Support custom function type definition by @spolti in #80
  • feat(*): add v0.8 action data filter's useResults field by @lsytj0413 in #82
  • feat(*): add v0.8 action data filter's condition field by @brlala in #83
  • v08 spec alignment - Workflow name no longer a required property by @spolti in #81
  • v08 spec alignment - Workflow start no longer a required property by @spolti in #84
  • v08 spec alignment - ForEach state iterationParam no longer a require… by @spolti in #85
  • Refactor table test by @brlala in #89
  • v08 spec aligment - Added resultEventTimeout for action eventref by @spolti in #90
  • Remove pointer map used to get AuthProperties by @calvinmclean in #87
  • fix useResults no default value bug by @brlala in #91
  • feat(action): add invoke/onParentComplete/Id field by @lsytj0413 in #93
  • fix(ut): use filename for %s by @lsytj0413 in #94
  • feat(*): add InvokeKind enum by @lsytj0413 in #97
  • v08 - fix ContinueAs data field assignment by @spolti in #92
  • feat(eventState): add default value sequential for OnEvents.ActionMode by @lsytj0413 in #96
  • feat(*): add event default dataOnly & kind field value by @lsytj0413 in #101
  • fix(*): continueAs doesn't have invoke & onParentComplete field by @lsytj0413 in #102
  • fix nill state timeouts and enhance v08 test by @spolti in #104
  • fix(103): support refs to yaml format file by @lsytj0413 in #105
  • refactor(*): cleanup unused commented code by @lsytj0413 in #116
  • feat(*): sync examples to v0.8 spec by @lsytj0413 in #100
  • fix(*): parallelState with completeType defaults to allOf by @lsytj0413 in #106
  • fix(109): split foreach state to separate file by @lsytj0413 in #118
  • fix(121): split operation state to separate file by @lsytj0413 in #124
  • fix(117): split callback state to separate file by @lsytj0413 in #119
  • chore(*): add prow & labeler by @lsytj0413 in #128
  • allow empty auth definitions in parser by @spolti in #111
  • fix(121): split inject state to separate file by @lsytj0413 in #123
  • fix(122): split switch state to separate file by @lsytj0413 in #127
  • feat(114): support IncludePath option to define directory for non-absolute import files by @lsytj0413 in #130
  • first iteration - deepcopy by @spolti in #131

New Contributors

Full Changelog: v2.1.2...v2.2.0