Skip to content

Releases: slack-go/slack

v0.15.0

14 Oct 17:37
203cdb2
Compare
Choose a tag to compare

Warning

This release includes a breaking change since the last release.

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 field Format which is now required. It previously did not exist, but was marked as required in the Block Kit Documentation. Similarly, the function NewRichTextSectionDateElement 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, the InitialValue field type has been changed from string 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 the RichTextBlock struct instead.

Enhancements

  • Added support for publishing a message to a specific thread by @Nikolo in #1309
  • Added support for unicode parameter in emoji type of rich text blocks by @YutoKashiwagi in #1319
  • Added endpoints for calls.* apis and Type: call in blockkit by @winston-stripe in #1190
  • Added Convenience Methods to Block Elements by @obed-sj in #1279
  • Added functions.completeError and functions.completeSuccess by @gideonw in #1328
  • Added support for external_limited option of inviteShared by @bamo in #1330
  • Added support for Canvas API methods by @jarospisak-unity in #1334

Bug Fixes

  • Added required format field to rich text date blocks by @luke-josh in #1317
  • Updated RichTextInputBlockElement InitialValue data type by @Manjish in #1320

Chores

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.14.0

15 Aug 17:22
242df46
Compare
Choose a tag to compare

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 in #1307
  • Added a new field to expose file data when receiving a File event from a Slack Connect Channel by @zFlabmonsta in #1312
  • Added support for the slack_file in the image block by @rhysm in #1311
  • Added 35 missing Websocket event types by @Aryakoste in #1306
  • Added support for parsing AppRateLimited events in the ParseEvent function by @nemuvski in #1308
  • Added newly documented Channel Canvas properties to the conversations.info Web API method by @ku in #1228

Bug Fixes

  • Fixed an edge case when using UpdateRemoteFileContext and UpdateRemoteFile and Image Previews would return an invalid_auth error by @EkeMinusYou in #1117

Chores / Code Cleanup

New Contributors

Full Changelog: v0.13.1...v0.14.0

v0.13.1

16 Jul 15:14
1dfd1df
Compare
Choose a tag to compare

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 in #1208
  • Added isReadOnly property to Conversation struct by @GGonryun in #1232

Bug Fixes

Chores / Code Cleanup

Documentation Updates

New Contributors

Full Changelog: v0.13.0...v0.13.1

v0.13.0

16 May 04:57
41fa1e5
Compare
Choose a tag to compare

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 in #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

Enhancements

New Contributors

Full Changelog: v0.12.5...v0.13.0

v0.12.5

26 Feb 12:36
af783b3
Compare
Choose a tag to compare

What's Changed

BUGFIX - deal with "true", true, "false", false.

  • Parse string or boolean for SlashCommand.IsEnterpriseInstall by @kpaulisse in #1266

Full Changelog: v0.12.4...v0.12.5

Non-breaking updates roll-up

16 Feb 11:50
2a9c35c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.3...v0.12.4

v0.12.3

24 Aug 15:24
65cefed
Compare
Choose a tag to compare

What's Changed

Bug fixes

Security

  • Redact tokens in SendMessage debug log by @daabr in #1215

Enhancements / Improvements

  • socketmode example: use embedded api client in socketmode client by @kittydoor in #1164
  • Sends an invitation to a Slack Connect channel by @nopcoder in #1216
  • Add support for manifests and config tokens by @stijndcl in #1220

New Contributors

Full Changelog: v0.12.2...v0.12.3

v0.12.2

13 Apr 23:57
646e50d
Compare
Choose a tag to compare

What's Changed

Bug fixes

Enhancements / Improvements

Misc

New Contributors

Full Changelog: v0.12.1...v0.12.2

v0.12.1

20 Dec 15:15
beca00a
Compare
Choose a tag to compare

What's Changed

Enhancements

  • Add FileUploadV2 function to avoid server side file timeouts by @kanata2 in #1148

New Contributors

Full Changelog: v0.12.0...v0.12.1

v0.12.0

16 Dec 12:51
c0676fc
Compare
Choose a tag to compare

Thank you for all the contributions!

What's Changed

This release contains several backward incompatible changes.

Fixes

Enhancements

New Contributors

Full Changelog: v0.11.4...v0.12.0