- Add support for Win32.
- When running
ssdpy-discover
with no arguments, default to searching forssdp:all
.
- SSDPy no longer requires the
mock
package, other than for testing. The package now only relies on builtin libraries. - Fixed an issue with custom fields being encoded to bytes instead of being passed as strings.
- Fixed an issue where NOTIFY messages were not conforming to UPnP (thanks @hotab)
- Fixed an issue where
ssdpy.client.discover()
was using wrong syntax. - Changed the exception raised by
ssdpy.compat.if_nametoindex()
to be the same as in Python 3 (OSError). - Added tests for
ssdpy.client
,ssdpy.compat
and created more tests forssdpy.server
to increase coverage. - Added support for custom fields in NOTIFY. Pass
extra_fields={"field": "value"}
tossdpy.SSDPServer
or pass-e|--extra-field NAME VALUE
tossdpy-server
.
- Dropped support for Python 3.4
- Fixed a compatibility issue in protocol.py (thanks @ZacJW)
- Added
--json
flag to ssdpy-discover. SSDPServer.serve_forever()
will skip packets it cannot send instead of crashing.
- Fixed a dependency issue with mock on Python 2.7.
- Added
--address
to ssdpy-server. - Binding to an interface now explicitly subscribes the interface to the multicast group.
- Removed
constants.IPv4
andconstants.IPv6
in favor of raw strings:("ipv4", "ipv6")
. - Added code coverage reports.
- Added tests for ssdpy-server.
- Increase testing breadth to include more python versions (2.7, >=3.4).
- Added ssdpy-server CLI command.
- Added ssdpy-discover CLI command.
- Internal: Added helper scripts to manage releases.
- Internal: Added python package metadata.
- Quoted the
MAN
field inM-SEARCH
to be compatible with current implementations of SSDP.
- Added
dev-requirements.txt
.
- Initial release.