Skip to content

Releases: Azure/go-workflow

v0.1.13

15 Dec 01:39
f3c6cfa

Choose a tag to compare

!!Break Change!!

We decide to remove the front-end page visual/react from this library, to avoid endless CVE patches from react / next.js upstream.

What's Changed

  • Add AI documentation link to README by @guizili0 in #63
  • enrich document and add example for customized condition by @xuxife in #65
  • remove visual/react by @xuxife in #66

New Contributors

Full Changelog: v0.1.12...v0.1.13

v0.1.12

21 Oct 01:55
185e10e

Choose a tag to compare

What's Changed

  • bugfix: should return modified context for *State.Before by @xuxife in #60

Full Changelog: v0.1.11...v0.1.12

v0.1.11

20 Oct 08:21
2a8445a

Choose a tag to compare

What's Changed

  • Fix broken link for examples folder in README.md by @german1608 in #54
  • Bump next from 14.2.26 to 14.2.32 in /visual/react by @dependabot[bot] in #56
  • fix a bug: do best to use context updated by BeforeStep even panic happens by @xuxife in #57
  • Bump brace-expansion in /visual/react by @dependabot[bot] in #58
  • Bump @babel/runtime from 7.24.4 to 7.28.4 in /visual/react by @dependabot[bot] in #59

New Contributors

Full Changelog: v0.1.10...v0.1.11

v0.1.9

28 Apr 11:45
5e28ea4

Choose a tag to compare

SubWorkflow [Experiemental]

Add experiemental struct SubWorkflow, it's getting more eaiser to implement step struct that contains sub-workflow.

v0.1.8

11 Apr 01:02
ee52619

Choose a tag to compare

BEHAVIOR CHANGE!

AfterStep callbacks are designed to handle error from step

// AfterStep defines callback being called AFTER step being executed.
type AfterStep func(context.Context, Steper, error) error

Before this release, the error returns from BeforeStep or Input
will return directly without triggering AfterStep, making the error handling logic in AfterStep useless.

// BeforeStep defines callback being called BEFORE step being executed.
type BeforeStep func(context.Context, Steper) (context.Context, error)

func (as AddStep[S]) Input(fns ...func(context.Context, S) error) AddStep[S] {

This release will make AfterStep be triggered if any BeforeStep or step.Do returns error.

v0.1.7

01 Apr 12:33
b743549

Choose a tag to compare

add comment for flow.Step (#47)

v0.1.6

29 Sep 04:53
71b1b66

Choose a tag to compare

What's Changed

  • Add statusChange sync.Cond to decrease cpu time by @xuxife in #39
  • fix deadlock in statusChange sync.Cond by @xuxife in #40

Dependency

Full Changelog: v0.1.4...v0.1.6

v0.1.4

02 Sep 05:34
c1846aa

Choose a tag to compare

What's Changed

  • bump go-workflow for visual/react by @xuxife in #31
  • Bump ws from 8.16.0 to 8.17.1 in /visual/react by @dependabot in #32
  • rename WorkflowAdder to Builder by @xuxife in #35

New Contributors

Full Changelog: v0.1.3...v0.1.4

v0.1.3

29 Apr 02:55
e1f24ff

Choose a tag to compare

What's Changed

  • bump to go 1.22.2 by @xuxife in #29
  • bugfix: fix a nil Step will break HasStep check by @xuxife in #30

Full Changelog: v0.1.2...v0.1.3

v0.1.2

18 Apr 07:56
dfebf12

Choose a tag to compare

  • add NextBackOff to RetryOption