Skip to content

Commit

Permalink
Merge pull request #119 from RasaHQ/release-1.5.0
Browse files Browse the repository at this point in the history
Prepare 1.5.0 release
  • Loading branch information
tmbo authored Nov 22, 2019
2 parents 03a2035 + 7a49f69 commit 65b3da6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
34 changes: 18 additions & 16 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,37 @@ This project adheres to `Semantic Versioning`_ starting with version 0.11.0.

.. _master-release:

[Unreleased 1.5.0a1] - `master`_

[Unreleased 1.6.0a1] - `master`_
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. note:: This version is not yet released and is under active development.


[1.5.0] - 2019-11-22
^^^^^^^^^^^^^^^^^^^^

Added
-----
- Add support for multiple sanic workers (configurable with the
``ACTION_SERVER_SANIC_WORKERS`` environment variable)
- Add support for async ``run`` methods in the ``Action`` class
- Return status code ``404`` in case requested action was not found
``ACTION_SERVER_SANIC_WORKERS`` environment variable).
- Add support for async ``run`` methods in the ``Action`` class.
- Return status code ``404`` in case requested action was not found.
- Return status code ``400`` in case an empty request body was sent to the ``/webhook``
endpoint
endpoint.

Changed
-------
- Replace ``flask`` server framework with ``sanic``
- Replace ``flask_cors`` with ``sanic-cors``
- ``CollectingDispatcher.utter_message`` can now do anything that other
dispatcher methods can do.
- The ``CollectingDispatcher`` methods ``utter_custom_message``,
``utter_elements``, ``utter_button_message``, ``utter_attachment``,
``utter_button_template``, ``utter_template``, ``utter_custom_json``
and ``utter_image_url`` were deprecated in favor of ``utter_message``.
- Replace ``flask`` server framework with ``sanic``.
- Replace ``flask_cors`` with ``sanic-cors``.
- ``CollectingDispatcher.utter_message`` can now do anything that other dispatcher
methods can do.
- The ``CollectingDispatcher`` methods ``utter_custom_message``, ``utter_elements``,
``utter_button_message``, ``utter_attachment``, ``utter_button_template``,
``utter_template``, ``utter_custom_json`` and ``utter_image_url`` were deprecated in
favor of ``utter_message``.
- Updated format strings to f-strings where appropriate.

Fixed
-----

Removed
-------
- Remove ``requests`` dependency
Expand Down
2 changes: 1 addition & 1 deletion rasa_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.5.0a1"
__version__ = "1.5.0"

0 comments on commit 65b3da6

Please sign in to comment.