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
reported only starting from v0.20.2.
## [Unreleased]
## [0.24.5] - 2023-02-22
### Added
- Added `hid` plugin to support discoverability and data interaction with
generic HID devices - like Bluetooth/USB peripherals, joysticks, dongles and
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
- 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.
- (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

View file

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

View file

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

View file

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

View file

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

View file

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