Skip to content

chore(deps): bump github.com/slack-go/slack from 0.17.3 to 0.20.0#178

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/slack-go/slack-0.20.0
Open

chore(deps): bump github.com/slack-go/slack from 0.17.3 to 0.20.0#178
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/slack-go/slack-0.20.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2026

Bumps github.com/slack-go/slack from 0.17.3 to 0.20.0.

Release notes

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

v0.20.0

[!WARNING] trigger_id and workflow_id are NOT in any documentation or in any of the official libraries, so exercise caution if you use these.

Added

  • workflow_id and trigger_id in Message — It seems that some types of messages, e.g: bot_message, can carry trigger_id and workflow_id. WorkflowID was added by @​clayallsopp in slack-go/slack#1537
  • RichTextQuote.Border field — optional border toggle (matches the docs now)
  • RichTextPreformatted.Language field — enables syntax highlighting for preformatted blocks

Fixed

  • Remove embedding of RichTextSectionRichTextQuote and RichTextPreformatted are now flattened as they should have always been. This is a breaking change for anyone using these structs directly.

New Contributors

Full Changelog: slack-go/slack@v0.19.0...v0.20.0

v0.19.0

Added

Full Changelog: slack-go/slack@v0.18.0...v0.19.0

v0.18.0

This is the first stable release in the 0.18.x series — it includes everything from rc1 and rc2 plus a handful of new features and fixes that landed since.

There are a few breaking changes in this one. I tried to keep them to the minimum necessary but some were long overdue. Here's what you need to know.

Breaking changes

File upload API cleanup (#1481)

Slack discontinued the old files.upload API back in November 2025, so we finally removed the deprecated UploadFile, UploadFileContext, and FileUploadParameters. The V2 variants have been renamed to drop the suffix:

  • UploadFileV2UploadFile
  • UploadFileV2ContextUploadFileContext
  • UploadFileV2ParametersUploadFileParameters

Should be a quick search-and-replace for most codebases.

GetReactions return type (#1480)

GetReactions now returns ReactedItem instead of []ItemReaction. This aligns with what the Slack API actually returns — the item itself (message, file, or file_comment) alongside its reactions. To migrate, use resp.Reactions to get at the slice.

... (truncated)

Changelog

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

[0.20.0] - 2026-03-21

[!WARNING] trigger_id and workflow_id are NOT in any documentation or in any of the official libraries, so exercise caution if you use these.

Added

  • workflow_id and trigger_id in Message — It seems that some types of messages, e.g: bot_message, can carry trigger_id and workflow_id.
  • RichTextQuote.Border field — optional border toggle (matches the docs now)
  • RichTextPreformatted.Language field — enables syntax highlighting for preformatted blocks

Fixed

  • Remove embedding of RichTextSectionRichTextQuote and RichTextPreformatted are now flattened as they should have always been. This is a breaking change for anyone using these structs directly.

[0.19.0] - 2026-03-04

Added

  • Optional HTTP retry for Web API — Retries are off by default. Enable with OptionRetry(n) for 429-only retries or OptionRetryConfig(cfg) for full control including 5xx and connection errors with exponential backoff. (#1532)
  • task_card and plan agent blocks — New block types for task cards and plan agent blocks. (#1536)

Changed

  • CI: bumped actions/stale from 10.1.1 to 10.2.0. (#1534)
  • Use golangci-lint in Makefile. (#1533)

[0.18.0] - 2026-02-21

Added

  • focus_on_load support for remaining block elements — Static/external/users/conversations/channels select, multi-select variants, datepicker, timepicker, plain_text_input, checkboxes, radio_buttons, and number_input. (#1519)
  • PlainText and PreviewPlainText fields on File — Email file objects now include the plain text body fields instead of silently discarding them. (#1522)
  • Missing fields on User, UserProfile, and EnterpriseUserwho_can_share_contact_card, always_active, pronouns, image_1024, is_custom_image, status_text_canonical, huddle_state, huddle_state_expiration_ts, start_date, and is_primary_owner. (#1526)
  • Work Objects support — Chat unfurl with Work Object metadata, entity details (flexpane), entity_details_requested event, and associated types (WorkObjectMetadata, WorkObjectEntity, WorkObjectExternalRef). (#1529)
  • admin.roles.* API methodsadmin.roles.listAssignments, admin.roles.addAssignments, and admin.roles.removeAssignments. (#1520)

Fixed

  • UserProfile.Skype JSON tag — Corrected typo from "skyp" to "skype". (#1524)
  • assistant.threads.setSuggestedPrompts title parameter — Title is now sent when non-empty. (#1528)

Changed

  • CI test matrix updated: dropped Go 1.24, added Go 1.26; bumped golangci-lint to v2.10.1. (#1530)

... (truncated)

Commits
  • 449e341 chore: v0.20.0
  • 442f330 chore: update CHANGELOG
  • 0b4eb25 feat!: flatten RichTextPreformatted to remove RichTextSection embedding
  • 46d7b49 feat!: add Border to RichTextQuote and Language to RichTextPreformatted
  • c93b916 Revise warning for trigger_id and workflow_id
  • 561f12f feat: add TriggerID to Message
  • 8e62a1a Add WorkflowID to message (#1537)
  • 891d7e5 chore: add golangci-lint to mise
  • 8917d11 docs: update README with links and remove old warning
  • eaddf77 chore: v0.19.0
  • 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.17.3 to 0.20.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.17.3...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-version: 0.20.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 Mar 23, 2026
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