Async-upnp-client

Latest version: v0.43.0

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 18

0.31.2

=====================================

Bugfixes
--------

- Cache decoding ssdp packets (bdraco) (141)

0.31.1

=====================================

Bugfixes
--------

- Ignore the ``HOST``-header in ``SsdpListener``. When a device advertises on both IPv4 and IPV6, the advertisements
have the header ``239.255.255.250:1900`` and ``[FF02::C]:1900``, respectively. Given that the ``SsdpListener`` did
not ignore this header up to now, it was seen as a change and causing a reinitialisation in the Home Assistant
``upnp`` component. (140)

0.31.0

=====================================

Bugfixes
--------

- Fix errors raised when `AiohttpSessionRequester` is disconnected while writing a request body.

The server is allowed to disconnect at any time during a request session, which point we want to retry the request.

A disconnection could manifest as an `aiohttp.ServerDisconnectedError` if it happened between requests, or it could be `aiohttp.ClientOSError` if it happened while we are writing the request body. Both errors derive from `aiohttp.ClientConnectionError` for socket errors.

Also use `repr` when encapsulating errors for easier debugging. (139)

0.30.1

=====================================

Bugfixes
--------

- Work around aiohttp sending invalid Host-header. When the device url contains
a IPv6-addresshost with scope_id, aiohttp sends the scope_id with the
Host-header. This causes problems with some devices, returning a HTTP 404
error or perhaps a HTTP 400 error. (138)

0.30.0

=====================================

Features
--------

- Gracefully handle bad Get* state variable actions

Some devices don't support all the Get* actions (e.g.
GetTransportSettings) that return state variables. This could cause
exceptions when trying to poll variables during an (initial) update. Now
when an expected (state variable polling) action is missing, or gives a
response error, it is logged but no exception is raised. (chishm) (137)


Misc
----

- 136

0.29.0

=====================================

Features
--------

- Always use CaseInsensitiveDict for headers (bdraco)

Headers were typed to not always be a CaseInsensitiveDict but
in practice they always were. By ensuring they are always a
CaseInsensitiveDict we can reduce the number of string
transforms since we already know when strings have been
lowercased. (135)

Page 5 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.