diff --git a/CHANGELOG.md b/CHANGELOG.md index c7277d3..24b65ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,12 @@ # Changelog -## [0.0.7a1](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.7a1) (2024-11-05) +## [0.0.8a1](https://github.com/OpenVoiceOS/ovos-messagebus/tree/0.0.8a1) (2024-11-21) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/0.0.6...0.0.7a1) - -**Closed issues:** - -- Add configuration option for filtered logs [\#24](https://github.com/OpenVoiceOS/ovos-messagebus/issues/24) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-messagebus/compare/0.0.7...0.0.8a1) **Merged pull requests:** -- fix: allow latest bus client version [\#34](https://github.com/OpenVoiceOS/ovos-messagebus/pull/34) ([JarbasAl](https://github.com/JarbasAl)) -- feat\(performance\): configurable filter [\#29](https://github.com/OpenVoiceOS/ovos-messagebus/pull/29) ([mikejgray](https://github.com/mikejgray)) +- fix: update deprecated imports from ovos-utils [\#36](https://github.com/OpenVoiceOS/ovos-messagebus/pull/36) ([JarbasAl](https://github.com/JarbasAl)) diff --git a/ovos_messagebus/event_handler.py b/ovos_messagebus/event_handler.py index 3ae8031..f6e488e 100644 --- a/ovos_messagebus/event_handler.py +++ b/ovos_messagebus/event_handler.py @@ -17,12 +17,12 @@ import sys import traceback -from ovos_utils.fakebus import Message -from ovos_utils.log import LOG +from ovos_bus_client.message import Message +from ovos_bus_client.session import SessionManager from ovos_config import Configuration +from ovos_utils.log import LOG from pyee import EventEmitter from tornado.websocket import WebSocketHandler -from ovos_bus_client.session import SessionManager client_connections = [] @@ -63,13 +63,12 @@ def on_message(self, message): if deserialized_message.msg_type not in self.filter_logs: LOG.debug(deserialized_message.msg_type + - f' source: {deserialized_message.context.get("source", [])}' + - f' destination: {deserialized_message.context.get("destination", [])}\n' - f'SESSION: {SessionManager.get(deserialized_message).serialize()}') + f' source: {deserialized_message.context.get("source", [])}' + + f' destination: {deserialized_message.context.get("destination", [])}\n' + f'SESSION: {SessionManager.get(deserialized_message).serialize()}') try: - self.emitter.emit(deserialized_message.msg_type, - deserialized_message) + self.emitter.emit(deserialized_message.msg_type, deserialized_message) except Exception as e: LOG.exception(e) traceback.print_exc(file=sys.stdout) diff --git a/ovos_messagebus/version.py b/ovos_messagebus/version.py index bd53d5f..ef1255f 100644 --- a/ovos_messagebus/version.py +++ b/ovos_messagebus/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 0 VERSION_MINOR = 0 -VERSION_BUILD = 7 -VERSION_ALPHA = 0 +VERSION_BUILD = 8 +VERSION_ALPHA = 1 # END_VERSION_BLOCK