Releases: go-flexible/flex
Releases · go-flexible/flex
Release list
v1.1.0
Changes
Bug fixes (critical)
- Halt errors are no longer silently swallowed.
Start()now drains halt errors from all workers and returns them alongside run errors viaerrors.Join. - Clean worker exit no longer hangs forever. An
allDonechannel detects when all workers have finished and breaks the select loop immediately.
New public API
StartOpts(ctx, workers, opts...), likeStartbut accepts functional optionsWithoutSignals(), option to disablesignal.NotifyContextregistration (useful fortesting/synctestbubbles or external signal management)SetLogger(l *log.Logger), configurable logger forMustStart
Quality
- Regression tests for halt error collection and clean exit detection
testing/synctest-based tests for deterministic deadlock and timeout verification- Package-level
doc.gowith usage examples golangci-lintv2 configuration, 0 issues
CI
- Updated action versions:
checkout@v4,setup-go@v5,golangci-lint-action@v7 - Fixed
go testflag:--cover->-cover
Notes
- Fully backward-compatible with v1.0.0.
v1.0.0
v0.0.1
v0.0.0
- Expose
Runner,HalterandWorkerprimitives. - Expose
StartandMustStartfunctions.