Repository navigation
Releases: singchia/yafsm
Releases · singchia/yafsm
Release list
v1.1.0
Bug fixes
- prioqueue:
PrioPushnow releases itsRLockwhen the queue is full. The previous code returned without unlocking and could deadlock under back-pressure. - FSM.DelState: now removes all events touching the deleted state. The earlier loop hit iterator invalidation after
list.Remove(callingelem.Next()on a removed element returnsnil), so subsequent matches in the same event list were skipped. - bench: registered
CLOSEDinstead of duplicatingFINI; emitET_CLOSESENTinstead of the state nameCLOSE_SENT.
Other changes
- Module floor raised to
go 1.20. - Replaced auto-generated stub tests with real tests against the public API. Coverage on
yafsm.go~91%. - Refreshed
README.md(concepts, API summary, three emission modes, install, quickstart, examples, benchmark pointers). - CI overhaul:
- GitHub Actions matrix: Go 1.20/1.21/1.22 × ubuntu/macos,
go vet, race + coverage tests, codecov upload, gofmt + golangci-lint job. - CircleCI bumped to
cimg/go:1.22, race + coverage, codecov orb v4.
- GitHub Actions matrix: Go 1.20/1.21/1.22 × ubuntu/macos,
Full changelog: v1.0.1...v1.1.0