Botbuilder Dotnet Versions Save

Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.

v4.5

4 years ago

v4.5.0

Welcome to the 4.5 release of the Bot Framework SDK for .NET!

Today, we are happy to announce the Bot Framework Emulator Channel Testing is generally available. This feature enables developers to debug and test your Bot Framework SDK v4 bots on channels like Microsoft Teams, Slack, Cortana, Facebook Messenger, Skype, etc. As you have the conversation, messages will be mirrored to the Bot Framework Emulator where you can inspect the message data that the bot received. Additionally, a snapshot of the bot state for any given turn between the channel and the bot is rendered as well. You can inspect this data by clicking on the "Bot State" element in the conversation mirror.

We also added capabilities for Unit Testing your bots. The Microsoft.Bot.Builder.Testing package simplifies the process of unit testing dialogs in your bot.

As with any release, we fixed a number of bugs, continue to improve LUIS and QnA integration and further clean our engineering practices. There were additional updates across other areas like Language, Prompts, Dialogs, State and Storage.

Review all changes that went into 4.5 in the detailed Change Log

Authentication and Security

  • Exposed AuthenticationConfiguration in BotFrameworkOptions so Asp.NET/Core integrations allow overriding required endorsements [PR 2141]
  • Updates ADAL, passing custom HttpClients through HttpClientFactory for AcquireToken [PR 2115]
  • Added AttemptCount to Activity and OAuth prompts [PR 2061]
  • Corrected how to pass the cancellation token [PR 2034]
  • Disabled the "Live" token refresh tests [PR 1481]
  • Endoresement validation fixes [PR 2030]
  • Removed code detection from OAuth BeginDialog [PR 1850]
  • Allowed the user to specify a tenant when acquiring a token [PR 1576]
  • Updated OAuthPrompt.cs for singin action [PR 1579]
  • Line channel updates [PR 1547]
  • Added UnauthorizedException handling to http adapter [PR 1541]
  • Dialog.ContinueDialogAsync returns by default cancellation token as a result [PR 1404]

Prompts and Dialogs

  • Set DialogSet TelemetryClient in Dialog.run extension [PR 1900]
  • Updated to know the number of attempts inside a validation [PR 1651]
  • ReplaceDialogAsync to formally end active dialog [PR 1555]
  • Optimized repeated code [PR 1540]
  • Updated accuracy from into to float [PR 1525]
  • Removed code duplication DialogContext.EndDialogAsync [PR 1411]

State and Storage

  • Fixed 'PartitionKey value must be supplied for this operation' error [PR 1537]

