Skip to content

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 11 Jun 10:06
· 8 commits to main since this release

The highlight of this release are generic typed args.

// common def

const APrefix = "template"

type Args struct {
	am.ArgsBase `json:"-"`
}

func (Args) ArgsPrefix() string {
	return APrefix
}

// ----- per state def

type ABaz struct {
	// shared pkg args
	Args `json:"-"`
	// Address with logging.
	Addr string `log:"addr"`
}

func (ABaz) ArgsState() string {
	return ss.Baz
}

Changelog

  • f9f2d39 feat(am-gen): add an optional global import (#431)
  • 7ed40f2 feat(machine): add BindHandlerMaps for reflection-less bindings (#432)
  • 47b8ef7 feat(machine): add ErrInternal() channel (#437)
  • b6e269b feat(machine): add per-state generic typed args (#434)
  • c6d8430 feat(machine): improve nested eval detection (#435)
  • 464d8e8 feat(machine): reuse subscription channels (#438)
  • 29c4358 feat: release v0.19.0 (#442)
  • a99084c fix(helpers): fix NewReqRemove was adding not removing, add req.Event (#441)
  • 9322144 fix(integrations): fix listing all args for untyped MCP mutations (#430)
  • a8d6a15 fix(machine): partially accepted auto txs shown as Canceled (#436)
  • 457dfd6 fix(rpc): fix state ctx never closed (#433)
  • ab11ba9 refac(machine): move funcs into methods of S and Schema (#440)