Skip to content

Releases: microsoft/Agents-for-net

1.2.41 Nuget release

19 Aug 16:52
Compare
Choose a tag to compare

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

v1.1.151 Nuget release

16 Jul 15:56
Compare
Choose a tag to compare

Significant Improvements / Bug fixes

  • Fixed several bugs around managing user token expiration for user authorization tokens to reduce the frequency of communication with Entra ID
  • Fixed issues relating to some Teams Auth Centric SSO behaviors that would cause the system fail to acquire an auth token for a user that the user should have otherwise been able to acquire.
  • Fixed several behavior issues with Agent SDK Host operating as a Skill, and in Agent to Agent Mode for Copilot Studio, specifically dealing with the behavior of the system when operating in Expect Replies mode.
  • Improved handling of InvokeReplies and hardened the behavior with relation to teams.
    Teams client ported from Teams AI lib v1.
  • Added Net Standard 2.0 target for Non-Hosting libraries to support internal and external partner system dependencies on Agent SDK modules.
  • Added support for Pre-Route user authorization handlers, this will allow a developer to request that 1 or more user authorization tokens be available to the turn operation at execution time.
  • Added support for Workload Identity
  • Microsoft Teams added Microsoft.Agents.Extensions.Teams.AI lib porting over Teams AI v1 and part of v2 AI lib support.
  • Microsoft Teams improved teams operations support in Microsoft.Agents.Extensions.Teams to include additional features for

Dependency Updates:

  • Updated several package versions in Directory.Packages.props, including Microsoft.SemanticKernel packages, System.Runtime.Caching, and Microsoft.Bcl.AsyncInterfaces. Added new dependencies such as PolySharp and JsonSchema.Net. [1] [2] [3] [4]

Workflow Adjustments:

  • Added a new Linux-specific CI workflow (ci-linux.yml) for local build and test.
  • Modified the existing CI workflow (ci.yml) to target Windows instead of Linux.

Detailed What's Changed:

Read more

Nuget Release version 1.0.1

14 Jul 03:24
Compare
Choose a tag to compare