Skip to content

Commit

Permalink
Merge pull request #37 from OpenVoiceOS/release-0.0.8a1
Browse files Browse the repository at this point in the history
Release 0.0.8a1
  • Loading branch information
JarbasAl authored Nov 21, 2024
2 parents f3eac0f + 4864526 commit 933caf7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
11 changes: 3 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))



Expand Down
15 changes: 7 additions & 8 deletions ovos_messagebus/event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions ovos_messagebus/version.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 933caf7

Please sign in to comment.