Skip to content

Releases: go-flexible/flex

v1.1.0

Choose a tag to compare

@ladydascalie ladydascalie released this 23 Jun 23:49
cfb518b

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 via errors.Join.
  • Clean worker exit no longer hangs forever. An allDone channel detects when all workers have finished and breaks the select loop immediately.

New public API

  • StartOpts(ctx, workers, opts...), like Start but accepts functional options
  • WithoutSignals(), option to disable signal.NotifyContext registration (useful for testing/synctest bubbles or external signal management)
  • SetLogger(l *log.Logger), configurable logger for MustStart

Quality

  • Regression tests for halt error collection and clean exit detection
  • testing/synctest-based tests for deterministic deadlock and timeout verification
  • Package-level doc.go with usage examples
  • golangci-lint v2 configuration, 0 issues

CI

  • Updated action versions: checkout@v4, setup-go@v5, golangci-lint-action@v7
  • Fixed go test flag: --cover -> -cover

Notes

  • Fully backward-compatible with v1.0.0.

v1.0.0

Choose a tag to compare

@ladydascalie ladydascalie released this 31 Oct 16:38
512133f

Full Changelog: v0.0.1...v1.0.0

v0.0.1

Choose a tag to compare

@ladydascalie ladydascalie released this 18 Aug 17:50
90515ed
  • Community health files

v0.0.0

Choose a tag to compare

@ladydascalie ladydascalie released this 16 Aug 15:40
7fb3697
  • Expose Runner, Halter and Worker primitives.
  • Expose Start and MustStart functions.