Important
As of this release, the minimum required Go version to use ants is 1.19!
🚀 Features
- feat: implement ReleaseContext for all pool types (#387)
🛩 Enhancements
- perf: set nanoseconds instead of
time.Timefor pool-cachednow(#378) - perf: replace time.Time with nanoseconds in worker (#382)
- refactor: deduplicate ReleaseContext across multi-pool types 4ee6d73
🐛 Bugfixes
- bug: don't reset the worker queue when rebooting preallocated pool (#360)
- bug: hold the lock when spawning a new worker (#376)
- fix: drop Go 1.18, bump CI matrix to [1.19, 1.26] to resolve macOS ARM64 spinlock starvation (#386)
📚 Documentation
- fix: drop Go 1.18, bump CI matrix to [1.19, 1.26] to resolve macOS ARM64 spinlock starvation (#386)
- docs: update the comment on Options.PanicHandler to match its behavior (#365) (#366)
- docs: add more use cases
Full Changelog: v2.11.0...v2.12.0
Thanks to all these contributors: @Copilot, @POABOB, @fufuok, @huynhanx03, @panjf2000, @trace-andreason and copilot-swe-agent[bot] for making this release possible.
