From 58c5674a41296f5fe4cf6cc97f4ec8072f151fcf Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Thu, 21 Nov 2024 19:41:20 +0000 Subject: [PATCH 1/3] fix: update deprecated imports from ovos-utils (#36) --- ovos_messagebus/event_handler.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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) From 9b3cf4fc3fbd51d4ae643f5fde1886a84585397c Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 21 Nov 2024 19:41:32 +0000 Subject: [PATCH 2/3] Increment Version to 0.0.8a1 --- ovos_messagebus/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 4864526bbf1d8d5037e581ff0d9b8c5b9e74042e Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 21 Nov 2024 19:41:56 +0000 Subject: [PATCH 3/3] Update Changelog --- CHANGELOG.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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))