Repository navigation
fix(deps): update module github.com/slack-go/slack to v0.32.0 - #61
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/github.com-slack-go-slack-0.x
branch
from
October 27, 2026 01:00
05bb7a6 to
3217a19
Compare
renovate
Bot
force-pushed
the
renovate/github.com-slack-go-slack-0.x
branch
from
October 29, 2026 01:51
3217a19 to
8d4937d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.29.0→v0.32.0Release Notes
slack-go/slack (github.com/slack-go/slack)
v0.32.0Compare Source
This release expands Slack Code support with channel views, context bars, and canvas collaboration, and fixes permission diagnostics, slash-command decoding, and workflow-button validation.
Breaking changes
signatures.
CreateCanvasandCreateCanvasContextnow acceptoptions ...CreateCanvasOption. Existing direct calls still compile, but thesemethods no longer satisfy interfaces with the old fixed signatures. Add the
variadic parameter to interface and mock declarations; adapt stored function
values or wrap the call in a function with the old signature.
Properties,SlackResponse,KickUserFromConversationSlackResponse, orSlackErrorResponse. New fieldsmake positional literals fail to compile. Existing keyed literals still work.
Added
channels. Use
SetAgentConversationViewto publish or update a view,ListAgentConversationViewsto discover attached views, andRemoveAgentConversationViewto remove them. All haveContextvariants.Slack documents pull-request views too, but live requests have returned
invalid_view_type; publish a unified diff withAgentViewTypeDiffif thathappens.
a summary message, and external resource details with
SetAgentConversationPropertiesor itsContextvariant. Read session status,title, assigned agents, origin message, context-bar ownership, summary, and
managed views through
Properties.AgentSessionandProperties.CodeChannelin conversation responses.
GetAgentConversationCanvasretrieves markdown and comment threads, includingreplies and optional resolved threads.
SetAgentConversationCanvasContentreplaces the markdown while preserving section IDs and comment anchors on
unchanged sections. Both have
Contextvariants.require a channel. Pass
CreateCanvasOptionChannelID(channelID)toCreateCanvasorCreateCanvasContext(#1623).examples/slack_codeCLI for channelsetup, context bars, views, canvases, commands, metadata inspection, and archival.
It includes sample HTML, Block Kit, markdown, and unified-diff files.
Fixed
neededandprovidedvalues are now preserved in responses andSlackErrorResponse, evenfor methods that return only an error. Use
errors.Asto inspectNeededandProvided; the error text is unchanged.viewsarray.
ListAgentConversationViewsalso preservessession_views, includingview types, names, and owner IDs.
is_enterprise_install. JSONdecoding now accepts absent or null values, including observed Slack Code
context-bar action deliveries over Socket Mode.
WorkflowButtonBlockElement.ActionIDis omitted from JSON so the button passesSlack's block validation. Populated IDs are preserved.
Documentation and testing
raw_numbertable cells for publishing. If aworkspace rejects them with
invalid_blocks, send the number as aTableRawTextCell. Null cells remain a received-only representation.interactions, and agent slash commands through the existing HTTP and Socket
Mode parsers and handlers.
Full Changelog: slack-go/slack@v0.31.0...v0.32.0
v0.31.0Compare Source
Breaking changes
ButtonBlockElementis no longer comparable becauseVisibleToUserIDsis a slice.Value comparisons and map keys using it no longer compile; interface comparisons containing button values can panic. Use comparable identifiers as map keys and compare button contents explicitly:
If you create these structs without naming their fields, update that code. New fields were added to Block Kit elements,
Attachment,File,RemoteFileandFeatures. Code that supplies values by position now fails to compile. Include the field names, or use the existingNew...helper functions where available:Newly supported rich-text elements decode into concrete types instead of
*RichTextSectionUnknownElement. Update type assertions and switches for attachment, workflow, Work Object and message mentions; tags; canvas elements; citations; file and List record references; and Salesforce data fields.Request signature validation is stricter, and mismatch errors have changed.
NewSecretsVerifierrejects signatures without thev0=prefix or whose decoded length is not 32 bytes. Update any test fixtures that relied on the previous permissive parsing.SecretsVerifier.EnsurereturnsErrInvalidSignatureon a mismatch; replace checks of the old error text witherrors.Is(err, slack.ErrInvalidSignature).UninstallAppandRotateTokensnow use POST, including theirContextvariants. Update mocks or custom transports that expect GET requests or credentials in the URL to accept form-encoded POST bodies.OptionOnWarningcallbacks no longer receive thetokenparameter in form or query parameter maps. Update callbacks that rely on that field.Added
Add
RTMOptionReadLimitandsocketmode.OptionReadLimitto limit incoming WebSocket message sizes on every connection, including reconnects. The default remains unlimited; exceeding a configured limit closes the connection and triggers normal reconnect handling. With compression enabled through a custom dialer, the limit counts compressed bytes and does not bound the size after decompression.Block Kit: Add typed Salesforce data fields with record IDs, field metadata, label visibility, and styles. These now decode into
RichTextSectionSalesforceDataFieldElementinstead ofRichTextSectionUnknownElement.Block Kit: Add typed workflow mentions with workflow and trigger IDs, display text, URLs, message locations, and styles. These now decode into
RichTextSectionWorkflowMentionElementinstead ofRichTextSectionUnknownElement.Block Kit: Add typed Work Object mentions with entity and app IDs, display text, URLs, icons, preview settings, product names, and styles. These now decode into
RichTextSectionWorkObjectMentionElementinstead ofRichTextSectionUnknownElement.Block Kit: Add typed attachment mentions with app, entity, icon, message, preview, and product metadata. These now decode into
RichTextSectionAttachmentMentionElementinstead ofRichTextSectionUnknownElement.Block Kit: Add typed rich-text tags with styles and constants for all nine colors. Tags now decode into
RichTextSectionTagElementinstead ofRichTextSectionUnknownElement.Block Kit: Add typed List record references with record and view IDs, display text, URLs, and styles. These now decode into
RichTextSectionListRecordElementinstead ofRichTextSectionUnknownElement.Block Kit: Add typed canvas user mentions and canvas message unfurls, including thread IDs and styles. These now decode into concrete types instead of
RichTextSectionUnknownElement.Block Kit: Add typed canvas rich-text elements with labels, section links, title visibility, styles, and skill metadata. These now decode into
RichTextSectionCanvasElementinstead ofRichTextSectionUnknownElement.Block Kit: Add
RichTextSectionCitationElementwith typed file, external, web, message, and memory details for rich-text citations. Preserve unknown detail variants as raw JSON. Citations now decode into this concrete type instead ofRichTextSectionUnknownElement.Block Kit: Add typed file
and message mention
rich-text elements, including styles and optional metadata. These now decode into concrete
types instead of
RichTextSectionUnknownElement.Add image alt text, GIF, PDF, 800px and inline thumbnails, audio and transcription metadata, preview truncation, remote file identifiers, canvas and List metadata, title blocks, and sharing and app metadata to
File. Preserve sharing and app metadata inRemoteFileresponses.Block Kit: Add missing element fields for button accessibility, agent prompts, visibility, conversation selection, rich-text input sizing, and rich-text styles and metadata, including shared emoji URLs.
Add
IsShare,IsMsgUnfurlandFilestoAttachment, so the files of a forwarded message are decoded rather than dropped.Add
CreateAgentConversationandArchiveAgentConversation(plusContextvariants) foragents.conversations.createandagents.conversations.archive.Add
SetAgentConversationCommands(plusContextvariant) andFeatures.CodeChannelsfor agent slash commands.Add all 12 Slack Lists API methods, with
Contextvariants and scoped options for lists, access, items, and exports.Block Kit: Add
DataTableActionCellfor buttons indata_tableblocks, with an optionalraw_textorraw_numberfallback (#1618).Add
AdminAppsApprovedListandAdminAppsRestrictedList(plusContextvariants) for theadmin.apps.approved.listandadmin.apps.restricted.listmethods, with typed app, scope and pagination responses (#1614).Add
AdminAppsRequestsList(plusContextvariant) for theadmin.apps.requests.listmethod, with typed request and pagination responses (#1615).Filenow unmarshals the video fields of the file object: the video thumbnail (ThumbVideo,ThumbVideoW,ThumbVideoHandThumbVideoTimestamp) andDurationMs,HLS,HLSEmbed,HLSPreview,MediaDisplayType,MP4,MP4LowandVTT.Fixed
slackevents.ParseEventreturns an error for anevent_callbackwith a missing or null innereventinstead of panicking.Full Changelog: slack-go/slack@v0.30.1...v0.31.0
v0.30.1Compare Source
Security
GetFile,GetFileContextandUploadToURLnow send the token only to https URLs onslack.com,slack-gov.comand their subdomains, and to the host set withOptionAPIURL. Any other URL returns an error before a request is made.The
url_privateof a remote or external file (File.IsExternal) points outside Slack, soGetFile(file.URLPrivate)sent the token to that host. See GHSA-3q3v-34v2-g88f.A test that points
GetFileat anhttptestserver must also pass that server toOptionAPIURL:Thanks to @Lordseriouspig (what a handle... 😂) for the report.
Full Changelog: slack-go/slack@v0.30.0...v0.30.1
v0.30.0Compare Source
Breaking changes
DeleteFileCommenttakes(fileID, commentID)DeleteFileCommentnow uses the same argument order asDeleteFileCommentContext(#1611). Swap the arguments of every call:The compiler cannot catch this because both arguments are strings. A call that still passes a comment ID (
Fc…) will return an error in order to try to catch it. YMMV so please raise an issue if you encounter issuesVariadic options on
CreateManifestandGetUserInfoCreateManifest,CreateManifestContext,GetUserInfoandGetUserInfoContextnow take variadic options. An interface or mock that declares the old signature needs the new parameter:Other
UpdateUserGroupsParamshas a new slice field,AdditionalChannels, so it can no longer be compared with==or used as a map key (#1599).Added
app_context_changed,agent_session_stopped,agent_session_title_changed),AppContextonAppHomeOpenedEventandMessageEvent,authorizationsonEventsAPICallbackEvent, andSetAgentSessionStatusandRenameAgentSessionforagents.sessions.*by @rliddler in #1607AppId,CredentialsandOAuthAuthorizeUrlin theCreateManifestresponse by @sivchari in #1587Features.AgentViewandFeatures.AssistantViewapp manifest settings by @yuya-takeyama in #1589Features.UnfurlDomains,Features.RichPreviews,Features.Search,OAuthConfig.PKCEEnabled,OAuthConfig.TokenManagementEnabled,Settings.IsMCPEnabled,Settings.TokenRotationEnabled,Settings.IncomingWebhooks,Settings.FunctionRuntime,Settings.SIWSLinks,EventSubscriptions.MetadataSubscriptionsandOutgoingDomainsby @nlopes in #1609, #1610 and #1612Attachment.HideColorand Block KitTaskCardBlock.HideTitleby @mkende in #1590additional_channelsandinclude_countoptions forusergroups.createandusergroups.updateby @JaiminBrahmbhatt in #1599SetAppIconforapps.icon.setby @JaiminBrahmbhatt in #1597AdminTeamsListforadmin.teams.listby @JaiminBrahmbhatt in #1593AdminUsersListforadmin.users.listby @JaiminBrahmbhatt in #1595UserGroupfields:AutoProvision,ChannelCount,EnterpriseSubteamID,IsEditingRestricted,IsIDPGroup,IsMembershipLocked,IsOrgLevel,IsSection,IsSubteamandIsVisibleby @JaiminBrahmbhatt in #1605GetUsersOptionIncludeLocaleandGetUserInfoOptionIncludeLocaleto choose whetherusers.listandusers.inforeturnlocaleby @JaiminBrahmbhatt in #1603 and @nlopes in #1613CreateManifestRaw,UpdateManifestRaw,ExportManifestRawandValidateManifestRaw, which keep manifest keys thatManifestdoes not model, andCreateManifestOptionTeamIDby @JaiminBrahmbhatt in #1601Changed
DeleteFileCommenttakes(fileID, commentID)by @nlopes in #1611Fixed
RetryConfig.BackoffMaxcaps the Web API retry delay, by @shushenghong in #1586GetFilereturns an error when the token cannot read the file instead of saving the sign-in page by @richardmilles in #1582Other
New Contributors
Full Changelog: slack-go/slack@v0.29.0...v0.30.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.