From 6d61f1377c6b239cb650841d513c2620e580ef77 Mon Sep 17 00:00:00 2001 From: Imod7 Date: Thu, 11 Mar 2021 11:52:45 +0100 Subject: [PATCH 1/2] Deleting language from pre-commit --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9a75affd..087d0de67 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,4 +3,3 @@ repos: rev: stable hooks: - id: black - language_version: python3.6 From ff09e8fc0dd8c0a5842b98eec742a7999ac3855b Mon Sep 17 00:00:00 2001 From: Imod7 Date: Thu, 11 Mar 2021 11:54:02 +0100 Subject: [PATCH 2/2] prepared release of version 2.4.0 --- CHANGELOG.mdx | 19 +++++++++++++++++++ changelog/406.bugfix.md | 13 ------------- pyproject.toml | 3 +-- rasa_sdk/version.py | 2 +- 4 files changed, 21 insertions(+), 16 deletions(-) delete mode 100644 changelog/406.bugfix.md diff --git a/CHANGELOG.mdx b/CHANGELOG.mdx index 99dd26023..75b33dcd8 100644 --- a/CHANGELOG.mdx +++ b/CHANGELOG.mdx @@ -17,6 +17,25 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . --> +## [2.4.0] - 2021-03-11 + + +### Bugfixes +- [#406](https://github.com/rasahq/rasa/issues/406): Fix bug where ActionQueryKnowledgeBase incorrectly issues a template message with the string representation of the function for getting the string representation of the knowledge base item and not the actual string representation of the knowledge base item. + + For example, before the fix, the query knowledge base demo bot would utter this + + ``` + '' has the value 'True' for attribute 'breakfast-included'. + ``` + + instead of this: + + ``` + 'Hilton (Berlin)' has the value 'True' for attribute 'breakfast-included'. + ``` + + ## [2.3.1] - 2021-02-11 diff --git a/changelog/406.bugfix.md b/changelog/406.bugfix.md deleted file mode 100644 index d99275fe8..000000000 --- a/changelog/406.bugfix.md +++ /dev/null @@ -1,13 +0,0 @@ -Fix bug where ActionQueryKnowledgeBase incorrectly issues a template message with the string representation of the function for getting the string representation of the knowledge base item and not the actual string representation of the knowledge base item. - -For example, before the fix, the query knowledge base demo bot would utter this - -``` -'' has the value 'True' for attribute 'breakfast-included'. -``` - -instead of this: - -``` -'Hilton (Berlin)' has the value 'True' for attribute 'breakfast-included'. -``` diff --git a/pyproject.toml b/pyproject.toml index d5fc705a3..0fea4ff77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ exclude = "((.eggs | .git | .mypy_cache | .pytest_cache | build | dist))" [tool.poetry] name = "rasa-sdk" -version = "2.3.1" +version = "2.4.0" description = "Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants" authors = [ "Rasa Technologies GmbH ",] maintainers = [ "Tom Bocklisch ",] @@ -85,7 +85,6 @@ semantic_version = "^2.8.5" typing-extensions = "^3.7.4" mypy = "^0.812" -# uvloop >= 0.15.0 is not compatible with Python 3.6 and not available on Windows [tool.poetry.dependencies.uvloop] version = "<0.15.0" markers = "sys_platform != 'win32'" diff --git a/rasa_sdk/version.py b/rasa_sdk/version.py index ecdb736f0..484bb7835 100644 --- a/rasa_sdk/version.py +++ b/rasa_sdk/version.py @@ -1,3 +1,3 @@ # this file will automatically be changed, # do not add anything but the version number here! -__version__ = "2.3.1" +__version__ = "2.4.0"