Skip to content

chore(deps): bump github.com/slack-go/slack from 0.21.1 to 0.22.0#79

Merged
github-actions[bot] merged 1 commit intomainfrom
dependabot/go_modules/github.com/slack-go/slack-0.22.0
Apr 14, 2026
Merged

chore(deps): bump github.com/slack-go/slack from 0.21.1 to 0.22.0#79
github-actions[bot] merged 1 commit intomainfrom
dependabot/go_modules/github.com/slack-go/slack-0.22.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 14, 2026

Bumps github.com/slack-go/slack from 0.21.1 to 0.22.0.

Release notes

Sourced from github.com/slack-go/slack's releases.

v0.22.0

What's Changed

Added

  • OAuth PKCE support - OAuthOptionCodeVerifier option for GetOAuthV2Response, plus GenerateCodeVerifier() and GenerateCodeChallenge() helpers (RFC 7636). client_secret is now conditionally omitted when empty in both GetOAuthV2ResponseContext and RefreshOAuthV2TokenContext.
  • Manifest scope fields - BotOptional and UserOptional on OAuthScopes.
  • Rich text styles - Underline, Highlight, ClientHighlight, and Unlink on RichTextSectionTextStyle. Style field on RichTextSectionUserGroupElement.
  • Assistant search context - Sort, SortDir, Before, After, Highlight, IncludeContextMessages, IncludeDeletedUsers, IncludeMessageBlocks, IncludeArchivedChannels, DisableSemanticSearch, Modifiers, TermClauses parameters and new response types (AssistantSearchContextFile, AssistantSearchContextChannel, AssistantSearchContextMessageContext).

Fixed

  • socketmode: malformed JSON no longer forces reconnect - json.SyntaxError and json.UnmarshalTypeError now emit an EventTypeIncomingError event and continue reading instead of killing the WebSocket connection.
  • socketmode: debug_reconnects query param applied correctly - the parameter was silently discarded due to a missing url.RawQuery assignment.
  • ChannelTypes and ContentTypes now send comma-separated values instead of repeated form keys, matching the convention used by every other method in the library.

Docs

  • assistant:write scope marked as deprecated in favour of chat:write.

Full Changelog: v0.21.1...v0.22.0

Changelog

Sourced from github.com/slack-go/slack's changelog.

[0.22.0] - 2026-04-12

Added

  • Added missing parameters to assistant.search.context (Sort, SortDir, Before, After, Highlight, IncludeContextMessages, IncludeDeletedUsers, IncludeMessageBlocks, IncludeArchivedChannels, DisableSemanticSearch, Modifiers, TermClauses) and new response types (AssistantSearchContextFile, AssistantSearchContextChannel, AssistantSearchContextMessageContext) to match the full Real-Time Search API surface.
  • Added Underline, Highlight, ClientHighlight, and Unlink fields to RichTextSectionTextStyle. Added Style field to RichTextSectionUserGroupElement.
  • Added BotOptional and UserOptional fields to OAuthScopes for app manifests.
  • Added PKCE support for OAuth: OAuthOptionCodeVerifier option for GetOAuthV2Response, GenerateCodeVerifier() and GenerateCodeChallenge() helper functions (RFC 7636). client_secret is now conditionally omitted when empty in both GetOAuthV2ResponseContext and RefreshOAuthV2TokenContext.

Fixed

  • ChannelTypes and ContentTypes now send comma-separated values instead of repeated form keys, matching the convention used by every other method in the library.
  • In socketmode malformed JSON messages no longer force an unnecessary reconnect. Instead the error is emitted and the connection continues as normal.
Commits
  • f482b19 chore: v0.22.0
  • 3a5db9d chore: fix staticcheck errors (#1548)
  • 19e0416 ci: add staticcheck
  • f7a9616 chore: add staticcheck to mise
  • 38dc2b9 chore: simplify with fmt.Fprintf
  • d86412e fix(socketmode): skip reconnect on malformed JSON messages
  • 3d2c59d chore: fix linting and formatting issues
  • 7c6fb1f fix(socketmode): apply debug_reconnects query param to URL
  • 5a498f6 feat(oauth): add PKCE support for OAuth v2 token exchange
  • 86249b5 feat(manifests): add optional scope fields to OAuthScopes
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/slack-go/slack/releases)
- [Changelog](https://github.com/slack-go/slack/blob/master/CHANGELOG.md)
- [Commits](slack-go/slack@v0.21.1...v0.22.0)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-version: 0.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 14, 2026
@dependabot dependabot bot requested a review from porridge as a code owner April 14, 2026 07:24
@github-actions github-actions bot enabled auto-merge (squash) April 14, 2026 07:24
@github-actions github-actions bot merged commit 6c90362 into main Apr 14, 2026
3 checks passed
@github-actions github-actions bot deleted the dependabot/go_modules/github.com/slack-go/slack-0.22.0 branch April 14, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants