Update module github.com/slack-go/slack to v0.17.3 #214
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.
This PR contains the following updates:
v0.14.0
->v0.17.3
Release Notes
slack-go/slack (github.com/slack-go/slack)
v0.17.3
Compare Source
What's New
IsEmailConfirmed
toUser
by @nlopes in https://github.com/slack-go/slack/pull/1458Fixes
In the previous version we introduced the ability to parse specific errors (more complex ones) but Slack can still send us a
string
.string
is now the fallback type.Other
Also added a ./examples/README.md explaining the patterns that should be used.
Full Changelog: slack-go/slack@v0.17.2...v0.17.3
v0.17.2
Compare Source
Features added
Timezone
parameter for the slackTimePickerBlockElement
by @jamesjarvis in https://github.com/slack-go/slack/pull/1448 and https://github.com/slack-go/slack/pull/1449ImageBlockElement
by @superturkey650 in https://github.com/slack-go/slack/pull/1444/migration.exchange
to the library by @nlopes in https://github.com/slack-go/slack/pull/1453/apps.connections.open
handler to slacktest by @prologic in https://github.com/slack-go/slack/pull/1447New Contributors
Full Changelog: slack-go/slack@v0.17.1...v0.17.2
v0.17.1
Compare Source
This has the potential to be a breaking change if and only if you have been building
SlackResponse
by hand, which you shouldn't 😬. If you are, my apologies for adding this in a minor version, I thought the likelihood of this to be very very low. See https://github.com/slack-go/slack/pull/1443 for more details.Features added
channel_unshared
event by @nlopes in https://github.com/slack-go/slack/pull/1437This adds the missing optional dependency for Blocks to the upload file method, allowing users to use rich blocks and buttons during the file upload process.
Detailed list of all of the changes
New Contributors
Full Changelog: slack-go/slack@v0.17.0...v0.17.1
v0.17.0
Compare Source
MAJOR BREAKING CHANGES
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
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 usesMessageEvent
.FunctionExecutedEvent
hadInputs
set asmap[string]string
but that didn't allow enough flexibility - that has been changed tomap[string]interface
.emoji
value in plain text blocks to be null by @calebmckay in https://github.com/slack-go/slack/pull/1354The
Emoji
field inTextBlockObject
is now a pointer to ensure we can make a distinction betweennil
andfalse
. Only affects when unmarshalling.Slack has deprecated legacy workflows for a long time, and beginning September 26, 2024, Slack stopped executing workflows containing a "step from app." See more at https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back.
PublishViewContext()
now requires people to pass aPublishViewContextRequest
which became a public type. If you callPublishViewContext()
in your code, please adjust accordingly.AltText
toAltTxt
andSnippetText
toSnippetType
(inGetUploadURLExternalParameters
andUploadFileV2Parameters
) by @nlopes in https://github.com/slack-go/slack/pull/1422AppHomeOpenedEvent
View
is now a pointer by @nlopes in https://github.com/slack-go/slack/pull/1424This provides slightly better ergonomics in the case when there's no view yet.
Features added
MultiSelectBlockElement
by @quantumsheep in https://github.com/slack-go/slack/pull/1373Headers
field to theFile
structure by @rntk in https://github.com/slack-go/slack/pull/1380RichTextValue
(rich_text_value
) toBlockAction
by @borisputerka in https://github.com/slack-go/slack/pull/1385debug
mode by @nlopes in https://github.com/slack-go/slack/pull/1393ForceInviteUsersToConversation
by @nlopes in https://github.com/slack-go/slack/pull/1397Fixes
slacktest
GetSeenOutboundMessages
race condition by @askreet in https://github.com/slack-go/slack/pull/1362mrkdwn
which the Slack API doesn't support by @nlopes in https://github.com/slack-go/slack/pull/1418Count
fields as numbers by @nlopes in https://github.com/slack-go/slack/pull/1417omitempty
by @bassettb in https://github.com/slack-go/slack/pull/1412Detailed list of all of the changes
MultiSelectBlockElement
by @quantumsheep in https://github.com/slack-go/slack/pull/1373emoji
value in plain text blocks to be null by @calebmckay in https://github.com/slack-go/slack/pull/1354ForceInviteUsersToConversation
by @nlopes in https://github.com/slack-go/slack/pull/1397mrkdwn
by @nlopes in https://github.com/slack-go/slack/pull/1418UploadToURL
(fromuploadToURL
) by @nlopes in https://github.com/slack-go/slack/pull/1422New Contributors
Full Changelog: slack-go/slack@v0.16.0...v0.17.0
v0.16.0
Compare Source
👋 Hi folks,
I've tried my best to keep this version to just non-breaking changes but there are a couple of changes that might introduce breaking changes in rare circumstances.
If you're upgrading, please pay special attention to:
If you were using only what we provide in the library, this is a non-breaking change, but if not, it may be considered a breaking change.
Next release will likely bring a few required breaking changes (hard deprecations for example).
Thank you to everyone that contributed to this release 🥳
What's Changed
skin_tone
for rich text emoji element by @calebmckay in https://github.com/slack-go/slack/pull/1341New Contributors
Full Changelog: slack-go/slack@v0.15.0...v0.16.0
v0.15.0
Compare Source
What's Changed
v0.15.0 is now available. It does contain minor breaking changes to two Block Kit elements along with a lot of new functionality.
Breaking Changes
Block Kit - Rich Text Section Date Element
If you are using the
RichTextSectionDateElement
block kit element, there is a new fieldFormat
which is now required. It previously did not exist, but was marked as required in the Block Kit Documentation. Similarly, the functionNewRichTextSectionDateElement
function signature has been updated to require the new parameter. While this may not have previously worked, the non-backwards compatible signature change prompts it to be identified as breaking change.Block Kit - Rich Text input Block Element
If you are using the
RichTextInputBlockElement
block kit element, theInitialValue
field type has been changed fromstring
to*RichTextBlock
to provide a more strongly typed experience. If you were previously passing a pre-formatted JSON object you will need to update your input to use theRichTextBlock
struct instead.Enhancements
calls.*
apis andType: call
in blockkit by @winston-stripe in https://github.com/slack-go/slack/pull/1190Bug Fixes
format
field to rich text date blocks by @luke-josh in https://github.com/slack-go/slack/pull/1317Chores
New Contributors
Full Changelog: slack-go/slack@v0.14.0...v0.15.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.