Bot Builder SDK v4.11.0 Release Notes
Release Date: 2020-11-13 // over 4 years ago-
November 2020 (version 4.11.0)
π Welcome to the November 2020 release of the Bot Framework SDK. We continue to focus on code quality, improving developer experience, customer requests, overall SDK improvements and partner support. We are previewing a new Cloud Adapter and other exciting things, including:
- π Teams Introduction of Teams Meeting Participant API along with new features and fixes.
- Skills We continue our 'skills everywhere!' mission by reducing development friction, enabling interruptions, and additional features.
- π Composer Continued improvements in deployment, Skills integration, features flags, and more!
- π Orchestrator (preview) Improved samples, models, and Bot Framework Composer support
- π Bot Framework Documentation We've added Adaptive Dialog support, updated docs around Adaptive Expressions, and custom .lg functions.
- π CLI Improvements to merging and importing of dialogs and assets
- Virtual Assistant Improved core runtime, advancements in skills features
- π Power Virtual Agents Thanks to the Bot Framework SDK, it is easier and easier to build a PVA Bot!
- π HealthBot Health Bot, built using the Bot Framework, continues to advance in support of multiple Health related initiatives!
Insiders : Want to try new features as soon as possible? You can download the nightly Insiders build [C#] [JS] [Python] [CLI] and try the latest updates as soon as they are available. And for the latest Bot Framework news, updates, and content, follow us on Twitter @msbotframework!
Microsoft Teams
Continued improvements enabling features for creating bots and apps in Teams.
- Get Participant Meeting API
- π CacheInfo support on Invoke responses
- OAuthInput fix
- π Meeting specific notification support
- Add on_teams_team_renamed (python only)
Skills
β To reduce development friction, you can now run and test skills locally with the Emulator without needing an AppId and password.
π Quality for skills is critical, and we're making large invements in automated testing. That work is (mostly) still in the design phase, and feedback is very welcome:
We're also continuing to bring features to skills to enable additional scenarios:
- Interruptions are enabled in BeginSkill.
- β‘οΈ Update and Delete activities from a skill.
Overall SDK Improvements
π Code quality and testing infrastructure have continued to be a focus for the this SDK release.
- 0οΈβ£ The default branch on all repositories has been renamed to 'main'.
- We have improved typing and transcript logger middleware behavior and error handling.
- β Dotnet SDK tests have been ported to xunit.
- π§ Configurable Adaptive Dialog cycle detection.
- Form Dialog preview
π Documentation
π Updates and improvements to existing documentation have continued.
- π Updated and expanded documentation for adaptive dialogs.
- β‘οΈ Updated and reorganized the security and authentication topics.
- β‘οΈ Updated information about: .lg custom functions, adaptive expressions, and memory scopes.
- β Added Java (preview) reference documentation: https://docs.microsoft.com/en-us/java/api/?term=microsoft.bot.builder
- β Added information on how to use the Bot Framework CLI commands in support of various adaptive dialog features.
- π Updated skills documentation.
- The claims validator is now required for bot a skill and skill consumer.
- β‘οΈ Updated information about Direct Line extensions.
- β‘οΈ Updated how to connect to some of the channels: Slack, Webex.
- π Archived the SDK v3 content, available at: https://docs.microsoft.com/previous-versions/azure/bot-service/index-bf-sdk
- β‘οΈ Updated information about the dialogs library and the overall architecture of a bot.
Cloud Adapter (not yet feature complete, dotnet only)
π§ The Cloud Adapter introduces an enriched configuration model and enables hosting a bot in any cloud environment.
- π Supports the Bot Framework protocol and auth model.
- π§ All the constants defining the auth model are configurable.
- Note: 4.11.0 does not have full feature parity with BotFrameworkAdapter
- Streaming support, OAuthPrompt support and full Skill support are coming soon.
- Preview: The recommendation is to continue using BotFrameworkAapter in the 4.11.0 release unless the environment requires configurable auth constants.
Orchestrator Preview
Orchestrator is a Language Understanding arbitration (βdispatchβ) technology to route incoming user utterances to an appropriate skill or to subsequent language processing service such as LUIS or QnA Maker.
- β‘οΈ It is a transformer based solution that is optimized for conversational AI applications.
- It is built to run locally in your bot.
- It is written in C++ and is available as a library in C#, Node.js and soon Python and Java.
- π The current release is designed to be used only for intent detection. Entity recognition is on the roadmap.
- Orchestrator can be used in code-first solutions or directly in Composer.
π This is a preview release with improved documentation and language models.
CLI
- π The CLI will now download an merge dialog assets.
- π Ordering of names while merging.
- π¦ Expose import resolver interface for cross-train/luis:build/qnamaker:build
- π Region support in lg translate
Virtual Assistant
- Skills improvements
- β‘οΈ Core runtime design updates
Composer
- π Please see the detailed Bot Framework Composer release notes
HealthBot
β¬οΈ The Health Bot Service is a cloud platform for virtual health assistants and health bots, Health Bot uses Bot Framework under the hood. With the latest upgrade to the Bot Framework SDK V4 foundation, Health Bot can be called as a Bot Framework skill or call subsequent custom Bot Framework skills. See more here: Health Bot Overview.
Power Virtual Agents
β Power Virtual Agents (PVA) is part of Microsoft Power Platform. In PVA, chatbots can be created with a guided, no-code graphical interface - and without the need for data scientists or developers. In the latest integration with Bot Framework SDK, PVA can be extended to create custom solutions.
- π Use Bot Framework Composer to create and connect to Bot Framework skills.
- Publish directly from Bot Framework Composer to PVA portal into PVA Topics runtime (coming soon).
π 4.11.0 Change Logs
- π BotBuilder-Dotnet
- π BotBuilder-Js
- π BotBuilder-Python
- π BotBuilder-Java
- π BotFramework-CLI
- BotFramework-WebChat
Previous changes from v4.10
-
August 2020 (version 4.10.0)
π Welcome to the August 2020 release of the Bot Framework SDK. We are introducing some exciting Additional New Features with Updates and Enhancements. This milestone we focused on all-up quality and engineering debt, broken down across the following pillars:
π Documentation Includes improvements to existing documentation and net new documentation centered on recurring issues and developer pain points.
π Customer Supportability Improvements focused on developers seeking assistance using the Bot Framework, tools and SDKs.
Customer Ask Implemented enhancements and feature requests from the developer community and 3rd parties using the Bot Framework SDK and tools.
β Code Quality Enforcement of code styling and format rules, increased testing code coverage, and functional tests.
π Team Agility Improved validation of SDK code and integration with supporting libraries and environments. Continuous integarion and build pipleline improvements.
Insiders : Want to try new features as soon as possible? You can download the nightly Insiders build [C#] [JS] [Python] [CLI] and try the latest updates as soon as they are available. And for the latest Bot Framework news, updates, and content, follow us on Twitter @msbotframework!
π Documentation
π BF Docs GitHub
π Following feedback from customers and the Bot Framework Support Team,β―a number ofβ―net new documents have been written as well as updates to existing documentation.β―These are helpful towards providingβ―answers and information relating to recurring issues from bot developers.
- π Code comment documentation
- Samples readme improvements
- β‘οΈ SDK repository readme and wiki updates
- π New documents addressing recurring bot developer issues
π Customer Supportability
π Developers using the Microsoft Bot Framework have many avenues for getting help. See additional resources Internal tools have been improved to increase the responsiveness of the engineering team in areas of most interest to developers.
- π Creation of internal bots and improved tools for customer support
- π Improved analytics of trends in customer reported feature requests and issues
- Coordination of labels across
GitHub
repositories
Customer Ask
- β Additional Teams channel lifecycle events
- π Improved
Application Insights
integration - Coordination of labels across
Git Hub
repositories - β Add Locale to
ConversationUpdate
- β‘οΈ Update
CardAction
to support alt text for images on buttons - β‘οΈ Update
Skill Handler
to returnResource Response
- π Release of library using latest
Azure Blobs
storage - Enable custom fields for
Entity
- π Fixes to OAuthPrompt timeout and addition of EndOnInvalidMessage
- π Various bug fixes and telemetry improvements
Code Quality
- π Analyzer rules in place and running (code style and format)
- β Unit test code coverage and quality
- Increased profiling of the code base
- Swagger file unified across SDK repositories and version # introduced
- Specific SDKs asks and needs:
- Settings object pattern for C# adapters
- LG dependent files testing (C#)
- Dependency policing (JS)
- Integration tests with Direct Line JS and adaptive cards
Team Agility
π Improvements have been made across SDK repositories towards decreased CI pipeline times, improved testing, including both functional integration and unit tests.
Speedβ
- β¬οΈ Reduce time to build for SDKs (local and remote)β
- π¨ Reduce SDK unit test duration through refactoring and/or concurrent approachesβ
- π¨ Refactor ADO pipelines into smaller, separate jobs or stagesβ
- π Run as-applicable pipelines (e.g. no style-checks on .yaml files)β
βReliabilityβ
- Refine or replace current monorepo/βmono-solutionβ setups as necessaryβ
- β Address nondeterministic build/test failures
- Enable continuous integration for forked pull request submissions
- β Complete integration tests added with bots dynamically created
β‘οΈ Other Updates and Enhancements
- π Microsoft Teams Continued improvements to Microsoft Teams API support
- π Bot Framework CLI Tools
Lg
added as core plugin, publish preview builds to npm, other improvements - β‘οΈ Bot Builder Samples Readme updates, CI improvements, new Teams
Typescript
samples - π Composer Advancements in Skills support and Cognitive Services integration
- π Web Chat Many Accessibility improvements
- β‘οΈ Emulator Bug fixes and updates
Microsoft Teams
- π SDK and
OAuthPrompt
now support Teams SSO - π Increased
Adaptive Dialog
support for Teams events - βͺ SDK supprot for lifecyle events:
ChannelRestored
,TeamArchived
,TeamUnarchived
,TeamRestored
,TeamDeleted
, andTeamHardDeleted
- β‘οΈ
InstallationUpdate
activity type support - π°
LinkToMessage
added toMessageActionsPayload
Bot Framework CLI Tools
- π
Lg
added as BF-CLI core plugin - β¨ Enhancements and fixes to
lu
parser - π
QnaMaker
support extended - π Publish daily builds and RCs of
botframework-cli
to npm
Samples
- β‘οΈ Readme updates and consolidation across language samples
- π Build pipelines for samples CI
- β‘οΈ Demonstreate using Locale in
ConversationUpdate
welcome message sample - β Additional Teams samples in Typescript
- π Teams
TaskModule
samples now includes HTML/JavaScript task modules
Composer
- π The Bot Framework SDK continues to support the
Bot Framework Composer
.
π See Composer 1.1.1 Release Notes
π Web Chat
- π Many accessibility improvements and fixes
- Group activity by timestamp and sender
- Convert emoticon to Emoji
- β Added scrolling API: allow save/restore scroll position and scroll to specific activity
Emulator
- β Added an additional log panel entry on conversation start that displays the current bot's endpoint
- π Fixed a bug where trying to open the sign-in link on an OAuth card when ngrok was not configured would cause the Windows File Explorer to open
- π Improved CONTRIBUTING.md to more accurately reflect requisites to build the Emulator from source
- β‘οΈ Updates to Cosmos DB service editor dialog
β Additional New SDK Features
π Orchestrator: Transformer based solution that runs locally with your bot to dispatch across one or more Bot Builder Skills or LUIS applications or QnA Maker Knowledgebase.
π Microsoft.Bot.Builder.Azure.Queues (preview) Enables more easily interacting with Azure Queues and
ContinueConversationLater
Dialog. (Currently .NET only, coming soon to other languages)π Microsoft.Bot.Builder.Azure.Blobs
BlobsStorage
andBlobsTranscriptStore
implementations replacingAzureBlobStorage
andAzureBlobTranscriptStore
. This library uses Azure.Storage.Blobs and is a replacement for the older Microsoft.Azure.Storage.Blob used by Microsoft.Bot.Builder.Azure. (Currently .NET only, coming soon to other languages)π Changelogs:
- π BotBuilder-Dotnet
- π BotBuilder-Js
- π BotBuilder-Python
- π BotBuilder-Java
- π BotFramework-CLI
- π BotFramework-Composer
- π BotFramework-WebChat
- π BotFramework-Emulator