npm / @slack/types
@slack/types
What changed in @slack/types 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
10 breaking18 new APIs and options1 behavior and defaults1 tooling1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@slack/types 313 changes
Breaking changes 7
Support for fetchOrgInstallation in the Installation Store was dropped; handle organization-wide installation lookups through fetchInstallation instead.
The minimum required Node version is 12.13.0.
The minimum required npm version is 6.12.0.
The minimum required TypeScript version is 4.1.
Node.js 18 is no longer supported; the minimum supported Node.js version is now 20.
Support for orgAuthorize was dropped; use authorize for both single-workspace and organization-wide installations.
Support for storeOrgInstallation in the Installation Store was dropped; handle organization-wide installation storage through storeInstallation instead.
New APIs and options 5
Adds the event type for users stopping an agent session.
Adds the event type for an agent session title changing.
Adds the optional max_lines property to the RichTextInput element.
Adds the optional min_lines property to the RichTextInput element.
Use authorize for both single-workspace and organization-wide installations, checking isEnterpriseInstall to determine which installation details to fetch.
Behavior and default changes 1
HTTPReceiver replaces ExpressReceiver as the default receiver, enabling apps to work with other popular web frameworks; custom routes still require ExpressReceiver.
@slack/types 218 changes
Breaking changes 3
The authenticated public client property was removed. Use isActive() to determine whether the WebSocket connection powering the client is healthy.
The connected public client property was removed. Use isActive() to determine whether the WebSocket connection powering the client is healthy.
Use isActive() to determine whether the WebSocket connection powering the client is healthy, instead of the removed connected and authenticated client properties.
New APIs and options 13
Adds a type for passing Block Kit blocks within streaming messages.
Adds the Alert block type so developers can represent alert blocks in @slack/types.
Adds the Card block type so developers can represent card blocks in @slack/types.
Adds the Carousel block type so developers can represent carousel blocks in @slack/types.
Adds the MarkdownTextChunk type for streaming.
Adds the PlanBlock type for displaying task progress in messages.
Adds the PlanUpdateChunk type for streaming.
Adds the TaskCard type for displaying task progress in messages.
Adds the TaskUpdateChunk type for streaming.
Adds the UrlSourceElements type for displaying sources within task cards.
A table block type was added.
The rich text section block element types now include underline.
Added support for work objects in @slack/types, allowing developers to use types for this feature.
Tooling 1
Build support was added for Node 24.
Fixes and other changes 1
Work object types were updated.