@slack/web-api
8.4.0 · 13 Nov 2026MIT21.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @slack/web-api From 7.19.0 to 8.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 6
- changes to make
- 0
- advisories fixed
- 1
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Deprecated8.0.0
Release by release
- Breaking
Drop Node.js 18 support. The minimum supported Node.js version is now 20.
- Breaking
Redesigned error handling to use proper
Errorsubclasses instead of plain objects with acodeproperty. - Breaking
files.upload— UsefilesUploadV2instead (available since v6.7). ThefilesUploadV2method handles the multi-step upload process automatically. - Breaking
rtm.start— Usertm.connectinstead. Thertm.startmethod was deprecated by Slack in favor of the lighter-weightrtm.connect.
- Breaking
6 other lines we could not sort, mostly version bumps
- 8.0.0
agent— Use the newfetchoption to provide a custom fetch implementation with proxy or keep-alive support. For proxies, prefer the built-inhttp.setGlobalProxyFromEnv()orNODE_USE_ENV_PROXY=1(Node.js 24+). For advanced use cases: - 8.0.0
tlsandTLSOptions— Configure TLS via a customfetchimplementation with an undiciAgent, or use theNODE_EXTRA_CA_CERTSenvironment variable. - 8.0.0
requestInterceptorandRequestInterceptortype — Wrap thefetchfunction to intercept or modify requests before they are sent. - 8.0.0
adapterandAdapterConfigtype — Use thefetchoption instead. - 8.0.0
RequestConfigtype (was an alias for Axios'InternalAxiosRequestConfig) — Removed entirely. - 8.0.0
attachOriginalToWebAPIRequestErroroption — Removed. The original error is now always available via the standardcauseproperty onWebAPIRequestError.
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.