Bolt for JS v5
Bolt for JS version 5.0.0 switches to the native Fetch API, removes the deprecated Workflow Steps from Apps feature, and requires Node.js 20 or higher as the minimum version.
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.
Source: original entry ↗
More from Slack
Follow Slack to get its new changes in your feed and email digest.
Slack CLI v4.10.0 Released
Slack CLI version 4.10.0 is now available, bringing updates and improvements to the developer tools for the Slack platform.
Slack Code for developers
Slack Code enables deeper collaboration between humans and agents by allowing agents to create ephemeral channels from existing conversations, giving collaborators a shared workspace for coordinated work.
Slack CLI v4.9.0 Released
Slack CLI version 4.9.0 is now available with updates and improvements to the command-line tool for building and managing Slack applications.