Skip to content

Comments

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

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

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

Conversation

@dependabot
Copy link

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

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

Release notes

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

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.

Settings pointer fields (#1461)

Settings.Interactivity and Settings.EventSubscriptions are now pointers so they can be properly omitted when empty. You'll need nil checks if you're accessing these directly.

Minimum Go version is now 1.25

Up from 1.22 in v0.17.x. The go.mod directive is go 1.25.

Added

  • Admin Conversations API — Full admin.conversations.* support: core operations, bulk operations, preferences, retention, restrict access, and EKM channel info. (#1329)
  • admin.roles.* API methodslistAssignments, addAssignments, and removeAssignments. (#1520)
  • Chat Streaming API — Real-time chat streaming with example usage. (#1506)
  • Data Access API — Full support with example implementation. (#1439)
  • Work Objects — Chat unfurl with Work Object metadata, entity details (flexpane), entity_details_requested event, and associated types. (#1529)
  • Huddle supportHuddleRoom, HuddleParticipantEvent, and HuddleRecording types for huddle events.
  • Table blocks — Parse and create table blocks. (#1490, #1511)
  • Context actions blockcontext_actions block type. (#1495)
  • Workflow buttonworkflow_button block element. (#1499)
  • Call block dataCallBlock now includes full call data. (#897)
  • Cursor-based GetUsers pagination (#1465)
  • GetAllConversations with pagination — Automatic pagination with rate limit handling. (#1463)
  • focus_on_load for remaining block elements — selects, multi-selects, datepicker, timepicker, plain_text_input, checkboxes, radio_buttons, number_input. (#1519)
  • Missing User/UserProfile/EnterpriseUser fieldswho_can_share_contact_card, always_active, pronouns, image_1024, and more. (#1526)
  • PlainText/PreviewPlainText on File — Email file objects now include plain text body fields. (#1522)
  • Attachment image fieldsImageBytes, ImageHeight, ImageWidth. (#1516)
  • RecordChannel conversation property (#1513)
  • Title for CreateChannelCanvas (#1483)
  • loading_messages for SetAssistantThreadsStatus (#1489)

... (truncated)

Changelog

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

[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)

[0.18.0-rc2] - 2026-01-28

Added

  • Audit Logs example - New example demonstrating how to use the Audit Logs API. (#1144)
  • Admin Conversations API support - Comprehensive support for admin.conversations.* methods including core operations (archive, unarchive, create, delete, rename, invite, search, lookup, getTeams, convertToPrivate, convertToPublic, disconnectShared, setTeams), bulk operations (bulkArchive, bulkDelete, bulkMove), preferences, retention management, restrict access controls, and EKM channel info. (#1329)

Changed

  • BREAKING: Removed deprecated UploadFile, UploadFileContext, and FileUploadParameters. The files.upload API was discontinued by Slack on November 12, 2025. (#1481)
  • BREAKING: Renamed UploadFileV2UploadFile, UploadFileV2ContextUploadFileContext, and UploadFileV2ParametersUploadFileParameters. The "V2" suffix is no longer needed now that the old API is removed. (#1481)

Fixed

  • File upload error wrapping - UploadFile now wraps errors with the step name (GetUploadURLExternal, UploadToURL, or CompleteUploadExternal) so callers can identify which of the three upload steps failed. (#1491)
  • Audit Logs API endpoint - Fixed GetAuditLogs to use the correct endpoint (api.slack.com) instead of the regular API endpoint (slack.com/api). The Audit Logs API requires a different base URL. Added OptionAuditAPIURL for testing. (#1144)
  • Socket mode websocket dial debugging - Added debug logging when a custom dialer is used including HTTP response status on dial failures. This helps diagnose proxy/TLS issues like "bad handshake" errors. (#1360)

... (truncated)

Commits
  • e5ea969 chore: v0.18.0
  • 8416915 chore: add missing entries to CHANGELOG
  • 615a158 chore: deprecate go 1.24 and introduce 1.26 (#1530)
  • 16c0f77 feat(admin): Implement missing admin.roles.* API method: (#1520)
  • a9bf60d feat(work-objects): add Work Objects support for chat unfurl, entity details,...
  • 6551d10 fix(assistant): send title parameter in setSuggestedPrompts API (#1528)
  • 792849c feat(users): add missing fields to User, UserProfile, and EnterpriseUser (#1526)
  • 7fe95a9 fix(users): correct JSON tag typo in UserProfile.Skype field (#1524)
  • d6bcd04 feat: add PlainText and PreviewPlainText fields to File struct (#1522)
  • 0f67cd0 feat: Add focus_on_load support for remaining block elements (#1519)
  • 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.18.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.18.0)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-version: 0.18.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 Feb 23, 2026
@dependabot dependabot bot requested a review from porridge as a code owner February 23, 2026 07:29
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 23, 2026
@github-actions github-actions bot enabled auto-merge (squash) February 23, 2026 07:29
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