unstale

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

@unstale/cli on npm

@slack/types 310 changes

Breaking changes 1

  • Node.js 18 is no longer supported; the minimum supported Node.js version is now 20.

    3.0.0release notes

New APIs and options 8

  • Adds the AuthProviderBlock block interface.

    3.3.0release notes

  • Adds the agent_prompt, agent_prompt_display, and visible_to_user_ids fields to the Button block element.

    3.3.0release notes

  • Adds the user_connection event interface.

    3.3.0release notes

  • Adds the user_connection_status_requested event interface.

    3.3.0release notes

  • Adds the event type for users stopping an agent session.

    3.1.0release notes

  • Adds the event type for an agent session title changing.

    3.1.0release notes

  • Adds the optional max_lines property to the RichTextInput element.

    3.1.0release notes

  • Adds the optional min_lines property to the RichTextInput element.

    3.1.0release notes

Fixes and other changes 1

  • Adds the files, upload, display_as_bot, and parent_user_id fields.

    3.3.0release notes

@slack/types 217 changes

Breaking changes 2

New APIs and options 13

  • Adds a type for passing Block Kit blocks within streaming messages.

    2.21.1release notes

  • Adds the Alert block type so developers can represent alert blocks in @slack/types.

    2.21.0release notes

  • Adds the Card block type so developers can represent card blocks in @slack/types.

    2.21.0release notes

  • Adds the Carousel block type so developers can represent carousel blocks in @slack/types.

    2.21.0release notes

  • Adds the MarkdownTextChunk type for streaming.

    2.20.0release notes

  • Adds the PlanBlock type for displaying task progress in messages.

    2.20.0release notes

  • Adds the PlanUpdateChunk type for streaming.

    2.20.0release notes

  • Adds the TaskCard type for displaying task progress in messages.

    2.20.0release notes

  • Adds the TaskUpdateChunk type for streaming.

    2.20.0release notes

  • Adds the UrlSourceElements type for displaying sources within task cards.

    2.20.0release notes

  • A table block type was added.

    2.19.0release notes

  • The rich text section block element types now include underline.

    2.19.0release notes

  • Added support for work objects in @slack/types, allowing developers to use types for this feature.

    2.18.0release notes

Tooling 1

Fixes and other changes 1