# What changed in @slack/webhook

> 17 changes in @slack/webhook 8 from its official release notes, upgrade guides and advisories: 8 breaking, 1 deprecations, 6 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/@slack/webhook/

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

## @slack/webhook 8

### Breaking changes

- This factory function was removed; use the specific error class directly. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- HTTP transport now uses the standard Fetch API, with globalThis.fetch as the default implementation. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- This factory function was removed; construct an IncomingWebhookHTTPError with new instead. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- The agent option was removed; use the fetch option to provide a custom fetch implementation with proxy or TLS support. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- The original property was removed; HTTP response details are now available directly as statusCode, statusMessage, and body. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- The original property is now a standard Error rather than an AxiosError; the original error is also available through cause. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- Node.js 18 is no longer supported; Node.js 20 is now the minimum supported version. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- This factory function was removed; construct an IncomingWebhookRequestError with new instead. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)

### Deprecations

- The interface is deprecated; use instanceof checks with SlackWebhookError or specific error subclasses instead. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)

### New APIs and options

- A new fetch option accepts a custom fetch implementation, including implementations configured for proxy or TLS support. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- Retries can now be opted into for IncomingWebhook and WebhookTrigger. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- A new base error class lets you catch all webhook errors with an instanceof check. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- A new class supports Workflow Builder triggers. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- A trigger-specific HTTP error subclass lets callers distinguish trigger failures from IncomingWebhook failures with instanceof. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)
- A trigger-specific request error subclass lets callers distinguish trigger failures from IncomingWebhook failures with instanceof. (8.0.0) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.0)

### Fixes and other changes

- Reverts internal packages requiring ESM loading to support backward compatibility. (8.0.2) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.2)
- A 2xx response with an empty or non-JSON body now resolves to { ok: true } instead of throwing and triggering a retry that could cause duplicate Workflow Builder runs. (8.0.1) — [release notes](https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack/webhook%408.0.1)
