Skip to content

Commit

Permalink
Merge pull request #5151 from RasaHQ/prepare-release-1.7.0
Browse files Browse the repository at this point in the history
Prepare 1.7.0 Release
  • Loading branch information
federicotdn authored Jan 29, 2020
2 parents 11b65de + 4222e1a commit 504e10c
Show file tree
Hide file tree
Showing 23 changed files with 71 additions and 62 deletions.
70 changes: 68 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,80 @@ This project adheres to `Semantic Versioning`_ starting with version 1.0.

.. towncrier release notes start
[1.7.0] - 2020-01-29
^^^^^^^^^^^^^^^^^^^^

Deprecations and Removals
-------------------------
- `#4964 <https://github.com/rasahq/rasa/issues/4964>`_: The endpoint ``/conversations/<conversation_id>/execute`` is now deprecated. Instead, users should use
the ``/conversations/<conversation_id>/trigger_intent`` endpoint and thus trigger intents instead of actions.
- `#4978 <https://github.com/rasahq/rasa/issues/4978>`_: Remove option ``use_cls_token`` from tokenizers and option ``return_sequence`` from featurizers.

By default all tokenizer add a special token (``__CLS__``) to the end of the list of tokens.
This token will be used to capture the features of the whole utterance.

The featurizers will return a matrix of size (number-of-tokens x feature-dimension) by default.
This allows to train sequence models.
However, the feature vector of the ``__CLS__`` token can be used to train non-sequence models.
The corresponding classifier can decide what kind of features to use.

Features
--------
- `#400 <https://github.com/rasahq/rasa/issues/400>`_: Rename ``templates`` key in domain to ``responses``.

``templates`` key will still work for backwards compatibility but will raise a future warning.
- `#4902 <https://github.com/rasahq/rasa/issues/4902>`_: Added a new configuration parameter, ``ranking_length`` to the ``EmbeddingPolicy``, ``EmbeddingIntentClassifier``,
and ``ResponseSelector`` classes.
- `#4964 <https://github.com/rasahq/rasa/issues/4964>`_: External events and reminders now trigger intents (and entities) instead of actions.

Add new endpoint ``/conversations/<conversation_id>/trigger_intent``, which lets the user specify an intent and a
list of entities that is injected into the conversation in place of a user message. The bot then predicts and
executes a response action.
- `#4978 <https://github.com/rasahq/rasa/issues/4978>`_: Add ``ConveRTTokenizer``.

The tokenizer should be used whenever the ``ConveRTFeaturizer`` is used.

Every tokenizer now supports the following configuration options:
``intent_tokenization_flag``: Flag to check whether to split intents (default ``False``).
``intent_split_symbol``: Symbol on which intent should be split (default ``_``)

Improvements
------------
- `#1988 <https://github.com/rasahq/rasa/issues/1988>`_: Remove the need of specifying utter actions in the ``actions`` section explicitly if these actions are already
listed in the ``templates`` section.
- `#4877 <https://github.com/rasahq/rasa/issues/4877>`_: Entity examples that have been extracted using an external extractor are excluded
from Markdown dumping in ``MarkdownWriter.dumps()``. The excluded external extractors
are ``DucklingHTTPExtractor`` and ``SpacyEntityExtractor``.
- `#4902 <https://github.com/rasahq/rasa/issues/4902>`_: The ``EmbeddingPolicy``, ``EmbeddingIntentClassifier``, and ``ResponseSelector`` now by default normalize confidence
levels over the top 10 results. See :ref:`migration-to-rasa-1.7` for more details.
- `#4964 <https://github.com/rasahq/rasa/issues/4964>`_: ``ReminderCancelled`` can now cancel multiple reminders if no name is given. It still cancels a single
reminder if the reminder's name is specified.

Bugfixes
--------
- `#4774 <https://github.com/rasahq/rasa/issues/4774>`_: Requests to ``/model/train`` do not longer block other requests to the Rasa server.
- `#4896 <https://github.com/rasahq/rasa/issues/4896>`_: Fixed default behavior of ``rasa test core --evaluate-model-directory`` when called without ``--model``. Previously, the latest model file was used as ``--model``. Now the default model directory is used instead.

New behavior of ``rasa test core --evaluate-model-directory`` when given an existing file as argument for ``--model``: Previously, this led to an error. Now a warning is displayed and the directory containing the given file is used as ``--model``.
- `#5040 <https://github.com/rasahq/rasa/issues/5040>`_: Updated the dependency ``networkx`` from 2.3.0 to 2.4.0. The old version created incompatibilities when using pip.

There is an imcompatibility between Rasa dependecy requests 2.22.0 and the own depedency from Rasa for networkx raising errors upon pip install. There is also a bug corrected in ``requirements.txt`` which used ``~=`` instead of ``==``. All of these are fixed using networkx 2.4.0.
- `#5057 <https://github.com/rasahq/rasa/issues/5057>`_: Fixed compatibility issue with Microsoft Bot Framework Emulator if ``service_url`` lacked a trailing ``/``.
- `#5092 <https://github.com/rasahq/rasa/issues/5092>`_: DynamoDB tracker store decimal values will now be rounded on save. Previously values exceeding 38 digits caused an unhandled error.

Miscellaneous internal changes
------------------------------
- #4458, #4664, #4780, #5029


[1.6.2] - 2020-01-28
^^^^^^^^^^^^^^^^^^^^

Improvements
------------
- `#4989 <https://github.com/rasahq/rasa/issues/4989>`_: Switching back to a TensorFlow release which only includes CPU support to reduce the
- `#4994 <https://github.com/rasahq/rasa/issues/4994>`_: Switching back to a TensorFlow release which only includes CPU support to reduce the
size of the dependencies. If you want to use the TensorFlow package with GPU support,
please run ``tensorflow-gpu==1.15.0``.
please run ``pip install tensorflow-gpu==1.15.0``.

Bugfixes
--------
Expand Down
2 changes: 0 additions & 2 deletions changelog/1988.improvement.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/400.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/4458.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4664.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4774.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/4780.misc.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/4877.improvement.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/4896.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/4902.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/4902.improvement.rst

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/4964.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/4964.improvement.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/4964.removal.rst

This file was deleted.

7 changes: 0 additions & 7 deletions changelog/4978.feature.rst

This file was deleted.

9 changes: 0 additions & 9 deletions changelog/4978.removal.rst

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/5029.misc.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/5040.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/5057.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/5092.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion rasa/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# this file will automatically be changed,
# do not add anything but the version number here!
__version__ = "1.6.2"
__version__ = "1.7.0"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jsonschema==3.0.2
packaging==19.0
gevent==1.4.0
pytz==2019.1
rasa-sdk~=1.6.0
rasa-sdk~=1.7.0
colorclass==2.2.0
terminaltables==3.1.0
sanic==19.9.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"gevent~=1.4",
"pytz~=2019.1",
"python-dateutil~=2.8",
"rasa-sdk~=1.6.0",
"rasa-sdk~=1.7.0",
"colorclass~=2.2",
"terminaltables~=3.1",
"sanic~=19.9.0",
Expand Down

0 comments on commit 504e10c

Please sign in to comment.