# What changed in autocannon

> 19 changes in autocannon 4 to 8 from its official release notes, upgrade guides and advisories: 2 breaking, 8 new APIs and options. Each one cited. Sources checked 2026-11-12. HTML: https://unstale.sh/npm/autocannon/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## autocannon 8

### Breaking changes

- Tables are no longer rendered in JSON mode when writing output to a file. (8.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v8.0.0)

### New APIs and options

- ID replacement is now supported in the URL. (8.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v8.0.0)

### Behavior and default changes

- Autocannon assumes onPort when -- node is set. (8.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v8.0.0)

### Fixes and other changes

- Tables no longer include colors when the output stream does not support them. (8.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v8.0.0)
- Generated IDs are now URL-safe. (8.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v8.0.0)

## autocannon 7

### New APIs and options

- Adds support for initializing a custom context object. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)
- Exposes printResult. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)
- Adds support for passing in custom TLS options. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)
- Introduces support for using worker threads. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)

### Behavior and default changes

- Supports onResponse in worker mode. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)
- Supports setupRequest in worker mode. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)

### Fixes and other changes

- Handles large response bodies correctly. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)
- Fixes memory leaks. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)
- Fixes progress tracking. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)
- Adds workers to the output. (7.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v7.0.0)

## autocannon 6

### New APIs and options

- Adds an option for correcting coordinated omission in latency measurements. (6.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v6.0.0)

## autocannon 5

### New APIs and options

- Adds request context; the notes do not specify further details. (5.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v5.0.0)
- Adds response handling; the notes do not specify further details. (5.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v5.0.0)

## autocannon 4

### Breaking changes

- Support for Node.js v6 was dropped and support for v12 was added. (4.0.0) — [release notes](https://github.com/mcollina/autocannon/releases/tag/v4.0.0)
