Skip to content

Releases: soxtoby/SlackNet

v0.3.1

26 Aug 11:56

Choose a tag to compare

Fixing deserialization of UserProfiles where the user has modified their profile, but hasn't filled in any custom fields.

v0.3.0

24 Jun 12:23

Choose a tag to compare

  • Full support for message blocks.
  • SlackNet.AspNetCore allows registering handlers for block actions and providing options to external_select block elements.
  • Added some registration method overloads to SlackNet.AspNetCore to allow more flexibility.
  • Fixed DateTime properties, which were always null.
  • RegisterDialogSubmissionHandler correctly registers the handler without requiring an extra manual registration.

Breaking Changes

  • Attachment.Ts is now nullable to allow sending attachments with blocks.
  • IMessageActionHandler.Handle no longer returns a MessageActionResponse, which didn't work anyway. MessageActionResponse has been removed.
  • InteractionRequest.CallbackId property pushed down to old sub-types, since the new BlockActionRequest doesn't have it.
  • DialogElement.Type is now a string, to allow extension if necessary. The DialogElementType enum has been removed.

v0.2.0

26 May 09:36

Choose a tag to compare

  • Updated existing APIs.
  • Added support for message actions.
  • Added support for handling dialog cancellation.
  • Added methods to SlackRtmClient to subscribe to and query for user presence events.
  • Fixed a bunch of deserialization failures caused by missing getters (thanks to @eFloh for picking this up).
  • Fixed typing of ConversationsApi.Open.
  • SlackBot correctly sets Hub on incoming IMs.

Breaking Changes:

  • ConversationsApi.Open takes in a channelId or userIds, and only returns a channel ID.
  • ConversationsApi.Open no longer takes in returnIm. Use ConversationsApi.OpenAndReturnInfo instead.
  • Removed UsersApi.List's presence parameter, as it is no longer supported.
  • Removed UsersApi.SetActive method, as it is no longer supported.
  • Most file events now only contain a file ID instead of a whole file, since that's what Slack sends.
  • FileShare messages contain a Files list instead of a single File.
  • Removed FileCommentsApi's Add and Edit methods, as they are no longer supported.
  • IDialogSubmissionHandler must now implement HandleCancel. Just return Task.CompletedTask if you don't care about cancelled dialogs.
  • DndApi.TeamInfo's userIds parameter is now required.
  • With the addition of MessageAction support, there are a few "Action"-related renames:
    • Renamed ISlackActions to ISlackInteractiveMessages.
    • Renamed IActionHandler to IInteractiveMessageHandler.
    • Renamed SlackServiceConfiguration.RegisterActionHandler to RegisterInteractiveMessageHandler.

v0.1.10

02 Jan 06:14

Choose a tag to compare

  • Added AspNetCore project with endpoints for events and interactive messages
  • Added Conversations API
  • Added Dialog API
  • Added some other missing API methods
  • Fixed a bunch of issues caused by typos

v0.1.9

25 Dec 02:50

Choose a tag to compare

  • RTM client has better reconnection logic and doesn't drop events after an error
  • Updated dependencies - no longer prerelease!