Releases: soxtoby/SlackNet
Releases · soxtoby/SlackNet
v0.3.1
v0.3.0
- Full support for message blocks.
SlackNet.AspNetCoreallows registering handlers for block actions and providing options toexternal_selectblock elements.- Added some registration method overloads to
SlackNet.AspNetCoreto allow more flexibility. - Fixed
DateTimeproperties, which were alwaysnull. RegisterDialogSubmissionHandlercorrectly registers the handler without requiring an extra manual registration.
Breaking Changes
Attachment.Tsis now nullable to allow sending attachments with blocks.IMessageActionHandler.Handleno longer returns aMessageActionResponse, which didn't work anyway.MessageActionResponsehas been removed.InteractionRequest.CallbackIdproperty pushed down to old sub-types, since the newBlockActionRequestdoesn't have it.DialogElement.Typeis now astring, to allow extension if necessary. TheDialogElementTypeenum has been removed.
v0.2.0
- Updated existing APIs.
- Added support for message actions.
- Added support for handling dialog cancellation.
- Added methods to
SlackRtmClientto 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. SlackBotcorrectly setsHubon incoming IMs.
Breaking Changes:
ConversationsApi.Opentakes in achannelIdoruserIds, and only returns a channel ID.ConversationsApi.Openno longer takes inreturnIm. UseConversationsApi.OpenAndReturnInfoinstead.- Removed
UsersApi.List'spresenceparameter, as it is no longer supported. - Removed
UsersApi.SetActivemethod, 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.
FileSharemessages contain aFileslist instead of a singleFile.- Removed
FileCommentsApi'sAddandEditmethods, as they are no longer supported. IDialogSubmissionHandlermust now implementHandleCancel. Just returnTask.CompletedTaskif you don't care about cancelled dialogs.DndApi.TeamInfo'suserIdsparameter is now required.- With the addition of
MessageActionsupport, there are a few "Action"-related renames:- Renamed
ISlackActionstoISlackInteractiveMessages. - Renamed
IActionHandlertoIInteractiveMessageHandler. - Renamed
SlackServiceConfiguration.RegisterActionHandlertoRegisterInteractiveMessageHandler.
- Renamed