Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 1.85 KB

CHANGELOG.md

File metadata and controls

43 lines (37 loc) · 1.85 KB

Changelog

[2.0.0-beta] - 08-03-2019

Fixed

  • Getting NextPage on ItemsResult more than once

Changed

  • Major Breaking Change: Shifted from Static classes to Dependency Injection
    • New extension to easily add WxTeamsSharp dependencies to default Microsoft.Extensions.DependencyInjection ServiceCollection DI Container
    • Client, API, and Serializer are added via Interfaces for Mocking / Testing etc
  • Updated TeamsClient to use IHttpClientFactory because things

Misc

  • Added WxTeamsConsoleBot with DI example
  • Updated WxTeamsWebhookReceiver example for DI
  • Documentation has been updated to reflect changes

[1.1.0] - 08-03-2019

Fixed

  • Added Disabled status to WebhookStatus.

Changed

  • New methods to create webhooks directly from a Room object
    • Room.AddMessageCreatedWebhookAsync()
    • Room.AddMessageDeletedWebhookAsync()
    • Room.AddUserAddedWebhookAsync()
    • Room.AddUserRemovedWebhookAsync()
  • New overloads added for Room.AddUserAsync() and .RemoveUserAsync() to take an IPerson object as a parameter
  • New WebhookData class for us in a webhook receiving api
  • New Example project to showcase WebhookData and receiving webhook callbacks
  • Added a method to Message class (not IMessage) to allow easy retreival of full message since the webhook callback will not include the text for security reasons
    • Message.GetFullMessageAsync()
  • Room, Membership, and Message classes are now public for use with WebhookData
  • Breaking Change: The "Async" keyword was added to the end of People methods in the WxTeamsApi
    • GetUsersByEmailAsync
    • GetUsersByDisplayNameAsync
    • GetUsersByIdListAsync
    • GetUsersByOrgIdAsync

Misc

  • Documentation has been updated to reflect changes