Minor Changes
- 821e3d1: Default
clientOptions.slackApiUrlfrom theSLACK_API_URLenvironment variable whenclientOptions.slackApiUrlis not explicitly provided. - b8d11ae: Declare
undicias a peer dependency (^7.28.0 || ^8.0.0).@slack/boltconstructs aSocketModeClientfrom@slack/socket-mode@3, which requiresundicias a peer. Consumers on strict package managers (Yarn Berry, pnpm) should installundicialongside@slack/bolt. The^7.28.0floor avoidsundici7 releases affected by CVE-2026-12151 (GHSA-vxpw-j846-p89q), a high-severity WebSocket denial-of-service.undici@^8requires Node.js >=22.19; on Node.js 20, installundici@^7. Resolves #3039.
Patch Changes
- 0dc739d: Enforce
bodyLimiton request bodies that were read before Bolt runs. Google Cloud Functions and Cloud Run with@google-cloud/functions-frameworksetreq.rawBodybefore the receiver is called, andExpressReceiverandHTTPReceiverskipped the size check in that case. Both receivers now respond with413when a pre-read body is larger thanbodyLimit, before verifying the request signature. - cc36593: Match a command pattern with the
goryflag the same way on every request.app.command()listeners registered with such a pattern could skip the request after a match, so it went unacknowledged and timed out. - 0be0088: Match a pattern with the
yflag the same way on every request inapp.action(),app.event(),app.message(),app.options(),app.shortcut()andapp.view()listeners. These listeners could skip the request after a match, or match a request they shouldn't. Skipped interactions went unacknowledged and timed out.