Skip to content

Releases: serverlessworkflow/sdk-go

Serverless Workflow Go SDK v2.2.1

20 Dec 15:38
2ce428e
Compare
Choose a tag to compare

Minor patch release to fix CVE-2022-32149.

What's Changed

Full Changelog: v2.2.0...v2.2.1

Serverless Workflow Go SDK v2.2.0

20 Dec 13:00
a2f539d
Compare
Choose a tag to compare

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

Serverless Workflow Go SDK v2.1.2

29 Aug 15:42
c6596fd
Compare
Choose a tag to compare

A few infrastructure changes, dependencies, and Go runtime upgrades.

What's Changed

New Contributors

Full Changelog: v2.1.1...v2.1.2

Serverless Workflow Go SDK v2.1.1

16 Mar 15:31
a5e6985
Compare
Choose a tag to compare

Patch to correct minor bugs for the specification version 0.7.

What's Changed

  • Fix EventState Exclusive parsing interface{} to *bool error by @VicNgu in #52
  • Fixed Auth not setting properties field by @VicNgu in #54

New Contributors

Full Changelog: v2.1.0...v2.1.1

Serverless Workflow Go SDK v2.1.0

01 Oct 18:25
a1c8b1d
Compare
Choose a tag to compare

In this release, we upgrade the SDK to align with the Serverless Workflow specification v0.7.

Fixed Issues

#31 Update SDK with specification 0.7 version (@ricardozanini)

Serverless Workflow Go SDK v2.0.1

29 Sep 20:09
4362a26
Compare
Choose a tag to compare

In this release, we fixed some bugs for the v0.6 specification model. Also, we fixed the dependency issue with the new 2.x version. Please update your go.mod file to:

github.com/serverlessworkflow/sdk-go/v2 v2.0.1

Fixed Issues

#34 Go get does not get latest version of SDK (@ricardozanini)
#35 Parse funcRef refName correctly (@jjrodenburg)
#36 Retry Multiplier and Jitter should be float or string (@ricardozanini)
#37 remove subflow State type, add subFlowRef to Action (@mattgarmon)
#38 add graphql function type and selectionSet to functionRef (@mattgarmon)
#39 fix missing unmarshal for FunctionRef.SelectionSet (@mattgarmon)

Thank you all for the contributions!

Serverless Workflow Go SDK v2.0.0

18 May 14:11
51a1196
Compare
Choose a tag to compare

In this release, we updated the SDK with the v0.6 release of the specification. The model API has been modified, so you will need to update your codebase to reflect these new changes.

Fixed Issues

  • #16 - Switch types custom UnmarshalJSON only partially implemented.
  • #17 - Eventstate does not default the 'exclusive' field to true.
  • #18 - Add Workflow Compensation support
  • #25 - Align SDK with specification 0.6

If you have any questions or requests, please open a new issue.

v1.0.0

13 Nov 13:14
62519c7
Compare
Choose a tag to compare

On the behalf of the Serverless Workflow community, I'm pleased to announce that we're releasing Serverless Workflow Go SDK v1.0.0.

This is the first release of the SDK and conforms to the Serverless Workflow specification 0.5 release.

This release includes the ability to parse workflow JSON/YAML definitions to Go types.

For more information and how to use features of this release please look at the readme of the release branch for this release version.

Happy hacking!