NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4772 most downloaded on crates.io
Slack Morphism is a modern client library for Slack Web/Events API/Socket Mode and Block Kit
Latest stable
2.31.2
Last release 14 days ago
08 Nov 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
6 years old
134 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
chore: add redacter scan workflow by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/396
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.31.1...v2.31.2
fix: no longer panic on an unparseable response Content-Type header by @dajiaohuang in https://github.com/abdolence/slack-morphism-rust/pull/393
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.31.0...v2.31.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Slack accepts most interactive Block Kit elements without action_id, so the field is optional in the models now. A block from Block Kit Builder withou
action_idSlack accepts most interactive Block Kit elements without action_id, so the field is optional in the models now. A block from Block Kit Builder without action_id deserializes to its typed variant instead of SlackBlock::Unknown.
action_id is Option<SlackActionId> on these elements, and their new() constructors do not take it as an argument anymore:
SlackBlockButtonElement, SlackBlockStaticSelectElement, SlackBlockMultiStaticSelectElement, SlackBlockExternalSelectElement, SlackBlockMultiExternalSelectElement, SlackBlockUsersSelectElement, SlackBlockMultiUsersSelectElement, SlackBlockConversationsSelectElement, SlackBlockMultiConversationsSelectElement, SlackBlockChannelsSelectElement, SlackBlockMultiChannelsSelectElement, SlackBlockOverflowElement, SlackBlockDatePickerElement, SlackBlockTimePickerElement, SlackBlockDateTimePickerElement, SlackBlockPlainTextInputElement, SlackBlockNumberInputElement, SlackBlockUrlInputElement, SlackBlockEmailInputElement, SlackBlockRadioButtonsElement, SlackBlockCheckboxesElement, SlackBlockFileInputElement, SlackBlockFeedbackButtonsElement and SlackBlockIconButtonElement.
Set it with with_action_id instead:
// Before
SlackBlockButtonElement::new("approve".into(), pt!("Approve"))
SlackBlockStaticSelectElement::new("region".into())
SlackBlockIconButtonElement::new("delete".into(), "trash".into(), pt!("Delete"))
// After
SlackBlockButtonElement::new(pt!("Approve")).with_action_id("approve".into())
SlackBlockStaticSelectElement::new().with_action_id("region".into())
SlackBlockIconButtonElement::new("trash".into(), pt!("Delete")).with_action_id("delete".into())
Code that reads action_id from these elements gets an Option<SlackActionId>. SlackBlockRichTextInputElement and SlackBlockWorkflowButtonElement still require it, as Slack documents it as required for them.
SlackBlockFeedbackButtonsElement now follows the shape Slack documents for the feedback_buttons element, so Slack's own example deserializes to SlackContextActionBlockElement::FeedbackButtons instead of SlackBlock::Unknown:
positive and negative are renamed to positive_button and negative_button, the keys Slack sends.SlackFeedbackButtonItem has no action_id and no confirm. The element's action_id identifies the source in interaction payloads, and value tells the two buttons apart.SlackFeedbackButtonItem has accessibility_label: Option<SlackAccessibilityLabel>.// Before
SlackBlockFeedbackButtonsElement::new(
"feedback".into(),
SlackFeedbackButtonItem::new("good".into(), "positive_feedback".into(), pt!("Good")),
SlackFeedbackButtonItem::new("bad".into(), "negative_feedback".into(), pt!("Bad")),
)
// After
SlackBlockFeedbackButtonsElement::new(
SlackFeedbackButtonItem::new(pt!("Good"), "positive_feedback".into())
.with_accessibility_label("Mark this response as good".into()),
SlackFeedbackButtonItem::new(pt!("Bad"), "negative_feedback".into()),
)
.with_action_id("feedback".into())
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.30.0...v2.31.0
Add 2026 Block Kit blocks (container, plan, data_table, data_visualization), SlackBlock::Unknown catch-all, blocks.validate, canvases.*, header level
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.29.0...v2.30.0
Add chat.*Stream, agents.sessions.*, markdown_text, agent events + Unknown catch-all by @skymoore in https://github.com/abdolence/slack-morphism-rust/
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.28.0...v2.29.0
docs: note Slack markdown block failure on files.completeUploadExternal by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/383
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.27.0...v2.28.0
feat: add blocks, channels and icon args to files.completeUploadExternal by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/381
Migration notes (2.27.0)
No code changes are required for existing apps. Details for anyone touching the affected types:
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.26.0...v2.27.0
Date and time values are now backed by jiff instead of the soft-deprecated chrono. Use the SlackUtcDateTime and SlackCivilDate aliases from the prelud…
Date and time values are now backed by jiff instead of the soft-deprecated chrono. Use the SlackUtcDateTime and SlackCivilDate aliases from the prelude instead of naming either crate.
Affected: SlackDateTime's inner value, SlackTs::to_date_time_opt(), SlackDate::to_naive_date(), and fmt_slack_date().
To keep chrono for now, enable the obsolete-chrono feature. It is deprecated and will be removed in a future release.
Typical replacements: Utc::now() becomes SlackDateTime::now(), dt.timestamp() becomes dt.as_second(), and an RFC 3339 string parses with s.parse::<SlackUtcDateTime>().
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.25.0...v2.26.0
chore: replace futures with futures-util by @Fogapod in https://github.com/abdolence/slack-morphism-rust/pull/376
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.24.1...v2.25.0
fix: Restore pong received timestamp in WSS client by @stn in https://github.com/abdolence/slack-morphism-rust/pull/375
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.24.0...v2.24.1
chore(config): migrate Renovate config by @renovate[bot] in https://github.com/abdolence/slack-morphism-rust/pull/368
SlackInteractionActionInfo::selected_options by @Grimeh in https://github.com/abdolence/slack-morphism-rust/pull/370Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.23.0...v2.24.0
feat: add new Block Kit blocks and elements (alert, card, carousel, context_actions, workflow button, file input) by @abdolence in https://github.com/
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.22.0...v2.23.0
fix: SlackRichTextList elements type by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/359
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.21.0...v2.22.0
Reduce spawning tokio threads for socket mode by @abdolence
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.20.0...v2.21.0
fix(deps): update rust crate tokio-tungstenite to 0.29.0 by @renovate[bot] in https://github.com/abdolence/slack-morphism-rust/pull/345
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.19.0...v2.20.0
feat: add files.info and files.list API methods by @co42 in https://github.com/abdolence/slack-morphism-rust/pull/343
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.18.0...v2.19.0
chore(deps): update actions/checkout action to v6 by @renovate[bot] in https://github.com/abdolence/slack-morphism-rust/pull/337
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.17.0...v2.18.0
fix(deps): update rust crate tokio-tungstenite to 0.28.0 by @renovate[bot] in https://github.com/abdolence/slack-morphism-rust/pull/333
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.16.0...v2.17.0
feat: add support for Pins API by @augustoccesar in https://github.com/abdolence/slack-morphism-rust/pull/331
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.15.0...v2.16.0
feat: add share_shortcut variant to SlackBlock enum by @john-cremit in https://github.com/abdolence/slack-morphism-rust/pull/328
share_shortcut variant to SlackBlock enum by @john-cremit in https://github.com/abdolence/slack-morphism-rust/pull/328user_scope to redirect url by @nibrobb in https://github.com/abdolence/slack-morphism-rust/pull/330Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.14.0...v2.15.0
fix(deps): update rust crate tokio-tungstenite to 0.27.0 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/322
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.12.0...v2.14.0
Support previous_message in SlackMessageEvent by @Hakuyume in https://github.com/abdolence/slack-morphism-rust/pull/317
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.11.0...v2.12.0
Assistant Support by @turulix in https://github.com/abdolence/slack-morphism-rust/pull/316
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.10.1...v2.11.0
fix: Fix emoji_list response deserialization by @dax in https://github.com/abdolence/slack-morphism-rust/pull/314
emoji_list response deserialization by @dax in https://github.com/abdolence/slack-morphism-rust/pull/314Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.10.0...v2.10.1
fix: Add video Slack block by @dax in https://github.com/abdolence/slack-morphism-rust/pull/310
video Slack block by @dax in https://github.com/abdolence/slack-morphism-rust/pull/310Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.9.0...v2.10.0
feat: Add emoji.list Slack API call by @dax in https://github.com/abdolence/slack-morphism-rust/pull/307
emoji.list Slack API call by @dax in https://github.com/abdolence/slack-morphism-rust/pull/307Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.8.0...v2.9.0
fix: Fix breaking changes from Tungstenite by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/305
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.7.0...v2.8.0
feat: add reply_broadcast to SlackApiChatUpdateRequest by @statiolake in https://github.com/abdolence/slack-morphism-rust/pull/301
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.6.2...v2.7.0
Add more parent message params by @dax in https://github.com/abdolence/slack-morphism-rust/pull/296
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.6.1...v2.6.2
feat: Support for share_shortcut and canvas_updated by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/295
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.6.0...v2.6.1
fix: Update SlackUserGroup.user_count JSON type by @dax in https://github.com/abdolence/slack-morphism-rust/pull/292
SlackUserGroup.user_count JSON type by @dax in https://github.com/abdolence/slack-morphism-rust/pull/292Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.5.0...v2.6.0
fix(deps): update rust crate tokio-tungstenite to 0.24.0 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/287
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.4.1...v2.5.0
Add blocks to message attachment by @dax in https://github.com/abdolence/slack-morphism-rust/pull/282
blocks to message attachment by @dax in https://github.com/abdolence/slack-morphism-rust/pull/282Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.4.0...v2.4.1
fix(deps): update rust crate tokio-tungstenite to 0.23.0 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/274
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.3.2...v2.4.0
Making edited field in SlackMessageEventEdited optional by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/279
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.3.1...v2.3.2
Fix files.completeUploadExternal response to include SlackFile model with all fields by @abdolence in https://github.com/abdolence/slack-morphism-rust
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.3.0...v2.3.1
Slack apparently deprecated the old file upload API. So you need to upgrade to the new API.
fix(deps): update rust crate serde_with to 3.8 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/262
Restrict SlackHeaderBlock to accept plan text only block by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/273
New Slack files upload API support by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/276
Slack apparently deprecated the old file upload API. So you need to upgrade to the new API.
files.upload is deprecated and will stop functioning on March 11, 2025. Use files.getUploadURLExternal and files.completeUploadExternal to upload files instead. Newly created apps will be unable to use files.upload beginning May 8, 2024. See Uploading files for more details on the process and this changelog for more on the deprecation.
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.2.0...v2.3.0
feat: Add stars.add and stars.remove methods by @dax in https://github.com/abdolence/slack-morphism-rust/pull/250
stars.add and stars.remove methods by @dax in https://github.com/abdolence/slack-morphism-rust/pull/250user_id attribute on SlackBotInfo by @dax in https://github.com/abdolence/slack-morphism-rust/pull/253Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.1.0...v2.2.0
fix(deps): update rust crate serde_with to 3.6 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/239
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v2.0.0...v2.1.0
Deprecated a long time ago SlackTs.to_date_time now is removed. The replacement is to_date_time_opt that returns Option<>
Migration Notice
SlackClientHyperConnector::new may return now errors due to the changes in underlying TLS packages. Just change it to SlackClientHyperConnector::new()?SlackTs.to_date_time now is removed. The replacement is to_date_time_opt that returns Option<>serde_urlencoded dep was removed. Now the crate uses multipart/file upload for all cases.SlackApiFilesUploadRequest.file field was renamed to binary_content to avoid confusion with the another field content.Shoutouts to @siketyan for the help with migration to Hyper 1.
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.17.0...v2.0.0
Binary files upload support via multipart/form by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/235
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.16.1...v1.17.0
fix(deps): update rust crate url to 2.5 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/221
** Migration notice **
v1.16.0 accidentally introduced a required field in SlackMessageEventEdited which in fact was supposed to be optional and it was fixed in #230. Please look details in the PR.
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.16.0...v1.16.1
Fix SlackMessageEventEdited include original message's id by @shantanuraj in https://github.com/abdolence/slack-morphism-rust/pull/226
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.15.1...v1.16.0
Removed confusing duplicate field on Slack User model by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/218 Apparently Slack acci
teams field on user model anymore.
Details: https://github.com/abdolence/slack-morphism-rust/pull/215#issuecomment-1778611093Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.15.0...v1.15.1
Warning: Undocumented breaking change from Slack affecting Enterprise Grid integrations affecting SlackUser.team_id field. Now it becomes optional to…
Warning: Undocumented breaking change from Slack affecting Enterprise Grid integrations affecting SlackUser.team_id field. Now it becomes optional to support all variations.
Let me know if you know why this happened or if you may have any official information.
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.14.5...v1.15.0
Update tokio-tungstenite to 0.20.1 to ensure non vulnerable version is used by @murilobsd in https://github.com/abdolence/slack-morphism-rust/pull/213
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.14.3...v1.14.5
chore(deps): update rust crate cargo-audit to 0.18 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/209
text field by @git-bruh in https://github.com/abdolence/slack-morphism-rust/pull/211Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.14.2...v1.14.3
fix(deps): update rust crate tokio-tungstenite to 0.20 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/203
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.14.1...v1.14.2
Chrono/time dep is removed using feature toggles by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/206
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.14.0...v1.14.1
Added Push events: ReactionAdded, ReactionRemoved, UserChange, UserStatusChanged support by @abdolence in https://github.com/abdolence/slack-morphism-
reactions.get API method response type.Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.12.0...v1.14.0
Add several missing file events by @soiha in https://github.com/abdolence/slack-morphism-rust/pull/196
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.11.0...v1.12.0
Axum middleware small performance optimisation by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/188
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.10.0...v1.11.0
feat: add support for time picker block by @augustoccesar in https://github.com/abdolence/slack-morphism-rust/pull/182
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.9.0...v1.10.0
fix(deps): update rust crate hyper-rustls to 0.24 by @renovate in https://github.com/abdolence/slack-morphism-rust/pull/179
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.8.0...v1.9.0
Derive Clone on SlackClient by @Palladinium in https://github.com/abdolence/slack-morphism-rust/pull/178
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.7.0...v1.8.0
Additional event callbacks by @fkrauthan in https://github.com/abdolence/slack-morphism-rust/pull/176
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.6.1...v1.7.0
Interaction event state support by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/173
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.6.0...v1.6.1
BlockKit elements updates by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/171
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.5.0...v1.6.0
BlockKit Model fixes by @x3ro in https://github.com/abdolence/slack-morphism-rust/pull/168
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.4.2...v1.5.0
Fixed some of optional fields deserialization when they aren't present by @abdolence in https://github.com/abdolence/slack-morphism-rust/pull/165
Full Changelog: https://github.com/abdolence/slack-morphism-rust/compare/v1.4.1...v1.4.2
One column per quarter.