Skip to content

1.2.41 Nuget release

Choose a tag to compare

@MattB-msft MattB-msft released this 19 Aug 16:52
· 1 commit to rel/v1.2 since this release

POSSIBLE BREAKING CHANGE FOR SOME DEVELOPERS:

Update ChannelID to support the fully qualified channel when working with Channels that include subChannels.

  • This update converts ChanneID to a class that contains the primary channel id and the subchannel id when sent.
    • The updated channel id will be formatted as : <channelid>:<subschannelid> see spec change request: microsoft/Agents#77
    • An example of this is M365 Copilot. Which will appear as msteams:copilot
  • Existing code using string compare will continue to function, however the comparisons will need to be updated if you want to apply the same or differing treatment to the subchannel
    • If your are using code such as this:
if (turnContext.Activity.ChannelId.Equals(Channels.Msteams))
{
  /// do work for teams 
}

you will need to update it as such:

if (turnContext.Activity.ChannelId.Equals(Channels.Msteams))
{
    // do stuff only for Teams channel
}

if (turnContext.Activity.ChannelId.IsParentChannel(Channels.Msteams))
{
    // do stuff for Teams channel and all sub-channels of teams
}

if (turnContext.Activity.ChannelId.Equals(Channels.M365Copilot))
{
    // do stuff for M365 Copilot channel which will appear as "msteams:copilot"
}

Changes Summary:

Added: Support for generating an Azure.Core TokenCredential for ICredential Provider based authentication modules.
Added: Support for hosting multiple distinct agent endpoint in a single hosting process.
Added: Initial support for Copilot Studio Agent-to-Agent Connector authentication support.
Updated: Blob Storage provider to provide additional BlobContainerClient features.
Reorganized and optimized code around how we handle deliveryMode ExpectReplies.
Teams Extension: Added Support for Teams Shared Channels.

What's Changed

Full Changelog: v1.1.0...v1.2.0