Skip to content

Releases: soxtoby/SlackNet

v0.7.10

25 Oct 02:09

Choose a tag to compare

  • Added support for PlainTextInputs dispatching actions when someone interacts with them.
  • Added TimePicker block element (note: still a beta feature at time of writing).

Thanks to @fstojanac for his help with this release 🙇‍♂️

v0.7.9

02 Sep 23:11

Choose a tag to compare

  • Fixed SlackBot fetching conversations other than public channels.

Thank you to @Silvenga for this fix 🐱‍🏍

v0.7.8

29 Aug 22:57

Choose a tag to compare

  • Fixed infinite loop when fetching conversations in SlackBot.
  • Added ApiAppId to SlashCommand.

v0.7.7

13 Aug 00:44

Choose a tag to compare

  • Fixing InvalidOperationException caused by re-using request when rate limits hit.

v0.7.6

01 Aug 01:21

Choose a tag to compare

  • Adding Header block type.
  • Requests will automatically retry after a delay when rate limits are hit and Slack responds with a 429 HTTP response.

Thanks to @fstojanac for his help with this release 🥳

v0.7.5

18 Jul 01:02

Choose a tag to compare

  • Added endpoint configuration method for disabling validation for event URL verification requests.

Thanks again to @fstojanac for this release.

v0.7.4

16 Jul 00:53
5724362

Choose a tag to compare

  • Fixed a thread-safety issue in SlackTypeConverter that could cause deserialization to fail.

Thanks to @fstojanac for finding and fixing this 🐛🔨

v0.7.3

12 Jul 02:17

Choose a tag to compare

  • SlackBot uses conversations API internally, as channels/groups/mpim/im APIs have been deprecated by Slack.
  • Added conversation equivalents of channels/groups/mpim/im methods to SlackBot.
  • Default methods' parameters are now optional.
  • Added new Mark method to ConversationsApi.
  • Added cursor-based paging to FilesApi.Info, ReactionsApi.List, and StarsApi.List.

Potentially-Breaking Changes

  • Hub-based methods, properties, and types have been marked as Obsolete. Conversations have the same properties as Channels and Ims, so migrating should be straightforward. The main difference is that rather than having different APIs and methods for channels/groups etc., everything is just a "conversation". If you need to differentiate between the different types of conversations, use the IsChannel, IsGroup etc. properties.
    • SlackBot uses the same API & cache for Conversations, Channels, and Ims, and ConversationIdentifiers are interchangeable with HubIdentifiers, so migrating piecemeal should work OK.
  • The cursor parameter added to FilesApi.Info, ReactionsApi.List, and StarsApi.List was added before the CancellationToken, so on the off chance you were using every single parameter, you'll need to specify the parameter name for the CancellationToken.

v0.7.2

15 Jun 07:02

Choose a tag to compare

  • Exceptions thrown by handlers bubble up properly.
  • Responder task correctly completed at end of request.

v0.7.1

23 May 01:24

Choose a tag to compare

  • User and IsUserDeleted added to Conversation.
  • TeamId added to User.
  • Title, RealNameNormalized, DisplayName, Team, and ImageOriginal added to UserProfile.
  • UserProfile.AlwaysActive is now nullable.
  • SelectedDate properties on DatePickerAction and DatePickerValue are now nullable.
  • DateTime properties like DatePicker.InitialDate are properly serialized in the yyyy-MM-dd format that Slack expects.
  • SlackUrlBuilder correctly serializes enumerables of enum values, such as the IEnumerable<ConversationType> parameters in IConversationsApi.

Thank you to @fstojanac and @ivpusic for their help with this release ✨