Merge branch 'master' into 29-generic-entities-support

This commit is contained in:
Fabio Manganiello 2023-02-22 00:46:33 +01:00
commit 7fa545d7f8
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
6 changed files with 14 additions and 8 deletions

View File

@ -4,18 +4,24 @@ All notable changes to this project will be documented in this file.
Given the high speed of development in the first phase, changes are being Given the high speed of development in the first phase, changes are being
reported only starting from v0.20.2. reported only starting from v0.20.2.
## [Unreleased] ## [0.24.5] - 2023-02-22
### Added ### Added
- Added `hid` plugin to support discoverability and data interaction with - Added `hid` plugin to support discoverability and data interaction with
generic HID devices - like Bluetooth/USB peripherals, joysticks, dongles and generic HID devices - like Bluetooth/USB peripherals, joysticks, dongles and
any other type of devices that supports the HID interface. any other type of devices that supports the HID interface.
- Added `timeout` parameter to `websocket.send` to prevent messages sent on a
non-responsive websocket from getting the websocket loop stuck
### Fixed ### Fixed
- Running the Zeroconf registration logic in another thread in `backend.http`, - Running the Zeroconf registration logic in another thread in `backend.http`,
so failures in the Zeroconf logic don't affect the startup of the web server. so failures in the Zeroconf logic don't affect the startup of the web server.
- (Temporarily) introduced `sqlalchemy < 2.0.0` as a requirement - a PR with a
migration to the new stable version of SQLAlchemy is in TODO.
## [0.24.4] - 2022-12-20 ## [0.24.4] - 2022-12-20

View File

@ -25,7 +25,7 @@ from .message.response import Response
from .utils import set_thread_name, get_enabled_plugins from .utils import set_thread_name, get_enabled_plugins
__author__ = 'Fabio Manganiello <info@fabiomanganiello.com>' __author__ = 'Fabio Manganiello <info@fabiomanganiello.com>'
__version__ = '0.24.4' __version__ = '0.24.5'
log = logging.getLogger('platypush') log = logging.getLogger('platypush')

View File

@ -53,7 +53,7 @@ class MusicMpdPlugin(MusicPlugin):
while n_tries > 0: while n_tries > 0:
try: try:
n_tries -= 1 n_tries -= 1
self.client = mpd.MPDClient(use_unicode=True) self.client = mpd.MPDClient()
self.client.connect(self.host, self.port) self.client.connect(self.host, self.port)
return self.client return self.client
except Exception as e: except Exception as e:

View File

@ -12,10 +12,10 @@ python-dateutil
tz tz
frozendict frozendict
requests requests
sqlalchemy sqlalchemy<2.0.0
bcrypt bcrypt
rsa rsa
zeroconf zeroconf>=0.27.0
paho-mqtt paho-mqtt
websocket-client websocket-client
croniter croniter

View File

@ -1,5 +1,5 @@
[bumpversion] [bumpversion]
current_version = 0.24.4 current_version = 0.24.5
commit = True commit = True
tag = True tag = True

View File

@ -28,7 +28,7 @@ backend = pkg_files('platypush/backend')
setup( setup(
name="platypush", name="platypush",
version="0.24.4", version="0.24.5",
author="Fabio Manganiello", author="Fabio Manganiello",
author_email="info@fabiomanganiello.com", author_email="info@fabiomanganiello.com",
description="Platypush service", description="Platypush service",
@ -57,7 +57,7 @@ setup(
'redis', 'redis',
'requests', 'requests',
'croniter', 'croniter',
'sqlalchemy', 'sqlalchemy<2.0.0',
'websockets', 'websockets',
'websocket-client', 'websocket-client',
'wheel', 'wheel',