Skip to content

Releases: microsoft/botbuilder-python

Bot Framework SDK for Python v4.5b5

29 Oct 20:26
0654adb
Compare
Choose a tag to compare

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

20 Dec 16:02
469b30c
Compare
Choose a tag to compare

Python 4.7.0 Bot Generators

Bot Framework SDK for Python v4.5.0b4

15 Aug 20:22
3ce3e1a
Compare
Choose a tag to compare

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

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

11 Jul 01:11
34988a8
Compare
Choose a tag to compare

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

  • Flask Application Insights Sample [PR 193]
  • Initial django core-bot sample [PR 219]

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

13 Jul 17:46
0405408
Compare
Choose a tag to compare
4.0.0.a6 Pre-release
Pre-release

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@a997e97cd926c1eedfe4e5a3a52a637313fbd4e4

Changelog:

  • Fixes the bug introduced in the 4.0.0.a5 publish of botframework-connector

4.0.0.a5

06 Jul 23:04
07dfa4a
Compare
Choose a tag to compare
4.0.0.a5 Pre-release
Pre-release

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@a997e97cd926c1eedfe4e5a3a52a637313fbd4e4

Changelog:

  • 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