1.2.41 Nuget 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
- The updated channel id will be formatted as :
- 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
- Users/mbarbour/setup11 release by @MattB-msft in #368
- Agents SDK API reference documentation by @phecke in #302
- Provided AspNetExtensions code config option by @tracyboehrer in #371
- DictionaryOfObjectConverter was not handling start/end object for empty dictionaries by @tracyboehrer in #366
- StreamingResponse improvements by @tracyboehrer in #360
- Update README.md by @sarahcritchley in #376
- Sample updates by @tracyboehrer in #374
- ExpectReplies during OAuth not handled correctly by @tracyboehrer in #347
- Added support for multi agent by @tracyboehrer in #362
- Teams Shared Channel changes by @goldenwitch in #387
- Connector Conversations.SendToConversation not handling empty responese from Teams by @tracyboehrer in #382
- Missing graph info would cause exception in AutoSignIn by @tracyboehrer in #373
- Sync samples from umbrella by @tracyboehrer in #383
- Exposed BlobsStorage constructor that accepts BlobContainerClient by @tracyboehrer in #394
- Activity.ChannelId supports subchannels. by @tracyboehrer in #232
- Update MembershipSource.cs by @goldenwitch in #407
- Added Channels.Supports* for AP Cards by @tracyboehrer in #403
- Streaming Response was not activating for subchannels, modified stre… by @MattB-msft in #409
- Fix to allow using a Dialog conditionally in AgentApplication by @tracyboehrer in #406
- StreamingResponse: Handling nulls in ErrorResponseException by @tracyboehrer in #412
Full Changelog: v1.1.0...v1.2.0