Release: Bolt for JS v5
Version 5.0.0 of Bolt for JS is here! This release follows the Node Slack SDK's shift from axios to the native Fetch API, removes the deprecated Workflow Steps from Apps feature, and raises the minimum Node.js version to 20.
If your app doesn't use proxy/TLS configuration or inspect respond() return values, this upgrade is possibly only a version bump.
New features
- We've added a
dispatcheroption to theSocketModeReceiverclass. - We've added
instanceofoperator support to error classes.
Breaking changes
- We've raised the minimum Node.js version to 20.
- We've removed the
agentandclientTlsoptions from theAppOptionsinterface. - We've updated the
SocketModeReceiverclass to accept adispatcheroption instead of proxy agents. - We've removed Workflow Steps from Apps.
- We've updated the
respond()utility function to return a nativeResponseobject. - We've upgraded the Node Slack SDK dependencies.
- We've improved error handling throughout.
For full migration details, see the Bolt for JS v4 to v5 migration guide.