github slack-go/slack v0.18.0-rc2

pre-release11 hours ago

⚠️ Breaking Changes

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

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, UploadFileV2Context
    UploadFileContext, 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])
  • MsgOptionPostMessageParameters now passes MetaData - Previously, metadata was
    silently dropped when using PostMessageParameters. ([#1343])

Full Changelog: v0.18.0-rc1...v0.18.0-rc2

Don't miss a new slack release

NewReleases is sending notifications on new releases.