Connectors and Adapters

  • Added httpclient argument to http integration adapters [PR 1709]
  • Added UserAgent for BotFrameworkAdapter [PR 1643]
  • Fixed binary compat for QnAMaker [PR 1561]
  • Added timeout options for qna & luis for dotnet [PR 1635]
  • Retained binary compatibility for LUIS recognizer [PR 1527]
  • Gov fix for adapter (#1431) [PR 1435]

Testing and Configuration

  • Updated BotStateTests to fix test that was actually not running [PR 2166]
  • Removed LangVersion from csproj files and added it to DirProps [PR 2158]
  • Provided an extension method to add Telemetry with no Config [PR 2136]
  • Created unit tests for TestBot [PR 2084]
  • Updated project settings so it can generate nuget packages for the Testing library [PR 2078]
  • Added new Testing library to Code Coverage Metrics [PR 2075]
  • Added ChannelId constructor parameter to TestAdapter and DialogTestClient [PR 2066]
  • Refactored TestBot so we can unit test it (Unit tests to be added in another PR) [PR 2052]
  • Updated initial DialogTestClient and related classes and tests [PR 2050]
  • Added columns for bot deployment badges [PR 2049]
  • Updated to deploy to Linux on Azure using Azure Pipelines [PR 1961]
  • Configured an endpoint for each bot in TestBot [PR 1946]
  • Added unit test for inspection middleware [PR 1925]
  • Added Unit Test for "No Answer Found in KB" case [PR 1914]
  • Added QnA Telemetry Support [PR 1430]
  • Added new Telemetry Support for Luis Recognizer [PR 1424]
  • Corrected telemetry for QnA no answer found case [PR 1899]
  • Updatee tests to include LUIS and fix bug that would cause crashes on LUIS changes [PR 1939]
  • Fixed the daily functional tests [PR 2026]
  • Included test for #1859 [PR 1911]
  • Added -serviceName parameter [PR 1888]
  • Dropped unknown entity resolutions and test roles [PR 1844]
  • Fixed issues form testing with Teams [PR 1821]
  • Added test for TestBot in Functional Tests project [PR 1807]
  • Made BotState CRUD operations virtual so they can be mocked for testing. [PR 1764]
  • Enabled Sidecar debugging as a core SDK Feature [PR 1758]
  • Updated Readme to include Functional Tests build badge [PR 1665]
  • Removed references to FuseBox keys from Unit Tests [PR 1663]
  • Commented out failing LUIS test [PR 1662]
  • Creation of Functional Test project [PR 1632]
  • Fixed Cosmos DB tests [PR 1616]
  • Fixed testbot - construct LUIS Recognizer correctly [PR 1559]
  • Used CoreBot as the new TestBot [PR 1523]
  • Application Insights config from appsettings.json [PR 1402]

Parity and Refactoring

  • Updates to comments [PR 2189]
  • Added MessageReaction to ActivityHandler [PR 2185]
  • Updated DialogTestClient constructor and XUnitOutputMiddleware renames [PR 2176]
  • Fixed build warnings from recently accepted QnAMaker changes [PR 2172]
  • Made Stylecop errors as warnings [PR 2171]
  • Removed at mention for INSPECT [PR 2159]
  • Fixed documentation error for the release target. [PR 2153]
  • Updated LUIS Recognizer to support GeographyV2, OrdinalV2 and PersonName from LUIS [PR 2139]
  • Added /// comments to files in the Dialogs.Prompts directory. [PR 2137]
  • Made delegatingturncontext and dialogcontext constructor public [PR 2133]
  • Added the next path separator fix hack for Linux NuGet installs [PR 2108]
  • Fixed typos in Activity.cs documentation comments [PR 2106]
  • Added OnPromptAsync overload with isRetry parameter [PR 2086]
  • Removed Xml doc generation from debug target. [PR 2085]
  • Corrected XML documentation for libraries. [PR 2079]
  • Updated docXML comments in Dialogs.Choices folder [PR 2070]
  • Fixed all the warnings on Bot.Connector.Authentication.Tests [PR 2068]
  • Fixes for minor 4.4 changes into master [PR 2059]
  • Fixed coveralls badge not updating [PR 2040]
  • Update to treat warnings as errors [PR 1512]
  • Fixed all the warnings in the ApplicationInsights.Core.Tests [PR 1511]
  • Fixed all the warnings on Bot.Builder.Tests [PR 1510]
  • Fixed all warnings in Bot.Builder.Transcripts.Tests [PR 1509]
  • Fix warnings in Bot.Connetor.Test project [PR 1508]
  • Fixed all the warnings on ApplicationInsights.Tests [PR 1507]
  • Fixed all warnings in Bot.Schema.Test project [PR 1505]
  • Fixed all the warnings on Bot.Connector [PR 1504]
  • Fixed all warnings in Bot.Schema [PR 1502]
  • Fixed all the warnings on Builder.Azure.Tests [PR 1500]
  • Fixed all the warnings on TemplateManager.Tests [PR 1499]
  • Fixed all the warnings on TemplateManager [PR 1498]
  • Fixed all the warnings on AspNet.WebApi.Tests [PR 1497]
  • Fixed all the warnings on Bot.Builder.Dialogs.Tests [PR 1495]
  • Fixed all the warnings on Integration.ApplicationInsights.Core [PR 1494]
  • Fixed all the warning in Integration.AspNet.Core.Tests [PR 1493]
  • Fixed all warnings in BotBuilder.Configuration.Test [PR 1492]
  • Fixed all the warning in Bot.Builder.Dialogs [PR 1491]
  • Fixed warnings in the AppInsight.WebApi.Tests project [PR 1490]
  • Fixed warnings in ApplicationInsights projects [PR 1489]
  • Fixed all the issues in the AI.QnA.Tests project [PR 1488]
  • Fixed all the warnings in the AI.Luis.Tests project [PR 1487]
  • Fixed all warnings on Bot.Builder [PR 1486]
  • Set single, unified ruleset file for all project in the solution [PR 1473]
  • Updated for parity with JavaScript [PR 1947]
  • Fixed Remaining Stylecop Warnings [PR 1668]
  • Fixed stylecop warnings on Bot.Builder.TestBot.WebApi [PR 1642]
  • Fixed warnings on Bot.Builder.TestBot [PR 1624]
  • Fixed all the warnings on Bot.Builder.Tests [PR 1623]
  • Fix namespace in Microsoft.Bot.Connector.Tests [PR 1621]
  • Fixed all the warnings on Bot.Builder.AI.LUIS.Tests [PR 1620]
  • Removed unnecessary & duplicated references [PR 1619]
  • Fixed all the warnings on several libraries [PR 1618]
  • Updated XML documentation suppress rule [PR 1543]
  • Allowed LUIS endpoint to be null or empty [PR 1626]
  • Latest swagger updates [PR 2027]
  • Update README.md [PR 2022]
  • Added a comment telling folks not to fix the typo due to Back Compat [PR 2021]
  • Updated README.md [PR 2014]
  • Build badge fixed [PR 2013]
  • Updated build pipelines to use VS2019 [PR 2008]
  • Removed old files that are not needed any longer [PR 1908]
  • Fixed ActivityPrompt documentation comments [PR 1909]
  • Fixed inconsistent line endings in Channel.cs [PR 1907]
  • Removed unused template files [PR 1905]
  • Changed build badge to daily from deprecated CI-CD [PR 1901]
  • Fixd warning SA1515: Single-line comment should be preceded by blank line [PR 1879]
  • Removed setting of properties on static httpclient [PR 1858]
  • Applied some small refactoring [PR 1790]
  • Added comment header [PR 1728]
  • Updated exception text [PR 1689]
  • Parameterized coveralls files path [PR 1666]
  • Added build/ExtractCompressNuGet.ps1 [PR 1654]
  • Added back ToChannelFromBotLoginUrl for binary compat [PR 1615]
  • TelemetryLoggerMiddleware [PR 1420]
  • Allowed TelemetryInitializer properties to be overridden by user [PR 1406]

General

  • Fixed publishtocoveralls.ps1 in build [PR 2151]
  • Removed Microsoft.Extensions.* from integration libraries and downgrade in core [PR 2150]
  • Added QnA Maker SDK support for active learning [PR 2124]
  • Reverted "issue 1960 private to public" [PR 2121]
  • Updated scope for DialogContext and DelegatingTurnContext [PR 2117]
  • Removed random from auto assigned IDs [PR 2069]
  • Clarified ref docs around NextAsync. [PR 2037]
  • Fixed null Action.Title check in ChoiceFactory [PR 1503]
  • Fixed typos in comments [PR 1789]
  • Fixed some minor typos [PR 1787]
  • Updated ComponentDialog so it returns DialogTurnStatus.Cancelled when the dialog is cancelled [PR 1993]
  • Added overrides to LuisRecognizer.RecognizeAsync that take luis LuisPredictionOptions [PR 1992]
  • Fixed NullReferenceException when BotBuilderActivity is empty [PR 1987]
  • Corrected teams signin regression [PR 1971]
  • Added null check for content type [PR 1936]
  • Fix for #1934 skype channel not stripping mentions [PR 1935]
  • Added an additional constructor and unit test [PR 1926]
  • Changes for Linux support [PR 1904]
  • Updated master with the powershell hack [PR 1890]
  • Updated HydratedOptions so it now clones QnA options via serialization/deserializations [PR 1880]
  • Minor fixes for 4.4 [PR 1878]
  • Bug fixes for //build [PR 1875]
  • Cherry Pick 97cd740bc8bfdf4dbbf0647e9abf7c3e43fdf730 (cosmos cast issue) [PR 1867]
  • Made OnTurn method on TelemetryLoggerMiddleware virtual [PR 1862]
  • Modifications to number of attempts property behavior [PR 1774]
  • Deleted binaries from build folder [PR 1688]
  • IgnoreAddressing Stylecop warnings in TestBot.WebApi project [PR 1667]
  • Allowed Get OpenID When Hosting an on-premises bot behind a proxy [PR 1625]
  • Added ChoiceStyle propery to PromptOptions so the developer can override [PR 1606]
  • Allowed null Recipient field for CreateTrace and CreateReply [PR 1582]
  • Allowed LuisRecognizer to handle textless messages [PR 1566]
  • Updated webapi to core bot [PR 1533]
  • Added documentation comments to ActivityHandler [PR 1516]
  • Corrected using other serializing formats and converters [PR 1417]

4.4.0

5 years ago

v4.4.0

Welcome to the 4.4 release of the Bot Framework SDK for .NET!

In this release, the team focused on improving and simplifying message and activities handling. The Bot Framework Activity Schema is the underlying schema used to define the interaction model for bots.

As with any release, we fixed a number of bugs, continue to improve LUIS and QnA integration and further clean our engineering practices. There were additional updates across other areas like Language, Prompts, Dialogs, State and Storage.

Review all changes that went into 4.4 in the detailed Change Log

Authentication and Security

  • Use sign-in action when using OAuth within Teams [PR 1579]
  • Allow the user to specify a tenant when acquiring a token to talk to the BF Connectors [PR 1576]
  • Add UnauthorizedException handling to HTTP adapter [PR 1541]

Language (LUIS, Recognizers, QnA)

  • Add timeout options for QnA & LUIS for .NET [PR 1635]
  • Allow LUIS endpoint to be null or empty [PR 1626]
  • Allow LuisRecognizer to handle textless messages [PR 1566]
  • Fix binary compatibility for QnAMaker [PR 1561]
  • Add method for instantiating new waterfalls [PR 1540]
  • Retain binary compatibility for LUIS recognizer [PR 1527]
  • Telelmetry support for QnA Maker [PR 1430]
  • Telelmetry support for Luis Recognizer [PR 1424]
  • Add Middleware component TelemetryLoggerMiddleware for message event logging [PR 1420]

Prompts and Dialogs

  • Expose the number of attempts inside a validation (issue 1257) [PR 1651]
  • Add ChoiceStyle property to PromptOptions, allowing override [PR 1606]
  • Await EndActiveAsync for dialogs [PR 1555]
  • Remove code duplication in DialogContext.EndDialogAsync [PR 1411]
  • Default null return value for Dialog.ContinueDialogAsync [PR 1404]
  • Fix null Action.Title check in ChoiceFactory [PR 1503]
  • Update exception text for DialogContext [PR 1689]

State and Storage

  • Share HttpClient to OpenIdConnectConfiguration when fetching a document [PR 1625]
  • Update PartitionKey value requirement for CosmosDB [PR 1537]
  • Enable use of other serializing formats and converters [PR 1417]

Integration Layer

  • Add middleware to address transitional location of tenantId field [PR 1754]
  • Add HttpClient argument to HTTP integration adapters [PR 1709]
  • Include the UserAgent when the BotFrameworkAdapter passes a custom HttpClient [PR 1643]
  • Allow TelemetryInitializer properties to be overridden by user [PR 1406]

Connectors and Adapters

  • The SDK4.4 now works correctly with Proxy servers.

General

  • Add ToChannelFromBotLoginUrl for binary compatibility [PR 1615]
  • Allow null Recipient field for CreateTrace and CreateReply [PR 1582]
  • Correct accuracy from float to int in score comparison [PR 1525]
  • Updates to Gov for adapter [PR 1435]
  • Application Insights config from appsettings.json [PR 1402]
  • Line channel updates [PR 1547]

Engineering Excellence (Build, Automation, Testability, Refactoring)

  • Modifications to number of attempts property behavior [PR 1774]
  • Make BotState CRUD operations virtual so they can be mocked for testing [PR 1764]
  • Enabling of Sidecar debugging as a core SDK feature [PR 1758]
  • Add comment header for build [PR 1728]
  • Delete binaries from build folder [PR 1688]
  • Parameterize coveralls files path [PR 1666]
  • Updated Readme to include functional tests build badge [PR 1665]
  • Remove references to FuseBox keys from unit tests [PR 1663]
  • Resolved failing LUIS test [PR 1662]
  • Add ExtractCompressNuGet.ps1 to build [PR 1654]
  • Create of functional test project [PR 1632]
  • Namespace change in Microsoft.Bot.Connector.Tests [PR 1621]
  • Update CosmosDB tests [PR 1616]
  • Fix testbot to construct LUIS Recognizer correctly [PR 1559]
  • Update WebApi to CoreBot [PR 1533]
  • Use CoreBot as the new TestBot [PR 1523]
  • Add documentation comments to ActivityHandler [PR 1516]
  • Fix various doc XML issues [PR 1397]
  • Disable the "Live" token refresh tests [PR 1481]
  • Remove unnecessary & duplicated references [PR 1619]

Conformance and Style Updates

4.3

5 years ago

In this release, the team focused on improving and simplifying message and activities handling. The Bot Framework Activity Schema is the underlying schema used to define the interaction model for bots.

With the 4.3 release, we have streamlined the handling of the most common activity types in the Bot Framework Activity Schema, exposing simple On* methods (OnMessage, OnEvent, OnConversationUpdate, etc.), simplifying the usage of these activities. On top of the activity handling improvements, for C# we have added MVC support, allowing developers to use standard ASP.NET core application and ApiController. We are in the process of updating the docs and samples to reflect these changes.

As with any release, we fixed a number of bugs, continue to improve LUIS and QnA integration and further clean our engineering practices. There were additional updates across other areas like Language, Prompts, Dialogs, Connectors and Adapters.

Review all changes that went into 4.3 in the detailed Change Log. See the list of all issues

V4.3.0

Language (LUIS, Recognizers, QnA)

  • Additional constructor that takes raw LUIS endpoint [PR 1378]
  • Update LUIS to new (Azure) C# SDK [PR 1367]
  • QnAMaker class now throws NotSupportedException for legacy v2.0 of QnA [PR 1345]
  • Fix: Can pass QnAMakerOptions into both constructor and QnAMaker.GetAnswersAsync() w/o unintentional overwrite [PR 1288]
  • Updating OAuthClient API based on latest service swagger [PR 1282]
  • Dialogs.OAuthPrompt.GetUserTokenAsync bugfix [PR 1243]

Prompts and Dialogs

  • Fix a few things regarding choices and actions [PR 1365]
  • Include test for FindChoices as an amendment to PR #1333 which [PR 1350]
  • Port of ComponentDialog search in Parent [PR 1343]
  • Added summary for WaterfallStepContext [PR 1340]
  • Added new HeroCard prompt style for ChoicePrompt as per #1170 [PR 1339]
  • Allow choice recognizer to accept null and empty string [PR 1333]
  • Bug fixes for OAuthCard & Teams, and Task.Run [PR 1329]
  • Fix method signature to eliminate warning [PR 1325]
  • Change 15-hour timeout to 15 minutes (#1307) [PR 1317]
  • in ChoiceFactory use StringBuilder instead of concatenating string [PR 1295]
  • Add implicit constructor to CardAction [PR 1327]

State and Storage

  • Added optimization around CreateIfNotExists and additional error handling [PR 1391]
  • Fixed concurrency and added unit tests [PR 1376]
  • Apply limits to the CosmosDB Key Length [PR 1370]
  • Change accessor to return null not throw with no factory [PR 1330]
  • Fixed state-dependant / order dependant bug in transcript tests [PR 1305]
  • Added new Azure Storage Exclusions [PR 1277]
  • Update WindowsAzure.Storage package reference [PR 1266]

Integration layer

  • Full implementation of ActivityHandler and MVC integration DCR [PR 1358]
  • remove events we don't want right now [PR 1380]
  • Fixing bug around request buffering [PR 1373]
  • Adds code to leave stream open for request body [PR 1352]
  • Add ContinueConversationAsync to IAdapterIntegration [PR 1289]
  • Add ChannelId to initializer [PR 1256]

Connectors and Adapters

  • Fix LINQ error in ActivityHandler conversationUpdate [PR 1396]
  • Fixing misspelled word "activty" to "activity" [PR 1395]
  • ConnectorClient and MicrosoftAppCredentials: Fix assembly binding-level breaking changes [PR 1386]
  • Proxy support: ConnectorClient accepts custom http client and BotFrameworkAdapter passes httpClient over to clients [PR 1382]
  • Add support for ChannelData field [PR 1362]
  • Token refresh: Cherry pick change from 4.2 [PR 1336]
  • Fix for #1255 - Added Skype for Business to channels list [PR 1319]
  • Clean up typos in Activity.cs [PR 1263]

Engineering (Build, Automation, Tests)

  • [Testing] Make Microsoft.Bot.Configuration.Tests netcoreapp [PR 1344]
  • Make the OAuth APIs in .NET testable [PR 1357]
  • Upgrade to NetCore21 for test projects. [PR 1337]
  • Suppress NU1701 for the Azure Project [PR 1334]
  • Consolidated packages across versions. [PR 1324]
  • Move Code Coverage to an explicit include model [PR 1316]
  • Cleanup and Standardization of .csproj files. [PR 1314]
  • Don't warn about docs during standard debug builds [PR 1313]
  • Fix stylecop warnings [PR 1312]
  • Cleanup of NuGet properties across all projects [PR 1311]
  • Updated Subscription key so tests run w/o Corpnet connection [PR 1304]
  • Fixes, mainly for docXML that brakes the docs build. [PR 1250]
  • Various docXML fixes: [PR 1257]
  • Update autorest.csharp dependency to 2.3.82 [PR 1249]
  • Add a configuration helper methods [PR 1363]
  • Update Author attribute for all Nuget packages [PR 1342]
  • Fix transcript logger queue scope [PR 1290]
  • Add validation utilities to BotConfiguration [PR 1262]
  • TranscriptLoggerMiddleware bugfix [PR 1261]
  • Make BotTelemetryClient methods virtual [PR 1238]

4.2.2

5 years ago

Release 4.2

In this release, the team focused on critical fixes to our token refresh code for OAuth credential flows with Microsoft Application Ids.

Revamping the token acquisition code that obtains a token given the bot App id and password. This is an effective execution of the OAuth client credentials flow, which is supported by the ADAL dotnet library.

Some implementation details and considerations below to complement the source changes:

Token cache: We use ADAL built-in token cache. Given that Adal handles much of the token caching nowadays, we consider it better to leverage ADAL library implementation, leaving less responsibilities in our code. However, after working with the ADAL team we are still responsible for maintaining low concurrency (done through semaphores in this case) and retrying, using the retry after headers received from AAD when we get HttpStatusCode 429.

Testing: We ran long haul load test, in addition to mini-load tests and unit tests. We were able to reproduce token renewal under extremely high load, and even though there were failures, these were retried and ZERO threads ended up without a token. The longest delay observed in our load test was 600 ms, which happened for a total of 40 requests, then going back to 1 millisecond when reading from cache.

Verifying assumptions Even though the ADAL team recommended limiting concurrency, we removed the semaphore and re-ran the load tests. These results were extremely bad, with latencies up to 5 seconds and multiple failures, confirming ADAL teams' recommendation.

Next steps: We would like to eventually expose the token cache to users so they can provide durable token caches (this is supported by adal). This scenario is awesome for horizontal scaling scenarios where multiple instances share perhaps a redis cache for example.

Coming soon: MSAL library: The ADAL team is working on the MSAL library, which will take care of the concurrency control as well. Eventually we'll move to that. GA for MSAL is coming soon.

Changelog V4.2.2

Token Refresh Revamping

4.2

5 years ago

Release 4.2

In this release, the team focused on enhancing monitoring, telemetry, and analytics capabilities of the SDK by improving the integration with Azure App Insights. We have streamlined the integration and default telemetry emitted from the SDK. This include (Waterfall) dialog instrumentation, docs, and examples for querying data, and a PowerBI dashboard. As with any release, we fixed a number of bugs, continue to improve LUIS and QnA integration and further clean our engineering practices. There were additional updates across the other area like Language, Prompt and Dialogs, and Connectors and Adapters.

Review all changes that went into 4.2 in the detailed Change Log See the list of all issues

Changelog V4.2.0

Monitoring, Telemetry and Analytics

  • Application Insights build fixes [PR 1221]
  • Application Insights integration : ASP.Net Core review [PR 1168]
  • Renamed Application Insights projects to have ".Integration" in them. [PR 1217]
  • Update Application Insights .Net Core 2 project for packaging [PR 1216]
  • Log TraceTelemetry with Application Insights telemetry [PR 1213]
  • Add DialogSet.SetTelemetryClient(), and modify ComponentDialog [PR 1210]
  • Replace await with ContinueWith in Transcript middleware [PR 1212]
  • Dialog exposing Logger property IBotTelemetryClient [PR 1179]
  • Add WaterfallDialog StartEvent for VA [PR 1198]
  • Telemetry: Add instanceId to WaterfallDialog logging [PR 1196]
  • Add user agent header to QnA calls [PR 1201]
  • Add user agent to LUIS calls [PR 1199]

Language (LUIS, Recognizers, QnA)

  • Add options to individual QnAMaker calls [PR 1200]
  • Role instead of entity type as property name in composites. [PR 1094]

Prompts and Dialogs

  • Fix confirmation prompt exception when locale on activity was empty string [PR 1178]

State and Storage

  • Add Delete function to BotState for parity with JavaScript [PR 1215]
  • Make CosmosDB provider consistent with Blob Storage provider [PR 1181]
  • Fixed force flag on save following clear [PR 1172]
  • Adds integration extensions for IServiceCollection [PR 1103]
  • Obsolete the BotFrameworkOptions::State property [PR 1102]

Connectors and Adapters

  • Allow the service to be null in the response from a CreateConversation call [PR 1193]
  • Update to validate JWT tokens from the emulator [PR 1174]
  • Update connector lib with latest swagger [PR 1078]
  • Add reply conversation ref method to activity [PR 1194]

Engineering (Build, Automation, Tests)

  • Adding 'channelService' property to the bot file's endpoint service type [PR 1163]
  • Update packages and fix compiler warning [PR 1104]
  • Cherry-pick pull request #1076 from 4.1 for US Gov Data centers [PR 1077]
  • Regen Swagger components, add autorest.csharp as a pinned devDependency [PR 1208]

General

  • Change serialization settings so anonymous supported [PR 1096]

4.1.5

5 years ago

The 4.1.5 release incorporates changes to the Bot Framework to support activity PR #1078

  • duration
  • localtimezone
  • history api

Authentication in the US Government data centers has also been added.

4.1

5 years ago

Release Notes

This page provides release notes for SDK Version 4.1 release. You can find information about daily and stable release here.

Release 4.1 (Oct 31)

In this release the team focused improving engineering practices with better builds, test automation and integration testing. We updated to the latest CosmosDB provider and fix a number of Cosmos DB bugs. There were additional updates across addigional area like Language, Prompt and Dialogs, and Connectors and Adapters.

Change Log

A detailed list of all pull requests that went into a given release is below.

v4.1.0:

Detailed merged pull-requests that went into 4.1.0

Storage providers

  • Rename CosmosDBKeyEscape to CosmosDbKeyEscape [PR 1054]
  • Update CosmosDbStorage.WriteAsync() to not throw if no changes are passed in [PR 1042]
  • Update Cosmos DB tests for empty keys and null keys [PR 1041]
  • Fixes and Updates to the CosmosDB Storage Provider [PR 1014]
  • Cosmos db changes [PR 1053]

Language (LUIS, Recognizers, QnA)

  • Update recognizer packages to 1.1.2 [PR 1036]
  • Update recognizer packages to 1.1.1 [PR 1016]
  • Add LuisRecognizer.TopIntent and tests [PR 1013]
  • Fix for 992 with additional unit test [PR 1010]
  • Fix LuisApplication bad endpoint error [PR 983]
  • Change Dutch translation in confirmPrompt ('niet' to 'nee') [PR 1017]

Prompts and Dialogs

  • Add constraint to NumberPrompt [PR 1037]
  • Confirm prompt fixes [PR 1024]
  • Add configuration based constructor [PR 1011]
  • Updated supportsSuggestedActions() for directline & webchat [PR 1018]

Connectors and Adapters

  • Missing adapter integration interface and InvokeResponse bugs [PR 1049]
  • Added channels to connector [PR 1005]

Monitoring and Analytics

  • Add simple trace messages to BotFrameworkAdapter [PR 1031]

Engineering (Build, Automation, Tests)

  • Add build status for 4.0 branch build. [PR 1026]
  • Add Daily Build badges to readme [PR 993]
  • Add more badges to readme. Fix build link to master branch. [PR 994]
  • The Readme now shows the last build status for master, not the last overall build status [PR 990]
  • Update to correct build status badge, based on unified build. [PR 989]
  • Fix npm vulnerabilities [PR 1052]
  • Remove Stack Overflow link to v4 tag [PR 1051]
  • Broken tests due to merge of PR #1017 [PR 1023]
  • Update UsingMyGet.md [PR 1021]
  • Remove incorrect contributors badge. [PR 996]
  • Added basic MyGet instructions. [PR 995]
  • Add Nuget Badges [PR 991]
  • Add CustomHeaders unit tests for Conversations [PR 1027]
  • Initial scripts for coveralls integration [PR 988]
  • Update Package Version for Microsoft.Test.SDK in prep for Coveralls [PR 985]
  • Replace powershell pack/unpack with C# packer.dll [PR 980]
  • Increase CC in Connector.Conversations Tracing features [PR 1007]
  • add two ActivityPrompt tests for ResumeDialog and failed validation [PR 986]

4.0.8

5 years ago

This release adds support needed for deploying bots to Azure Government based data centers.