Skip to content

v1.5.0 - feat(printer+values): fmt.Stringer, call frames, context-alike key-value support

Compare
Choose a tag to compare
@joeycumines joeycumines released this 30 Jun 13:35
· 21 commits to master since this release

The biggest change is the introduction of a mechanism to attach arbitrary values to nodes. This mechanism is entirely optional, although the New and NewNode factory functions will now automatically embed metadata about their caller. See also runtime.Frame.

behaviortree.Node now implements fmt.Stringer, using a text based tree structure similar to the GNU tree command. This behavior is configurable.