Skip to content

Commit

Permalink
Merge pull request #311 from OpenVoiceOS/release-0.5.4a1
Browse files Browse the repository at this point in the history
Release 0.5.4a1
  • Loading branch information
JarbasAl authored Nov 21, 2024
2 parents fef2160 + 233d119 commit 42ce1a0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Changelog

## [0.5.3a1](https://github.com/OpenVoiceOS/ovos-utils/tree/0.5.3a1) (2024-11-21)
## [0.5.4a1](https://github.com/OpenVoiceOS/ovos-utils/tree/0.5.4a1) (2024-11-21)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/0.5.2...0.5.3a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/0.5.3...0.5.4a1)

**Merged pull requests:**

- fix: restore compat again [\#308](https://github.com/OpenVoiceOS/ovos-utils/pull/308) ([JarbasAl](https://github.com/JarbasAl))
- fix: this time fix compat for realz [\#310](https://github.com/OpenVoiceOS/ovos-utils/pull/310) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
15 changes: 7 additions & 8 deletions ovos_utils/fakebus.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
from copy import deepcopy
from threading import Event

from pyee import EventEmitter

from ovos_utils.log import LOG, log_deprecation
from pyee import EventEmitter


def dig_for_message():
Expand Down Expand Up @@ -188,7 +187,6 @@ def __new__(cls, *args, **kwargs):
pass
return super().__new__(cls)


def __init__(self, msg_type, data=None, context=None):
"""Used to construct a message object
Expand Down Expand Up @@ -332,8 +330,9 @@ def publish(self, msg_type, data, context=None):


class Message(FakeMessage):
"""just for compat, stuff in the wild importing from here even with deprecation warnings..."""
def __new__(cls, *args, **kwargs):
log_deprecation("please import from ovos-bus-client directly! this import has been deprecated since version 0.1.0", "1.0.0")
return super().__new__(cls)

"""just for compat, stuff in the wild importing from here even with deprecation warnings..."""

def __new__(cls, *args, **kwargs):
log_deprecation(
"please import from ovos-bus-client directly! this import has been deprecated since version 0.1.0", "1.0.0")
return FakeMessage(*args, **kwargs)
4 changes: 2 additions & 2 deletions ovos_utils/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 5
VERSION_BUILD = 3
VERSION_ALPHA = 0
VERSION_BUILD = 4
VERSION_ALPHA = 1
# END_VERSION_BLOCK

0 comments on commit 42ce1a0

Please sign in to comment.