lyft / clutch

Extensible platform for infrastructure management
https://clutch.sh
Apache License 2.0
1.67k stars 116 forks source link

housekeeping: Update module github.com/slack-go/slack to v0.14.0 #3090

Closed renovate[bot] closed 3 weeks ago

renovate[bot] commented 4 weeks ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/slack-go/slack v0.12.2 -> v0.14.0 age adoption passing confidence

Release Notes

slack-go/slack (github.com/slack-go/slack) ### [`v0.14.0`](https://togithub.com/slack-go/slack/releases/tag/v0.14.0) [Compare Source](https://togithub.com/slack-go/slack/compare/v0.13.1...v0.14.0) #### What's Changed v0.14.0 is now available. It contains **no breaking changes** but does include several pieces of new functionality and long-standing bug fixes. ##### Enhancements - Added Support for receiving `metadata` when receiving a `MessageEvent` over WebSocket by [@​rfratto](https://togithub.com/rfratto) in [https://github.com/slack-go/slack/pull/1307](https://togithub.com/slack-go/slack/pull/1307) - Added a new field to expose file data when receiving a `File` event from a Slack Connect Channel by [@​zFlabmonsta](https://togithub.com/zFlabmonsta) in [https://github.com/slack-go/slack/pull/1312](https://togithub.com/slack-go/slack/pull/1312) - Added support for the `slack_file` in the image block by [@​rhysm](https://togithub.com/rhysm) in [https://github.com/slack-go/slack/pull/1311](https://togithub.com/slack-go/slack/pull/1311) - Added 35 missing Websocket event types by [@​Aryakoste](https://togithub.com/Aryakoste) in [https://github.com/slack-go/slack/pull/1306](https://togithub.com/slack-go/slack/pull/1306) - Added support for parsing `AppRateLimited` events in the `ParseEvent` function by [@​nemuvski](https://togithub.com/nemuvski) in [https://github.com/slack-go/slack/pull/1308](https://togithub.com/slack-go/slack/pull/1308) - Added newly documented Channel Canvas properties to the `conversations.info` Web API method by [@​ku](https://togithub.com/ku) in [https://github.com/slack-go/slack/pull/1228](https://togithub.com/slack-go/slack/pull/1228) ##### Bug Fixes - Fixed an edge case when using `UpdateRemoteFileContext` and `UpdateRemoteFile` and Image Previews would return an `invalid_auth` error by [@​EkeMinusYou](https://togithub.com/EkeMinusYou) in [https://github.com/slack-go/slack/pull/1117](https://togithub.com/slack-go/slack/pull/1117) ##### Chores / Code Cleanup - Replaced deprecated `ioutil` with `io` and `os` packages by [@​nakamasato](https://togithub.com/nakamasato) in [https://github.com/slack-go/slack/pull/1310](https://togithub.com/slack-go/slack/pull/1310) #### New Contributors - [@​rfratto](https://togithub.com/rfratto) made their first contribution in [https://github.com/slack-go/slack/pull/1307](https://togithub.com/slack-go/slack/pull/1307) - [@​nakamasato](https://togithub.com/nakamasato) made their first contribution in [https://github.com/slack-go/slack/pull/1310](https://togithub.com/slack-go/slack/pull/1310) - [@​rhysm](https://togithub.com/rhysm) made their first contribution in [https://github.com/slack-go/slack/pull/1311](https://togithub.com/slack-go/slack/pull/1311) - [@​Aryakoste](https://togithub.com/Aryakoste) made their first contribution in [https://github.com/slack-go/slack/pull/1306](https://togithub.com/slack-go/slack/pull/1306) - [@​nemuvski](https://togithub.com/nemuvski) made their first contribution in [https://github.com/slack-go/slack/pull/1308](https://togithub.com/slack-go/slack/pull/1308) - [@​ku](https://togithub.com/ku) made their first contribution in [https://github.com/slack-go/slack/pull/1228](https://togithub.com/slack-go/slack/pull/1228) - [@​EkeMinusYou](https://togithub.com/EkeMinusYou) made their first contribution in [https://github.com/slack-go/slack/pull/1117](https://togithub.com/slack-go/slack/pull/1117) - [@​jjjjeeffff](https://togithub.com/jjjjeeffff) was instrumental in the successful resolution of [https://github.com/slack-go/slack/pull/1117](https://togithub.com/slack-go/slack/pull/1117) **Full Changelog**: https://github.com/slack-go/slack/compare/v0.13.1...v0.14.0 ### [`v0.13.1`](https://togithub.com/slack-go/slack/releases/tag/v0.13.1) [Compare Source](https://togithub.com/slack-go/slack/compare/v0.13.0...v0.13.1) #### What's Changed v0.13.1 is now available. It contains **no breaking changes** but does expose some new fields previously unavailable. ##### Enhancements - Added `UnfurlLinks` and `UnfurlMedia` to `WebhookMessage` by [@​lheiskan](https://togithub.com/lheiskan) in [https://github.com/slack-go/slack/pull/1208](https://togithub.com/slack-go/slack/pull/1208) - Added `isReadOnly` property to `Conversation` struct by [@​GGonryun](https://togithub.com/GGonryun) in [https://github.com/slack-go/slack/pull/1232](https://togithub.com/slack-go/slack/pull/1232) ##### Bug Fixes - Fixed `UploadFileV2` when using text content by [@​calebmckay](https://togithub.com/calebmckay) in [https://github.com/slack-go/slack/pull/1291](https://togithub.com/slack-go/slack/pull/1291) - Made `Channel` optional on `UploadFileV2` by [@​0xdeafcafe](https://togithub.com/0xdeafcafe) in [https://github.com/slack-go/slack/pull/1293](https://togithub.com/slack-go/slack/pull/1293) ##### Chores / Code Cleanup - Replace a Loop with Slice by [@​testwill](https://togithub.com/testwill) in [https://github.com/slack-go/slack/pull/1211](https://togithub.com/slack-go/slack/pull/1211) - Added Deprecation Notice for `files.upload` by [@​lorenzoaiello](https://togithub.com/lorenzoaiello) in [https://github.com/slack-go/slack/pull/1300](https://togithub.com/slack-go/slack/pull/1300) - Added Go Test Coverage for 1.21 and 1.22 by [@​lorenzoaiello](https://togithub.com/lorenzoaiello) in [https://github.com/slack-go/slack/pull/1298](https://togithub.com/slack-go/slack/pull/1298) ##### Documentation Updates - Updated Inline Docs and API References by [@​lorenzoaiello](https://togithub.com/lorenzoaiello) in [https://github.com/slack-go/slack/pull/1299](https://togithub.com/slack-go/slack/pull/1299) - Added an example for `Pagination` by [@​adamrothman](https://togithub.com/adamrothman) in [https://github.com/slack-go/slack/pull/1201](https://togithub.com/slack-go/slack/pull/1201) - Added an example for `ConversationHistory` by [@​lorenzoaiello](https://togithub.com/lorenzoaiello) in [https://github.com/slack-go/slack/pull/1302](https://togithub.com/slack-go/slack/pull/1302) - Added an example for `AddRemoteFile` and `DeleteFile` by [@​lorenzoaiello](https://togithub.com/lorenzoaiello) in [https://github.com/slack-go/slack/pull/1303](https://togithub.com/slack-go/slack/pull/1303) #### New Contributors - [@​calebmckay](https://togithub.com/calebmckay) made their first contribution in [https://github.com/slack-go/slack/pull/1291](https://togithub.com/slack-go/slack/pull/1291) - [@​lheiskan](https://togithub.com/lheiskan) made their first contribution in [https://github.com/slack-go/slack/pull/1208](https://togithub.com/slack-go/slack/pull/1208) - [@​GGonryun](https://togithub.com/GGonryun) made their first contribution in [https://github.com/slack-go/slack/pull/1232](https://togithub.com/slack-go/slack/pull/1232) - [@​0xdeafcafe](https://togithub.com/0xdeafcafe) made their first contribution in [https://github.com/slack-go/slack/pull/1293](https://togithub.com/slack-go/slack/pull/1293) - [@​lorenzoaiello](https://togithub.com/lorenzoaiello) made their first contribution in [https://github.com/slack-go/slack/pull/1300](https://togithub.com/slack-go/slack/pull/1300) - [@​adamrothman](https://togithub.com/adamrothman) made their first contribution in [https://github.com/slack-go/slack/pull/1201](https://togithub.com/slack-go/slack/pull/1201) **Full Changelog**: https://github.com/slack-go/slack/compare/v0.13.0...v0.13.1 ### [`v0.13.0`](https://togithub.com/slack-go/slack/releases/tag/v0.13.0) [Compare Source](https://togithub.com/slack-go/slack/compare/v0.12.5...v0.13.0) > \[!WARNING]\ > This release includes a breaking change since the last release #### What's Changed ##### Breaking changes - Expose `team_id` parameter for use with org-wide app by [@​candiduslynx](https://togithub.com/candiduslynx) in [https://github.com/slack-go/slack/pull/1283](https://togithub.com/slack-go/slack/pull/1283): Changed interface: | Old | New | | --- | --- | | `Client.GetBotInfo(bot string) (*Bot, error)` | `Client.GetBotInfo(parameters GetBotInfoParameters) (*Bot, error)` | | `Client.GetBotInfoContext(ctx context.Context, bot string)` | `Client.GetBotInfoContext(ctx context.Context, parameters GetBotInfoParameters)` | | `Client.GetTeamProfile() (*TeamProfile, error)` | `GetTeamProfile(teamID ...string) (*TeamProfile, error)` | | `GetTeamProfileContext(ctx context.Context) (*TeamProfile, error)` | `GetTeamProfileContext(ctx context.Context, teamID ...string) (*TeamProfile, error)` | | `Client.GetBillableInfo(user string) (map[string]BillingActive, error)` | `Client.GetBillableInfo(params GetBillableInfoParams) (map[string]BillingActive, error)` | | `Client.GetBillableInfoContext(ctx context.Context, user string) (map[string]BillingActive, error)` | `Client.GetBillableInfoContext(ctx context.Context, params GetBillableInfoParams) (map[string]BillingActive, error)` | | `Client.GetBillableInfoForTeam() (map[string]BillingActive, error)` | dropped, use `Client.GetBillableInfo` with empty params | | `Client.GetBillableInfoForTeamContext(ctx context.Context) (map[string]BillingActive, error)` | dropped, use `Client.GetBillableInfoContext` with empty params | ##### Bug fixes - Block Object: Validate text min and max length by [@​Chagui-](https://togithub.com/Chagui-) in [https://github.com/slack-go/slack/pull/1273](https://togithub.com/slack-go/slack/pull/1273) - fix some typos by [@​yutasb](https://togithub.com/yutasb) in [https://github.com/slack-go/slack/pull/1281](https://togithub.com/slack-go/slack/pull/1281) ##### Enhancements - Add missing message option for link_names by [@​robbydyer](https://togithub.com/robbydyer) in [https://github.com/slack-go/slack/pull/1278](https://togithub.com/slack-go/slack/pull/1278) - Expose `team_id` parameter for use with org-wide app by [@​candiduslynx](https://togithub.com/candiduslynx) in [https://github.com/slack-go/slack/pull/1283](https://togithub.com/slack-go/slack/pull/1283) #### New Contributors - [@​Chagui-](https://togithub.com/Chagui-) made their first contribution in [https://github.com/slack-go/slack/pull/1273](https://togithub.com/slack-go/slack/pull/1273) - [@​robbydyer](https://togithub.com/robbydyer) made their first contribution in [https://github.com/slack-go/slack/pull/1278](https://togithub.com/slack-go/slack/pull/1278) - [@​yutasb](https://togithub.com/yutasb) made their first contribution in [https://github.com/slack-go/slack/pull/1281](https://togithub.com/slack-go/slack/pull/1281) - [@​candiduslynx](https://togithub.com/candiduslynx) made their first contribution in [https://github.com/slack-go/slack/pull/1283](https://togithub.com/slack-go/slack/pull/1283) **Full Changelog**: https://github.com/slack-go/slack/compare/v0.12.5...v0.13.0 ### [`v0.12.5`](https://togithub.com/slack-go/slack/releases/tag/v0.12.5) [Compare Source](https://togithub.com/slack-go/slack/compare/v0.12.4...v0.12.5) #### What's Changed BUGFIX - deal with "true", true, "false", false. - Parse string or boolean for SlashCommand.IsEnterpriseInstall by [@​kpaulisse](https://togithub.com/kpaulisse) in [https://github.com/slack-go/slack/pull/1266](https://togithub.com/slack-go/slack/pull/1266) **Full Changelog**: https://github.com/slack-go/slack/compare/v0.12.4...v0.12.5 ### [`v0.12.4`](https://togithub.com/slack-go/slack/releases/tag/v0.12.4): Non-breaking updates roll-up [Compare Source](https://togithub.com/slack-go/slack/compare/v0.12.3...v0.12.4) #### What's Changed - chore: unnecessary use of fmt.Sprintf by [@​testwill](https://togithub.com/testwill) in [https://github.com/slack-go/slack/pull/1212](https://togithub.com/slack-go/slack/pull/1212) - Add Video Block by [@​walkure](https://togithub.com/walkure) in [https://github.com/slack-go/slack/pull/1210](https://togithub.com/slack-go/slack/pull/1210) - Add connected_team_ids optional field to Conversation by [@​zFlabmonsta](https://togithub.com/zFlabmonsta) in [https://github.com/slack-go/slack/pull/1253](https://togithub.com/slack-go/slack/pull/1253) - Add blocks in slackevents.MessageEvent by [@​invzhi](https://togithub.com/invzhi) in [https://github.com/slack-go/slack/pull/1227](https://togithub.com/slack-go/slack/pull/1227) - Add support for Rich Text Lists by [@​daniel-pieper-personio](https://togithub.com/daniel-pieper-personio) in [https://github.com/slack-go/slack/pull/1155](https://togithub.com/slack-go/slack/pull/1155) - Add support for Rich Text Input by [@​peimanja](https://togithub.com/peimanja) in [https://github.com/slack-go/slack/pull/1240](https://togithub.com/slack-go/slack/pull/1240) - Fix: always add context to errors during block serde by [@​yunginnanet](https://togithub.com/yunginnanet) in [https://github.com/slack-go/slack/pull/1259](https://togithub.com/slack-go/slack/pull/1259) - Edited field in the app mention event by [@​IbirbyZh](https://togithub.com/IbirbyZh) in [https://github.com/slack-go/slack/pull/1256](https://togithub.com/slack-go/slack/pull/1256) - Expose is_enterprise_install field by [@​7ail](https://togithub.com/7ail) in [https://github.com/slack-go/slack/pull/1255](https://togithub.com/slack-go/slack/pull/1255) - feat: Add the ability to set `URL` on `NewButtonBlockElement` via `.WithURL()` by [@​joshbranham](https://togithub.com/joshbranham) in [https://github.com/slack-go/slack/pull/1250](https://togithub.com/slack-go/slack/pull/1250) - Add block element type FileInput by [@​elct9620](https://togithub.com/elct9620) in [https://github.com/slack-go/slack/pull/1249](https://togithub.com/slack-go/slack/pull/1249) - Openid connect by [@​danielmichaels](https://togithub.com/danielmichaels) in [https://github.com/slack-go/slack/pull/1242](https://togithub.com/slack-go/slack/pull/1242) - Add is_enterprise_install flag for org wide installation support by [@​hussachai](https://togithub.com/hussachai) in [https://github.com/slack-go/slack/pull/1225](https://togithub.com/slack-go/slack/pull/1225) - Add an example of updating modal by [@​KouWakai](https://togithub.com/KouWakai) in [https://github.com/slack-go/slack/pull/1142](https://togithub.com/slack-go/slack/pull/1142) - add deleted timestamp for deleted msg events by [@​zFlabmonsta](https://togithub.com/zFlabmonsta) in [https://github.com/slack-go/slack/pull/1261](https://togithub.com/slack-go/slack/pull/1261) - Add slack connect events & tests by [@​Birtato](https://togithub.com/Birtato) in [https://github.com/slack-go/slack/pull/1262](https://togithub.com/slack-go/slack/pull/1262) - Add rich_text_quote and rich_text_preformatted by [@​rusq](https://togithub.com/rusq) in [https://github.com/slack-go/slack/pull/1260](https://togithub.com/slack-go/slack/pull/1260) #### New Contributors - [@​testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/slack-go/slack/pull/1212](https://togithub.com/slack-go/slack/pull/1212) - [@​walkure](https://togithub.com/walkure) made their first contribution in [https://github.com/slack-go/slack/pull/1210](https://togithub.com/slack-go/slack/pull/1210) - [@​zFlabmonsta](https://togithub.com/zFlabmonsta) made their first contribution in [https://github.com/slack-go/slack/pull/1253](https://togithub.com/slack-go/slack/pull/1253) - [@​invzhi](https://togithub.com/invzhi) made their first contribution in [https://github.com/slack-go/slack/pull/1227](https://togithub.com/slack-go/slack/pull/1227) - [@​daniel-pieper-personio](https://togithub.com/daniel-pieper-personio) made their first contribution in [https://github.com/slack-go/slack/pull/1155](https://togithub.com/slack-go/slack/pull/1155) - [@​peimanja](https://togithub.com/peimanja) made their first contribution in [https://github.com/slack-go/slack/pull/1240](https://togithub.com/slack-go/slack/pull/1240) - [@​yunginnanet](https://togithub.com/yunginnanet) made their first contribution in [https://github.com/slack-go/slack/pull/1259](https://togithub.com/slack-go/slack/pull/1259) - [@​IbirbyZh](https://togithub.com/IbirbyZh) made their first contribution in [https://github.com/slack-go/slack/pull/1256](https://togithub.com/slack-go/slack/pull/1256) - [@​joshbranham](https://togithub.com/joshbranham) made their first contribution in [https://github.com/slack-go/slack/pull/1250](https://togithub.com/slack-go/slack/pull/1250) - [@​elct9620](https://togithub.com/elct9620) made their first contribution in [https://github.com/slack-go/slack/pull/1249](https://togithub.com/slack-go/slack/pull/1249) - [@​danielmichaels](https://togithub.com/danielmichaels) made their first contribution in [https://github.com/slack-go/slack/pull/1242](https://togithub.com/slack-go/slack/pull/1242) - [@​KouWakai](https://togithub.com/KouWakai) made their first contribution in [https://github.com/slack-go/slack/pull/1142](https://togithub.com/slack-go/slack/pull/1142) - [@​Birtato](https://togithub.com/Birtato) made their first contribution in [https://github.com/slack-go/slack/pull/1262](https://togithub.com/slack-go/slack/pull/1262) **Full Changelog**: https://github.com/slack-go/slack/compare/v0.12.3...v0.12.4 ### [`v0.12.3`](https://togithub.com/slack-go/slack/releases/tag/v0.12.3) [Compare Source](https://togithub.com/slack-go/slack/compare/v0.12.2...v0.12.3) #### What's Changed ##### Bug fixes - Safer socketmode by [@​iaburton](https://togithub.com/iaburton) in [https://github.com/slack-go/slack/pull/1150](https://togithub.com/slack-go/slack/pull/1150) - add `omitempty` to ConfirmationBlockObject.Deny by [@​kamil-gwozdz](https://togithub.com/kamil-gwozdz) in [https://github.com/slack-go/slack/pull/1224](https://togithub.com/slack-go/slack/pull/1224) ##### Security - Redact tokens in SendMessage debug log by [@​daabr](https://togithub.com/daabr) in [https://github.com/slack-go/slack/pull/1215](https://togithub.com/slack-go/slack/pull/1215) ##### Enhancements / Improvements - socketmode example: use embedded api client in socketmode client by [@​kittydoor](https://togithub.com/kittydoor) in [https://github.com/slack-go/slack/pull/1164](https://togithub.com/slack-go/slack/pull/1164) - Sends an invitation to a Slack Connect channel by [@​nopcoder](https://togithub.com/nopcoder) in [https://github.com/slack-go/slack/pull/1216](https://togithub.com/slack-go/slack/pull/1216) - Add support for manifests and config tokens by [@​stijndcl](https://togithub.com/stijndcl) in [https://github.com/slack-go/slack/pull/1220](https://togithub.com/slack-go/slack/pull/1220) #### New Contributors - [@​daabr](https://togithub.com/daabr) made their first contribution in [https://github.com/slack-go/slack/pull/1215](https://togithub.com/slack-go/slack/pull/1215) - [@​kamil-gwozdz](https://togithub.com/kamil-gwozdz) made their first contribution in [https://github.com/slack-go/slack/pull/1224](https://togithub.com/slack-go/slack/pull/1224) - [@​nopcoder](https://togithub.com/nopcoder) made their first contribution in [https://github.com/slack-go/slack/pull/1216](https://togithub.com/slack-go/slack/pull/1216) - [@​stijndcl](https://togithub.com/stijndcl) made their first contribution in [https://github.com/slack-go/slack/pull/1220](https://togithub.com/slack-go/slack/pull/1220) - [@​iaburton](https://togithub.com/iaburton) made their first contribution in [https://github.com/slack-go/slack/pull/1150](https://togithub.com/slack-go/slack/pull/1150) **Full Changelog**: https://github.com/slack-go/slack/compare/v0.12.2...v0.12.3

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.