Skip to content

chore(deps): bump github.com/slack-go/slack from 0.35.0 to 0.36.0 in the go-dependencies group - #86

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-0a8500e8d8
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-0a8500e8d8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 22, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 1 update: github.com/slack-go/slack.

Updates github.com/slack-go/slack from 0.35.0 to 0.36.0

Release notes

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

v0.36.0

Thanks again to Michal (@​akfaew) for another round of fixes in this release.

Breaking changes — read before upgrading

[!WARNING] v0.36.0 includes breaking API, decoding, and serialization changes.

Your code may fail to compile. Code that still compiles may decode or serialize differently. Events API URL-verification responses now use a different JSON key.

Review every item below before upgrading, including RTM and Events API handlers, tests that build or compare event payloads, and code that decodes into reused values.

1. RTM group_rename event types have changed

  • slack.GroupRenameEvent gains EventTimestamp. Positional struct literals no longer compile. Use keyed literals, such as slack.GroupRenameEvent{Type: "group_rename", Group: info, Timestamp: ts}. Timestamp keeps its ts JSON key; the new event_ts key is omitted when empty.
  • slack.GroupRenameInfo.Created is now int64. Replace Created: "1360782804" with Created: 1360782804. Parse input strings with strconv.ParseInt(value, 10, 64), and use strconv.FormatInt(info.Created, 10) where a string is still needed. Marshaling now emits a JSON number, and decoding rejects quoted timestamps.

2. URL-verification responses use a lowercase challenge key

slackevents.ChallengeResponse now marshals as {"challenge":"..."} instead of {"Challenge":"..."}, matching Slack's documented response. Assignments from untagged anonymous structs no longer compile; use slackevents.ChallengeResponse{Challenge: value} instead.

3. slackevents.CallRejectedEvent is flattened

  • Read fields directly from the event. Replace event.Event.CallID with event.CallID, and likewise for Type, UserID, ChannelID, and ExternalUniqueID.
  • Envelope fields are removed. Token, TeamID, APIAppID, EventID, and AuthedUsers are gone. Decode full callback payloads with slackevents.ParseEvent and read envelope metadata from the returned EventsAPIEvent and its *EventsAPICallbackEvent data.
  • Type is now call_rejected, not the outer event_callback. Marshaling produces the inner event object instead of the complete callback envelope.

4. Decoding into reused values replaces previous contents

  • ActionCallbacks, ContextElements, and BlockObjects replace previous entries instead of appending. Decoding [A, B] followed by [C] now leaves [C]; [] and JSON null clear all entries. The legacy {"elements":null} wrapper remains a no-op for ContextElements. To accumulate entries, decode separately and append the slices.
  • Accessory and SlackResponseErrors replace all previous variants on a

... (truncated)

Changelog

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

[0.36.0] - 2026-11-14

Breaking changes

[!WARNING] v0.36.0 changes RTM, Events API, and JSON decoding types and behavior. Positional slack.GroupRenameEvent literals, string slack.GroupRenameInfo.Created values, and slackevents.CallRejectedEvent envelope fields no longer compile. slackevents.ChallengeResponse now marshals a lowercase challenge key, and decoding into reused block and response values replaces their previous contents.

See the Breaking entries under Changed for migration steps.

Added

  • Add AdminUsersSetAdmin, AdminUsersSetOwner, and AdminUsersSetRegular, with Context variants, to change a user's account type on a workspace or Enterprise org. With an org ID, admin.users.setRegular also removes the user's Workspace Owner roles (Slack changelog). The existing SetRegular still calls the legacy users.admin.setRegular endpoint.
  • Add AdminUsersGetExpiration and AdminUsersSetExpiration, with Context variants, to read and set when a guest account is disabled. AdminUsersGetExpirationOptionTargetTeam and AdminUsersSetExpirationOptionTeamID select a workspace in the org. Slack API reference: admin.users.getExpiration, admin.users.setExpiration.
  • Add AdminUsersAssign, AdminUsersInvite, and AdminUsersRemove, with Context variants and options for guest access, channels, and invite details, to manage workspace membership in an Enterprise org. InviteToTeam, InviteGuest, and InviteRestricted still call the legacy users.admin.invite endpoint.
  • Add AdminUsersSessionList, AdminUsersSessionReset, AdminUsersSessionResetBulk, AdminUsersSessionGetSettings, AdminUsersSessionSetSettings, and AdminUsersSessionClearSettings, with Context variants, to list and reset member sessions and manage their session settings.
  • Add AdminUsersUnsupportedVersionsExport and its Context variant to have Slackbot send a CSV of members on unsupported Slack clients.
  • Add AdminUsersAccessPause and AdminUsersAccessResume, with Context variants and a reason option, to queue pausing or resuming org-wide access for frontline members. On failed_for_some_users, the returned response lists the rejected users in InvalidUsers; Slack still queues the others.

Changed

  • Breaking: slack.GroupRenameEvent gains EventTimestamp string for event_ts. Replace positional struct literals with keyed literals, such as slack.GroupRenameEvent{Type: "group_rename", Group: info, Timestamp: ts}. Timestamp retains its ts JSON key. The new key is omitted when empty.
  • Breaking: slack.GroupRenameInfo.Created changes from string to int64. Replace literals such as Created: "1360782804" with Created: 1360782804. Parse input strings with strconv.ParseInt(value, 10, 64) before assigning;

... (truncated)

Commits
  • e791264 chore: bump to v0.36.0
  • 7b6269a feat(admin): add admin.users.access pause and resume methods (#1719)
  • 16c84ca feat(admin): add remaining admin.users methods (#1718)
  • 2ce058b feat(admin): add admin.users account type and expiration methods (#1717)
  • 5d5455c build(deps): bump go.yaml.in/yaml/v3 from 3.0.5 to 3.0.6 (#1716)
  • f8c479d fix(rtm)!: expose group rename event timestamp (#1715)
  • 9aa4abb fix(rtm)!: decode group rename creation timestamps as int64 (#1714)
  • ef85d55 fix(events): match documented challenge response key (#1707)
  • 2344d8a fix(slackevents)!: flatten call_rejected event (#1712)
  • 18a67ac fix(json): replace collections when decoding reused values (#1709)
  • 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-dependencies group with 1 update: [github.com/slack-go/slack](https://github.com/slack-go/slack).


Updates `github.com/slack-go/slack` from 0.35.0 to 0.36.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.35.0...v0.36.0)

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

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 Nov 22, 2026
@coldtea-pr-lens

Copy link
Copy Markdown

Note

dependabot[bot] opened this pull request, so PR Lens left it undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 25666c76-d2f7-45b3-aa7e-d53da0c08c50

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

This branch has not been deployed

No deployments
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