Releases: serverlessworkflow/sdk-go
Releases · serverlessworkflow/sdk-go
Serverless Workflow Go SDK v2.4.2
What's Changed
- use go 1.22.0 instead of 1.22.8 by @rgdoliveira in #215
New Contributors
- @rgdoliveira made their first contribution in #215
Full Changelog: v2.4.1...v2.4.2
Serverless Workflow Go SDK v2.4.1
What's Changed
- Fix #213 - Review DataInputSchema unmarshal function; review k8s annotations for Object type by @ricardozanini in #214
Full Changelog: v2.4.0...v2.4.1
Serverless Workflow Go SDK v2.4.0
What's Changed
- Fix #206 - Upgrade dependencies and Go to 1.22 by @ricardozanini in #207
- Fix #210 - Add kubebuilder annotations to preserve metadata fields by @ricardozanini in #211
- Fix #195 - Fix 'End' model when
compensate
is defined by @ricardozanini in #212
Full Changelog: v2.3.0...v2.4.0
Serverless Workflow Go SDK v2.3.0
What's Changed
- Programmatically build workflow by @ribeiromiranda in #190
- Support for validating structs created by builder by @ribeiromiranda in #198
- Pin deepcopy version by @spolti in #200
- DataInputSchema can only be a string and not an object by @spolti in #196
- fix: ISO8601 duration wouldn't parse for valid fractional values by @Kshitiz1403 in #199
New Contributors
- @Kshitiz1403 made their first contribution in #199
Full Changelog: v2.2.5...v.2.2.6
Serverless Workflow Go SDK v2.2.5
What's Changed
- Add new types
float64, map, slice, nil
in object by @ribeiromiranda in #186 - Fixed Cron.ValidUntil using incorrect ISO8601 parsing format by @venera-program in #187
- Added CEL to list of valid ExpressionLangs by @venera-program in #188
- Removed "required" tag from failOnValidationErrors by @venera-program in #192
- Remove commented code by @venera-program in #193
- Update Code of Conduct to follow the new standard by @ricardozanini in #191
New Contributors
- @venera-program made their first contribution in #187
Full Changelog: v2.2.4...v2.2.5
Serverless Workflow Go SDK v2.2.4
What's Changed
- Support to WebAssembly build by @ribeiromiranda in #174
- Add @spolti to the SDK Go maintainers by @ricardozanini in #175
- JSON or as a YAML file: workflow.states must be int32 by @spolti in #178
- Validate the refs exists by @ribeiromiranda in #164
- #181 Skip validTransitionAndEnd for States that are used for compensation by @ilewin in #182
- relax state action validation by @spolti in #183
- Adds small check to make sure that Action.FunctionRef is unmarshalled… by @spolti in #184
New Contributors
Full Changelog: v2.2.3...v2.2.4
Serverless Workflow Go SDK v2.2.3
What's Changed
- Fixes unsupported AST kind *ast.InterfaceType on the custon Object type by @spolti in #139
- Fixes unsupported AST kind *ast.InterfaceType on the custon AuthPrope… by @spolti in #143
- json tag missing on Event.Metadata by @spolti in #145
- Upgrade codecov, fix currentProjectPath when running outside regular path by @ricardozanini in #149
- states - unsupported AST kind *ast.InterfaceType by @spolti in #148
- add simplistic operator-sdk api to test integration by @spolti in #146
- Unmarshal state.end when boolean by @ribeiromiranda in #155
- Workflow validations by @ribeiromiranda in #156
- Add kubebuilder annotations and fix model descriptions by @spolti in #160
- Allow the DefaultCondition on events to be string or object by @spolti in #163
- Relax OpenAPI validation for some objects that can be Unmarshaled as … by @spolti in #167
- add json tag in the BaseWorkflow by @spolti in #169
- [States] unknown field defaultCondition by @spolti in #170
- Refactor in favor to use
primitiveOrStruct
. by @ribeiromiranda in #159 - Empty fields Marshaled as "field":null by @spolti in #172
- Fix small typo on the kubebuilder FunctionType's validation by @spolti in #173
New Contributors
- @ribeiromiranda made their first contribution in #155
Full Changelog: v2.2.2...v.2.2.3
Serverless Workflow Go SDK v2.2.2
Serverless Workflow Go SDK v2.2.1
Minor patch release to fix CVE-2022-32149.
What's Changed
- Fix CVE-2022-32149 by @ricardozanini in #133
Full Changelog: v2.2.0...v2.2.1
Serverless Workflow Go SDK v2.2.0
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
- @lsytj0413 made their first contribution in #67
- @spolti made their first contribution in #80
- @brlala made their first contribution in #83
- @calvinmclean made their first contribution in #87
Full Changelog: v2.1.2...v2.2.0