Skip to content

Releases: RasaHQ/rasa-sdk

1.8.0

28 Apr 07:58
15bc96d
Compare
Choose a tag to compare

Improvements

[\#130](https://github.com/rasahq/rasa/issues/130): Copied over instance methods `last_executed_action_has()`, `get_last_event_for()` and

:   `applied_events` from the Rasa `DialogueStateTracker` class to the SDK `Tracker` class.
  • #145: Add poetry for dependency management and reduce the size of Docker image.

Miscellaneous internal changes

Merge pull request #144 from RasaHQ/prepare-1.7.0-release

28 Apr 07:58
a10de51
Compare
Choose a tag to compare

Changed

  • ReminderScheduled and ReminderCancelled now take intent and entities
    as options, instead of action. This is because starting with Rasa 1.7 reminders
    trigger intents (with entities) instead of actions.
  • The following FormAction methods are now async by default: validate_slots,
    validate, submit and run. User-defined classes inheriting from
    FormAction should be adapted to use async for these methods. Existing
    synchronous implementations will continue to work as normal, but this behaviour will
    be deprecated in the future.
  • The following ActionQueryKnowledgeBase methods are now async:
    utter_objects and run.
  • The following KnowledgeBase methods are now async:
    get_attributes_of_object, get_key_attribute_of_object,
    get_representation_function_of_object, get_objects and get_object. Same
    warning for FormAction applies here - user-defined classes should be updated to
    use async, but will continue to work for the moment.
  • The following InMemoryKnowledgeBase methods are now async:
    get_attributes_of_object, get_objects and get_object.

1.6.1

28 Apr 07:58
0114b60
Compare
Choose a tag to compare

Fixed

  • Pinned sanic~=19.9.0 to fix breaking changes introduced in sanic 19.9.12.

1.6.0

28 Apr 07:58
05a3779
Compare
Choose a tag to compare

Added

  • Added SessionStarted event for compatibility with conversation sessions in Rasa
    1.6.0.

1.5.2

28 Apr 07:58
b0a7c87
Compare
Choose a tag to compare

Fixed

1.5.1

28 Apr 07:58
e60b513
Compare
Choose a tag to compare

Added

  • Added LOG_LEVEL_LIBRARIES environment variable to set log level of libraries, such as sanic

Changed

  • DeprecationWarnings are now FutureWarnings, as they should be seen
    by end users
  • text is now the first positional argument in utter_message instead of
    image

Fixed

  • The deprecated utter_elements now correctly uses utter_message

Merge pull request #119 from RasaHQ/release-1.5.0

28 Apr 07:58
65b3da6
Compare
Choose a tag to compare

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.
  • Return status code 400 in case an empty request body was sent to the /webhook
    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.
  • Updated format strings to f-strings where appropriate.

Removed

  • Remove requests dependency
  • Remove gevent dependency

1.4.0

28 Apr 07:58
Compare
Choose a tag to compare

Added

  • Added Python 3.7 support.

Removed

  • Removed Python 2.7 support.
  • Removed Python 3.5 support.

1.3.3

28 Apr 07:58
8eb67ec
Compare
Choose a tag to compare

Added

  • SSL support, certificates can be passed with --ssl-certificate and --ssl-keyfile

1.3.2

28 Apr 07:58
Compare
Choose a tag to compare

Fixed

  • fixed TypeError on request_next_slot method of FormAction class