npm / autocannon
autocannon
What changed in autocannon 4 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
2 breaking8 new APIs and options3 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initautocannon 85 changes
Breaking changes 1
Tables are no longer rendered in JSON mode when writing output to a file.
New APIs and options 1
ID replacement is now supported in the URL.
Behavior and default changes 1
Autocannon assumes onPort when -- node is set.
Fixes and other changes 2
Tables no longer include colors when the output stream does not support them.
Generated IDs are now URL-safe.
autocannon 710 changes
New APIs and options 4
Adds support for initializing a custom context object.
Exposes printResult.
Adds support for passing in custom TLS options.
Introduces support for using worker threads.
Behavior and default changes 2
Supports onResponse in worker mode.
Supports setupRequest in worker mode.
Fixes and other changes 4
Handles large response bodies correctly.
Fixes memory leaks.
Fixes progress tracking.
Adds workers to the output.
autocannon 61 changes
New APIs and options 1
Adds an option for correcting coordinated omission in latency measurements.
autocannon 52 changes
New APIs and options 2
Adds request context; the notes do not specify further details.
Adds response handling; the notes do not specify further details.
autocannon 41 changes
Breaking changes 1
Support for Node.js v6 was dropped and support for v12 was added.