github microsoft/botbuilder-dotnet 4.15.0
Bot Framework DotNet SDK 4.15.0

latest releases: 4.22.9, 4.22.8, 4.22.7...
2 years ago

Welcome to the November 2021 release of the Bot Framework SDK. This release has been focused on bug fixes and general improvements.

SDK [release notes]

December 2021 (version 4.15.1)

  • Improvements to the Language Understanding library's loading and performance.
  • Adaptive ForEach Action has been refactored to ForEachElement with improved stack processing and performance.

User-Assigned Managed Identity

Azure Bot's identity management has been updated to include support for 1) User-Assigned Managed Identity, and 2) Azure AD Single Tenant app. This is in addition to the currently supported Azure AD Multi-Tenant app identity. For more details on how to create and deploy an Azure Bot using these new identity mechanisms, please refer to the following docs:
Create an Azure Bot resource
Deploy your bot to Azure

Improved Streaming Library

A new streaming library Microsoft.Bot.Connector.Streaming has been released which greatly improves performance of bots using web sockets. This library will exist side-by-side with the legacy streaming library Microsoft.Bot.Streaming. CloudAdapter uses the new streaming library by default, and BotFrameworkHttpAdapter uses the legacy streaming library by default. Both these defaults can be overridden by the bot's adapter by overriding a virtual method.

Code to override CloudAdapter to use legacy streaming library:

protected override StreamingConnection CreateWebSocketConnection(WebSocket socket, ILogger logger)
{
    return new LegacyStreamingConnection(socket, logger);
}

Code to override BotFrameworkHttpAdapter to use new streaming library:

public override StreamingRequestHandler CreateStreamingRequestHandler(IBot bot, WebSocket socket, string audience)
{
    var connection = new WebSocketStreamingConnection(socket, Logger);
    return new StreamingRequestHandler(bot, this, connection, audience);
}

Changes to LanguageGeneration.Templates class

This release introduces a global flag called "Templates.EnableFromFile" that indicates whether the Adaptive Expression fromFile function is allowed in LG templates. If an application had previously made use of this function, it is now required to add the line "Templates.EnableFromFile = true;" to the Startup.cs code.

4.15.0 SDK Change Logs

Full Changelog: 4.14.0...4.15.0

Don't miss a new botbuilder-dotnet release

NewReleases is sending notifications on new releases.