Releases: microsoft/botbuilder-python
Bot Framework SDK for Python v4.7.0
v4.7.0
Welcome to the 4.7.0 release of the Bot Framework SDK for Python!
Bot Framework SDK for Python (GA)
We are happy to announce the Bot Framework Python SDK is generally available and no longer a preview release.
Bot Framework SDK for Microsoft Teams (GA)
The Bot Framework SDK v4.7.0 release fully integrates support for building Teams bots allowing users to use them in channel or group chat conversations. By adding a bot to a team or chat, all users of the conversation can take advantage of the bot functionality right in the conversation.
Changelog for v4.7.0:
- Teams connector client creation cleanup [PR 536]
- Cherry-picking helpers into master [PR 535]
- Update comments in teams_helper [PR 531]
- adding teams to connector [PR 528]
- Adding Teams link to botbuilder [PR 523]
- exporting teams from botbuilder schema (#520) [PR 521]
- [Teams] Fix teams verify state handler in OAuthPrompt [PR 518]
- Updated Classifiers tags in setup.py (#516) [PR 517]
- [Teams] Draft action based fetch task scenario [PR 512]
- Axsuarez/integration and skills tests [PR 511]
- cleaning up names [PR 510]
- adding search extension scenario [PR 509]
- [Teams] add task module fetch scenario [PR 508]
- Josh/link unfurl [PR 507]
- Removing samples and generator from Python repo [PR 506]
- Revert "Functional Test" [PR 505]
- removing testing method [PR 504]
- [Teams] action based messaging extension scenario [PR 503]
- [Teams] Invoke Response serialization [PR 502]
- JJ/echo aiohttp [PR 501]
- Moved BFHtppClient and ChannelServiceHandler [PR 500]
- adding return types [PR 499]
- Axsuarez/oauth prompt skills [PR 498]
- TeamChannelAccount serialization [PR 497]
- updating create conversation to take conversation params [PR 496]
- Updating members added to cast to teams channel account [PR 495]
- Axsuarez/skills layer [PR 492]
- Storage attr fix [PR 491]
- updating conversation params to parity [PR 490]
- Corrected type hint on AttachmentPrompt init [PR 489]
- Fixing mention stripping and tests [PR 488]
- Add keysuffix and compat mode to cosmosdbpartitionedstorage [PR 487]
- Remove payments - Parity C#/JS [PR 486]
- [Teams] Fix async await issues in teams_info [PR 485]
- [QnA Maker] IsTest and Ranker type support for QnAMaker.GetAnswer [PR 477]
- fixing bug in jwt token extrator [PR 475]
- Adding deserializer helper [PR 472]
- Adding Teams extension methods + tests [PR 470]
- Cleaning up deserialization, models [PR 469]
- Find.find_choices would loop forever if Choice.synonyms was specified. [PR 468]
- Unit tests & tightening up teams activity handler object types [PR 467]
- removing activity from method names [PR 466]
- Added TeamsFileBot Scenario [PR 465]
- Axsuarez/protocol test project [PR 464]
- Corrected serialize misspelling [PR 463]
- TeamsInfo and TeamsConnectorClient updates [PR 462]
- [Teams] Adding generated classes [PR 460]
- Cosmos partitioned - Parity with C# and Node | Also storage base tests [PR 459]
- Merging Teams in so far [PR 454]
- added ChannelProvider [PR 451]
- Fix compute_hash [PR 450]
- added claims validator [PR 447]
- Functional Test [PR 439]
- Pinned pytest version [PR 438]
- Added 42.scaleout [PR 435]
- Axsuarez/turn context send activities [PR 433]
- Added 40.timex resolution [PR 430]
- Added 11.qnamaker [PR 429]
- pylint and black changes to samples [PR 427]
- Fixes #425: Using incorrect BotState [PR 426]
- Added 23.facebook events [PR 424]
- Added 17.multilingual-bot [PR 422]
- Added 15.handling attachments [PR 421]
- Auth changes for skills [PR 420]
- Added 18.bot-authentication [PR 419]
- [Deployment] Modify echo-bot to work out of the box w/ new ARM template [PR 415]
- Added 16.proactive-messages [PR 413]
- Pinned dependencies in all libraries [PR 412]
- Added 19.custom-dialogs [PR 411]
- Refactored to unbound on_error methods when accessing outer app.py va [PR 385]
- Added 43.complex-dialog [PR 384]
- ChoiceFactory.for_channel was erroneously returning a List instead of [PR 383]
- Added 47.inspection [PR 381]
- Added 44.prompt-users-for-input [PR 380]
- Session injection supported [PR 378]
- Update black formatting [PR 377]
- Standardized app.py and on_error messages in original samples. [PR 376]
- Core bot generator [PR 375]
- Dockerfile for Flask bot [PR 374]
- Fix ChoicePrompt ListStyle.none when set via PromptOptions [PR 373]
- Added 08.suggested-actions [PR 372]
- Axsuarez/fix appinsights setup [PR 371]
- Added 02.echo-bot [PR 369]
- Added 05.multi-turn-prompt [PR 368]
- Added 03.welcome-user sample [PR 365]
- 4.5b5 [PR 364]
- [QnAMaker] Active learning low score variation multiplier value [PR 361]
- Added trace activity helper in turn context [[PR 359]...
Bot Framework SDK for Python v4.5b5
v4.5b5
Welcome to the 4.5b5 release of the Bot Framework SDK for Python!
This version of the SDK breaks backwards compatibility at the storage layer to fix some broken edge-case scenarios. If a current bot uses the previous botbuilder-azure Cosmos or Blob storage classes this update might break read/write scenarios if the data model is class based. We recommend backing-up current stored data and have a migration strategy moving into this new version.
Changelog:
- Initial template for echo bot. [PR 351] Fixes #350.
- Fixed black formatting. [PR 347]
- Updated recognizers versions. [PR 346]
- Fixed empty name error message typo in bot_state.py. [PR 345]
- Update for erialization in blob storage. [PR 344]
- Update for serialization in cosmos storage. [PR 343]
- DialogTestClient for Py. [PR 341]
- Updated inspection middleware. [PR 340]
- Application Insights accepts TelemetryProcessor or TelemetryClient for Django. [PR 336]
- Added Recognizer interface to LuisRecognizer. [PR 326]
- Updated pylint rules to comply to latest version. [PR 325]
- Fixed concatinating attachments if exist in Prompt::AppendChoices. [PR 324] Fixes #315.
- Fixed UnsupportedMediaType in samples. [PR 323]
- Removed await from synchronous method in the transcript logger. [PR 322]
- Fixed AttributeError. [PR 321]
- Fix for parity w/ dotnet in create_conversation tentant_id/channel_data. [PR 317]
- Added GetAnswerRaw for QnA Maker. [PR 316]
- Updated welcomecard isSubtle field value from "yes" to "true". [PR 314]
- Multi-turn SDK support for QnAId. [PR 310]
- Changed greeting to include instructions to type anything to see state in Sample 45. [PR 307]
- Multi-turn support for QnA MAker in python. [PR 305]
- Removed AppInsights sample. [PR 304]
- Modified secret key so that it's clearer it needs to be changed. [PR 303]
- Fixed retry prompting in NumberPrompt by adding await. [PR 302]
The issues list can be viewed here.
Python Templates
Python 4.7.0 Bot Generators
Bot Framework SDK for Python v4.5.0b4
This minor release is a follow up to our launch of the Python Bot Framework, v4.5. It consists primarilty of bug fixes as well as working towards feature parity with botbuilder-dotnet.
Review all changes that went into 4.5.0b4 in the detailed Change Log
Bug Fixes
- [PR 300] Added flask package for App Insights
- [PR 296] Fix for Add 'properties' property to conversationAccount [Issue #225]
- [PR 295] Fix for Transcript logger [Issue #144]
- [PR 294] Fix for Porting of BlobStorage in botbuilder azure [Issue #235]
- [PR 291] Fix for Remove Mention Support [Issue #273]
- [PR 285] Fix for Add support for Message Reactions to ActivityHandler [#243]
- [PR 282] Fix for Move samples over to using flask instead of aiohttp [Issue #212]
- [PR 279] Fix for NumberPrompt Locale Not Fully Implemented [Issue #269]
- [PR 278] Fix for Gov support with unit tests. [Issue #119], [Issue #232]
Feature Parity
- [PR 293] Initial port of Telemetry Middleware
- [PR 290] Feature parity for PrivateConversationState [Issue #145]
- [PR 289] Feature parity for Add Severity Enum [Issue #288]
- [PR 287] Feature parity for Implement ShowTypingMiddleware in botbuilder-core [Issue #286]
- [PR 284] Feature parity for Implement AutoSaveMiddleware [Issue #283]
- [PR 280] Feature parity for Adding confirm prompt to Core Bot and fix on that sample error handling
- [PR 276] Feature parity for Recognizers versions updated, confirm prompt now working with tests
- [PR 272] Feature parity for Pylint fixes for botbuilder-ai library code and tests
- [PR 271] Feature parity for Pylint fixes for botframework-connector library code and tests
- [PR 264] Feature parity for Adding Active Learning Feature
Bot Framework SDK for Python v4.5
v4.5.0
Welcome to the official release of the Bot Framework SDK for Python, v4.5!
Today, we are happy to announce Bot Framework support for Python. This brings Bot Framework parity to Python developers (min requirement of Python 3.6) as well as bringing support for Emulator Channel Testing. This 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.
As with any release, we fixed a number of bugs.
Review all changes that went into 4.5 in the detailed Change Log
Prompts and Dialogs
- Added support for oAuth and oAuth prompt [PR 208]
- Added prompt parity within the framework, with the exception of ConfirmPrompt [PR 204]
State and Storage
- Changes for storage and bot state [PR 236]
Integration Layer
- Added luis prediction options to recognizer [PR 209]
Connectors and Adapters
- Added middleware to address transitional location of tenant_id field [PR 203]
Conformance and Style Updates
- Removed unnecessary properties and a couple of style fixes [PR 242]
- Renamed flask core-bot main.py -> app.py [PR 220]
Samples
General
- Added missing BotState tests and some state fixes [PR 237]
- Fixed django async/loop [PR 229]
- Fixed aux_func to use await [PR 227]
- Added ARM template to flask core-bot [PR 226]
- Minor bug fixes [PR 223]
- Updated .gitignore, remove asyncio from flask core-bot requirements [PR 213]
- Updated swagger file for callerId, SemanticActionStates, and other changes [PR 211]
- Added tests for DateTimePrompt and NumberPrompt [PR 177]
- Moved IntentScore, RecognizerResult and TopIntent classes from botbuilder.ai.luis to botbuilder.core to match C# and JS [PR 249]
4.0.0.a6
Installation:
After installing the botbuilder-core or botframework-connector, to use this release you need to run:
pip install git+https://github.com/Azure/msrest-for-python.git@a997e97cd926c1eedfe4e5a3a52a637313fbd4e4Changelog:
- Fixes the bug introduced in the 4.0.0.a5 publish of botframework-connector
4.0.0.a5
Installation:
After installing the botbuilder-core or botframework-connector, to use this release you need to run:
pip install git+https://github.com/Azure/msrest-for-python.git@a997e97cd926c1eedfe4e5a3a52a637313fbd4e4Changelog:
- Rename BotContext to TurnContext (Breaking Change)
- Add CardFactory, MessageFactory helper classes
- Add UserState, ConversationState, and MemoryStorage
- Add TestAdapter
- Add Token endorsements
- Fix msrest dependencies to a specific commit for stability