You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release has a few major breaking changes. And a couple require developers to pay a bit of attention, else their programs will break.
I am sorry this is the case but such is life sometimes.
See below for the most important, and trickier breaking changes.
Breaking changes
Fix message event struct by @paprikati in slack-go/slack#1391 and slack-go/slack#1408
Our MessageEvent has been quite wrong for a while. This should fix it but it does mean folks will have to change their code to cope with this new structure. Please be extra vigilant in areas of your code that uses MessageEvent.
Function execution events now correctly accept interfaces not strings by @ProjectBarks in slack-go/slack#1357FunctionExecutedEvent had Inputs set as map[string]string but that didn't allow enough flexibility - that has been changed to map[string]interface.
Allow emoji value in plain text blocks to be null by @calebmckay in slack-go/slack#1354
The Emoji field in TextBlockObject is now a pointer to ensure we can make a distinction between nil and false. Only affects when unmarshalling.
Implement PublishViewContext to keep hash optional by @ishitamundhra in slack-go/slack#1322PublishViewContext() now requires people to pass a PublishViewContextRequest which became a public type. If you call PublishViewContext() in your code, please adjust accordingly.
Renamed AltText to AltTxt and SnippetText to SnippetType (in GetUploadURLExternalParameters and UploadFileV2Parameters) by @nlopes in slack-go/slack#1422
AppHomeOpenedEventView is now a pointer by @nlopes in slack-go/slack#1424
This provides slightly better ergonomics in the case when there's no view yet.
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 merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@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)
Dependency Upgrade for Slack Library
The Slack component of our system is now using a newer version (v0.17.0) compared to the old one (v0.15.0). This update brings better performance and stability to our Slack related functionalities.
Update to Testing Dependency
The library github.com/go-test/deep, which we use to assist in our testing process has been upgraded to the newer version (v1.1.1). The old version is also cleanly removed, ensuring no redundant code is left behind. This upgrade should enhance the quality and reliability of our system tests, letting us catch potential bugs with more confidence.
Removed Unused Spew Library
We have removed references to the github.com/davecgh/go-spew library from our system. This is housekeeping work that helps our codebase stay lean and uncluttered, as the library is no longer necessary for our system's function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesdependenciesgoPull requests that update Go code
0 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps github.com/slack-go/slack from 0.15.0 to 0.17.0.
Release notes
Sourced from github.com/slack-go/slack's releases.
... (truncated)
Commits
6ed4ea4chore(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.3 (#1428)35c3194chore(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.385c2581chore(deps): bump github.com/go-test/deep from 1.0.4 to 1.1.1 (#1429)3fce6b7chore(deps): bump github.com/go-test/deep from 1.0.4 to 1.1.104b58dachore(deps): bump github.com/stretchr/testify from 1.2.2 to 1.10.0 (#1427)58e4146chore(deps): bump github.com/stretchr/testify from 1.2.2 to 1.10.03559b64chore: add gomod to dependabot (#1426)a901aacchore: add gomod to dependabotc0011f3fix: tighten permissions for the test workflow (#1425)7d5a965fix: tighten permissions for the test workflowDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)