Releases: RasaHQ/rasa
Merge pull request #12419 from RasaHQ/prepare-release-3.4.13
Rasa 3.4.13 (2023-05-19)
No significant changes.
3.3.11: Merge pull request #12427 from RasaHQ/fix-install-on-poetry-1.1.13
No significant changes.
3.5.8
3.4.12
3.5.7
Rasa 3.5.7 (2023-05-09)
Bugfixes
-
#12314:
SlotSetevents will be emitted when the value set by the custom action is the same as the existing value of the slot. This was fixed forAugmentedMemoizationPolicyto work properly with truncated trackers.To restore the previous behaviour, the custom action can return a SlotSet only if the slot value has changed. For example,
class CustomAction(Action): def name(self) -> Text: return "custom_action" def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: # current value of the slot slot_value = tracker.get_slot('my_slot') # value of the entity # this is parsed from the user utterance entity_value = next(tracker.get_latest_entity_values("entity_name"), None) if slot_value != entity_value: return[SlotSet("my_slot", entity_value)]
3.4.11
Rasa 3.4.11 (2023-05-09)
Bugfixes
-
#12325: Fix parsing of RabbitMQ URL provided in
endpoints.ymlfile to include vhost path and query parameters.
Re-allows inclusion of credentials in the URL as a regression fix (this was supported in 2.x). -
#12364:
SlotSetevents will be emitted when the value set by the custom action is the same as the existing value of the slot. This was fixed forAugmentedMemoizationPolicyto work properly with truncated trackers.To restore the previous behaviour, the custom action can return a SlotSet only if the slot value has changed. For example,
class CustomAction(Action): def name(self) -> Text: return "custom_action" def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: # current value of the slot slot_value = tracker.get_slot('my_slot') # value of the entity # this is parsed from the user utterance entity_value = next(tracker.get_latest_entity_values("entity_name"), None) if slot_value != entity_value: return[SlotSet("my_slot", entity_value)]
Miscellaneous internal changes
3.3.10
3.5.6
Rasa 3.5.6 (2023-04-28)
Bugfixes
- #12280: Addresses Regular Expression Denial of Service vulnerability in slack connector (https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS)
- #12325: Fix parsing of RabbitMQ URL provided in
endpoints.ymlfile to include vhost path and query parameters.
Re-allows inclusion of credentials in the URL as a regression fix (this was supported in 2.x).
3.5.5
Rasa 3.5.5 (2023-04-20)
Bugfixes
- #12268: Allow slot mapping parameter
intentto accept a list of intent names (as strings), in addition to accepting an intent name as a single string. - #12271: Fix
BlockingIOErrorwhen runningrasa shellon utterances with more than 5KB of text. - #12286: Use
ruamel.yamlround-trip loader in order to preserve all comments after appendingassistant_idtoconfig.yml. - #12295: Fix
AttributeError: 'NoneType' object has no attribute 'send_response'caused by retrieving tracker viaGET /conversations/{conversation_id}/trackerendpoint whenaction_session_startis customized in a custom action.
This was addressed by passing an instance ofCollectingOutputChannelto the method retrieving the tracker from theMessageProcessor.
Improved Documentation
- #12272: Updated AWS model loading documentation to indicate what should
AWS_ENDPOINT_URLenvironment variable be set to.
Added integration test for AWS model loading. - #12279: Updated Rasa Pro Services documentation to add
KAFKA_SSL_CA_LOCATIONenvironment variable. Allows connections over SSL to Kafka - #12290: Added note to CLI documentation to address encoding and color issues on certain Windows terminals