releases.shpreview
Slack/Bolt JS/@slack/bolt@2.0.0

@slack/bolt@2.0.0

$npx -y @buildinternet/releases show rel_Zt1efecZ1JACFr1rX1M8o

Thanks for checking out the 2.0.0 release of Bolt for JavaScript! Firstly, a huge thank you to all of the folks who contributed to this release. A special shoutout to community contributor @barlock for the massive contributions he contributed!

Make sure to read the migrating to 2.0.0 guide to learn what changes are needed to upgrade your existing Bolt for JavaScript apps.

  • Chaining middleware via promises. This allows the ability to test listeners and middlewares without artificial delays. This change also allows Bolt to run on Functions-as-a-Service platforms (such as AWS Lambda) by allowing the processBeforeResponse option to be used. (#353, #380, #381, #439, #440, #444) - Thanks @barlock, @aoberoi, @stevengill and @seratch
  • Message shortcuts (previously referred to as message actions) now use the shortcut() method instead of the action() method. (#428) - Thanks @stevengill
  • Fix View type missing optional id from response (#436, #437) - Thanks @seratch
  • Added Migration Guide for @slack/bolt@2.0.0 (#442, #445, #449) - Thanks @stevengill
  • Added processBeforeResponse to App[Options] to improve Bolt support for Function-as-a-Service platforms (like AWS Lambda) (#444) - Thanks @stevengill
  • Set minimum TypeScript version to 3.7.0 (#447, #452) - Thanks @aoberoi and @stevengill

Fetched April 3, 2026