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-11-20.
3 breaking21 new APIs and options1 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@slack/types 310 changes
Breaking changes 1
Node.js 18 is no longer supported; the minimum supported Node.js version is now 20.
New APIs and options 8
Adds the AuthProviderBlock block interface.
Adds the agent_prompt, agent_prompt_display, and visible_to_user_ids fields to the Button block element.
Adds the user_connection event interface.
Adds the user_connection_status_requested event interface.
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.
Fixes and other changes 1
Adds the files, upload, display_as_bot, and parent_user_id fields.
@slack/types 217 changes
Breaking changes 2
The minimum supported Node.js version is now 12.13.0.
The minimum supported TypeScript version is now 4.1.
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.