Skip to content

Releases: soxtoby/SlackNet

v0.10.4

31 Jan 07:08
Compare
Choose a tag to compare
  • Added missing properties to OauthV2AccessResponse.
  • OAuthV2Api.Access doesn't include authorization header in request.

v0.10.3

30 Jan 02:42
Compare
Choose a tag to compare
  • Fixed content type of OAuthV2Api.Access.
  • Fixed endpoint for AppsEventsAuthorizationsApi.List and renamed API to AppsEventAuthorizations to match endpoint.
  • Added Slack documentation links to all API methds.

v0.10.2

02 Jan 23:14
4d05d7c
Compare
Choose a tag to compare
  • Added AppUninstalled event content

Thankyou to @Kalissaac for this release πŸ‘

v0.10.1

05 Nov 23:03
Compare
Choose a tag to compare
  • Fixing null ref in Http when making GET requests

v0.10.0

24 Oct 03:35
Compare
Choose a tag to compare
  • Added logging.
  • Added SlackRequestContext.Current to provide static access to the current request context. Current throws if not in a request context, so depending on where you use it, you'll want to check IsAvailable first.
  • Added RequestId to SlackRequestContext, which provides a unique ID for the current request.
  • Added RequestId to RawSocketMessage and SocketMessage.
  • Fixes and extra properties for the OpenIdApi.Token API.

Logging

The default logger doesn't do anything, so if you want logging, you'll need to implement the ILogger interface and provide it with one of the UseLogger configuration methods. If you're using SlackNet.AspNetCore, the default logger is overridden with an adaptor for the Microsoft.Extensions.Logging logger, which itself can be overridden as necessary.

Implementing ILogger should be fairly straightforward - see the MicrosoftLoggerAdaptor for an example. I've provided a range of ILogEvent extension methods to adapt log events to a variety of formats. All log events have a Category property, and should have a "Source" message property, which can be used for filtering and determining the appropriate verbosity.

Breaking Changes

  • SlackNet.AspNetCore now depends on the Microsoft.Extensions.Logging.Abstractions package.
  • SlackRtmClient requires an ILogger when constructed with specific services.
  • CoreSocketModeClient requires an ILogger when constructed with specific services.
  • SlackSocketModeClient requires an ILogger when constructed.

Thankyou to @objmj-itminds for the Open ID improvements ✨

v0.9.5

23 Sep 08:24
ce9024f
Compare
Choose a tag to compare
  • Sign-in with slack support via Open ID api methods

Thankyou to @objmj-itminds for this release 🎁

v0.9.4

18 Aug 02:44
Compare
Choose a tag to compare
  • Implementation of oauth.v2.access method and required response types
  • Adding Team property to MessageEvent

Thanks to @objmj-itminds for the OAuth API work πŸ”’

v0.9.3

31 Jul 01:10
Compare
Choose a tag to compare
  • Added ChannelId and UserId properties to the FileShared event.

Thank you to @objmj-itminds for the addition πŸ› 

v0.9.2

27 Jun 04:15
Compare
Choose a tag to compare
  • Added optional includeLocale parameter to Info and List in UsersApi, and to Start in RtmApi.
  • SlashCommandResponses returned by ISlashCommandHandlers are properly passed on to Slack.

Potentially breaking changes

While the includeLocale parameters are optional, they haven't been added as the last parameter, so on the off chance you were using all of the optional parameters in one of the modified methods, without specifying parameter names, then you'll need to add some parameter names.

Thankyou to @Selm for helping with this release πŸ‘

v0.9.1

01 May 00:50
Compare
Choose a tag to compare
  • Fixed null-ref when using socket mode with ASP.NET integration