Download Latest Version Ants v2.12.0, The Garden of Words source code.zip (71.6 kB)
Email in envelope

Get an email when there's a new version of ants

Home / v2.12.0
Name Modified Size InfoDownloads / Week
Parent folder
Ants v2.12.0, The Garden of Words source code.tar.gz 2026-03-20 40.3 kB
Ants v2.12.0, The Garden of Words source code.zip 2026-03-20 71.6 kB
README.md 2026-03-20 1.3 kB
Totals: 3 Items   113.2 kB 0

[!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.Time for pool-cached now (#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: https://github.com/panjf2000/ants/compare/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.

Source: README.md, updated 2026-03-20