Rasa-sdk

Latest version: v3.10.1

Safety actively analyzes 681874 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 17

1.7.0

Not secure
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

Not secure
Fixed
=====

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

1.6.0

Not secure
Added
=====

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

1.5.2

Not secure
Fixed
=====

- Pinned `multidict` dependency to 4.6.1 to prevent sanic from breaking,
see <https://github.com/huge-success/sanic/issues/1729>

1.5.1

Not secure
Added
=====

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

Changed
=======

- `DeprecationWarning`s are now `FutureWarning`s, 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`

1.5.0

Not secure
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

Page 13 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.