pypi / slack-sdk
slack-sdk
What changed in slack-sdk 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-04.
7 breaking1 deprecations54 new APIs and options3 behavior and defaults1 tooling17 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initslack-sdk 383 changes
Breaking changes 7
Types icon as an image element rather than a string.
Request validation now requires signing_secret to be a non-empty string; apps receiving events with Socket Mode may encounter initialization errors.
The PyPI project was renamed from slackclient to slack_sdk; update the package name in requirements.txt.
slack_sdk has no required dependencies, so aiohttp is no longer resolved automatically; list aiohttp explicitly when using the async or legacy clients.
WebClient no longer supports aiohttp-specific options; use LegacyWebClient or AsyncWebClient if you need them.
WebClient no longer has run_async or aiohttp-specific options; use AsyncWebClient for async calls or LegacyWebClient for v2 compatibility.
WebClient no longer has run_async; use AsyncWebClient for asynchronous calls.
Deprecations 1
Importing slack_sdk.* is recommended; the slack package remains usable with deprecation warnings.
New APIs and options 54
Adds the admin.apps.mcp.servers.list method.
Adds the admin.apps.mcp.servers.permissions.list method.
Adds the admin.apps.mcp.servers.permissions.set method.
Adds the admin.conversations.bulkSetProperties method.
Adds the admin.slackbot.skills.list method.
Adds the admin.slackbot.skills.publish method.
Adds the admin.slackbot.skills.setAutoEnabled method.
Adds the admin.slackbot.skills.unpublish method.
Adds the slackbot.skills.create method.
Adds the slackbot.skills.delete method.
Adds the slackbot.skills.info method.
Adds the slackbot.skills.library.add method.
Adds the slackbot.skills.library.remove method.
Adds the slackbot.skills.list method.
Adds the slackbot.skills.update method.
Adds the admin.users.getExpiration method.
Adds support for bulkUpdate.
Adds support for apps.user.connection.requestAuth.
Adds support for the AuthProviderBlock layout block.
Adds channel_id to canvases.create.
Adds optional document_content to canvases.create.
Adds the canvases.getContent method.
Adds a Slackbot availability option to team_info.
Adds agents.conversations.* methods to the Web API client.
Adds ContainerBlock for Block Kit.
Allows raw_number cells in TableBlock rows.
Adds the agents.sessions.rename method.
Adds the agents.sessions.setStatus method.
Adds the blocks.validate method.
Adds session_status to chat_stream stop() helpers.
Adds session_status to chat.stopStream.
Adds the max_lines field to RichTextInputElement.
Adds the min_lines field to RichTextInputElement.
Adds a stateless OAuth state store using JWT.
Adds typed model classes for TableBlock cells.
Adds typed model classes for TableBlock column_settings.
Exposes the public ts property on ChatStream.
Added Alert as a block type.
Authorship arguments were added to assistant threads and chat stream.
Added the BlockChunk type to chat.{start,append,stop}Stream methods.
Added Card as a block type.
Added Carousel as a block type.
Added the highlight_type argument to files_upload_v2.
Added the highlight_type argument to files.completeUploadExternal.
Adds support for apps.user.connection.update.
The chat stream helper supports structured content chunks, including markdown text, task cards, and plan updates, and can display tasks in plan or timeline mode.
The chat stream helper accepts task_display_mode to select plan display mode.
Adds slackLists methods to the Web API.
Adds a table block.
Adds support for work objects.
Rich text section block elements now support underline formatting.
AsyncWebClient provides an async HTTP client for use with asyncio when replacing run_async=True.
LegacyWebClient provides a v2-compatible client for users who need run_async or aiohttp-specific options.
OAuth flow support was newly added.
Behavior and default changes 3
The thread_ts parameter is now optional when setting suggested prompts for an assistant thread.
Async/sync separation for WebClient was improved.
Async/sync separation for WebhookClient was improved.
Tooling 1
Adds support for Python 3.15.
Fixes and other changes 17
Preserves agent prompt fields in button models.
Treats naive datetime values as UTC when converting them to timestamps.
Recreates a closed aiohttp session when reconnecting.
The built-in close() now shuts down current_session_runner.
aiohttp Socket Mode connect() no longer retries forever after close.
Types hero_image as an image element rather than a string.
Only releases connect_operation_lock when the current task acquired it.
Resolves a flaky bot token lookup in the sqlite3 installation store.
Adds the missing style attribute to RichTextElementParts.Date and related types.
Resolved bugs and typos in OAuth installation stores.
Fixed a typo in SectionBlock field validation.
Improved type annotations for SignatureVerifier.
Improved Socket Mode client stability and correctness.
Passes ssl=True by default to aiohttp to avoid a deprecation warning.
SQLAlchemy handling now relies on naive datetimes.
The SDK now supports Python 3.14.
Uploaded files now use the filename.