* Adding a listener that does not inherit from RecordUpdateListener now logs
an error
* The NotRunningException exception is now thrown when Zeroconf is not
running (#1033) @bdraco
* Before this change the consumer would get a timeout or an EventLoopBlocked
exception when calling ServiceInfo.*request when the instance had already been shutdown
or had failed to startup.
* The EventLoopBlocked exception is now thrown when a coroutine times out
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=56
* Fixed ServiceBrowser infinite loop when zeroconf is closed before it is canceled
* Improved performance of responding to queries
* Improved log message when receiving an invalid or corrupt packet
* Improved performance of sending outgoing packets
* Reduced memory usage for incoming and outgoing packets
* Improved performance of constructing outgoing packets
* Deferred parsing of incoming packets when it can be avoided
* Improved performance of parsing incoming packets
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=52
- Update to 0.36.2:
* Include NSEC records for non-existent types when responding
with addresses
* Implements RFC6762 sec 6.2
(http://datatracker.ietf.org/doc/html/rfc6762#section-6.2)
- Update to 0.36.1:
* Skip goodbye packets for addresses when there is another
service registered with the same name (#968) @bdraco
* If a ServiceInfo that used the same server name as another
ServiceInfo was unregistered, goodbye packets would be sent for
the addresses and would cause the other service to be seen as
offline.
* Fixed equality and hash for dns records with the unique bit
(#969)
* These records should have the same hash and equality since
the unique bit (cache flush bit) is not considered when adding
or removing the records from the cache.
- Update to 0.36.0:
* Technically backwards incompatible:
* Fill incomplete IPv6 tuples to avoid WinError on windows (#965)
OBS-URL: https://build.opensuse.org/request/show/917067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=51
Had to add a _service to check out 0.31.0 from git since it's not tagged.
The commit was obtained from looking at the changelog at
https://github.com/jstasiak/python-zeroconf/blob/master/README.rst
and the commit history.
- Add patch to disable some tests that fail in obs:
* disable-tests.patch
- update to 0.31.0:
* Separated cache loading from I/O in ServiceInfo and fixed cache
lookup (#356), thanks to J. Nick Koston.
The ServiceInfo class gained a load_from_cache() method to only
fetch information from Zeroconf cache (if it exists) with no IO
performed. Additionally this should reduce IO in cases where
cache lookups were previously incorrectly failing.
- update to 0.30.0:
* Some nice refactoring work including removal of the Reaper
thread, thanks to J. Nick Koston.
* Fixed a Windows-specific The requested address is not valid in
its context regression, thanks to Timothee ‘TTimo’ Besset and
J. Nick Koston.
* Provided an asyncio-compatible service registration layer (in
the zeroconf.asyncio module), thanks to J. Nick Koston.
OBS-URL: https://build.opensuse.org/request/show/897188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=46
* Loosened service name validation when receiving from the network this lets us handle
some real world devices previously causing errors
* Enabled ignoring duplicated messages which decreases CPU usage
* Fixed spurious AttributeError: module 'unittest' has no attribute 'mock'
* Improved cache reaper performance significantly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=38
* Reduced a time an internal lock is held which should eliminate deadlocks in high-traffic networks.
* Stopped asking questions we already have answers for in cache, thanks to Paul Daumlechner.
* Removed initial delay before querying for service info, thanks to Erik Montnemery.
* Fixed a resource leak connected to using ServiceBrowser with multiple types
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=36
* Improved the logging situation
* Large multi-resource responses are now split into separate packets which fixes a bad
mdns-repeater/ChromeCast Audio interaction ending with ChromeCast Audio crash (and possibly
some others) and improves RFC 6762 compliance, thanks to Greg Badros
* Added a warning presented when the listener passed to ServiceBrowser lacks update_service()
callback
* Added support for finding all services available in the browser example, thanks to Perry Kunder
* Removed previously deprecated ServiceInfo address constructor parameter and property
* Improved readability of logged incoming data, thanks to Erik Montnemery
* Threads are given unique names now to aid debugging, thanks to Erik Montnemery
* Fixed a regression where get_service_info() called within a listener add_service method
would deadlock, timeout and incorrectly return None, fix thanks to Erik Montnemery, but
Matt Saxon and Hmmbob were also involved in debugging it.
* Added support for multiple types to ServiceBrowser, thanks to J. Nick Koston
* Fixed a race condition where a listener gets a message before the lock is created
* Fixed a performance regression introduced in 0.26.0, thanks to J. Nick Koston (this is close in
spirit to an optimization made in 0.24.5 by the same author)
* Fixed a regression where service update listener wasn't called on IP address change (it's called
on SRV/A/AAAA record changes now), thanks to Matt Saxon
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=32
- version update to 0.24.5
* Fixed issues with shared records being used where they shouldn't be (TXT, SRV, A records are
unique now), thanks to Matt Saxon
* Stopped unnecessarily excluding host-only interfaces from InterfaceChoice.all as they don't
forbid multicast, thanks to Andreas Oberritter
* Fixed repr() of IPv6 DNSAddress, thanks to Aldo Hoeben
* Removed duplicate update messages sent to listeners, thanks to Matt Saxon
* Added support for cooperating responders, thanks to Matt Saxon
* Optimized handle_response cache check, thanks to J. Nick Koston
* Fixed memory leak in DNSCache, thanks to J. Nick Koston
* Fixed resetting TTL in DNSRecord.reset_ttl(), thanks to Matt Saxon
* Improved various DNS class' string representations, thanks to Jay Hogg
OBS-URL: https://build.opensuse.org/request/show/782904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=28
- Adjust dependencies and the %check section so the testsuite can
still be executed
- Add patch:
* python-zeroconf-disable-some-tests.patch
- Update to version 0.24.3
* Fixed import-time "TypeError: 'ellipsis' object is not
iterable." on CPython 3.5.2
- Update to version 0.24.2
* Added support for AWDL interface on macOS (needed and used by
the opendrop project but should be useful in general)
* Added missing type hints
- Update to version 0.24.1
* Applied some significant performance optimizations
* Fixed flushing outdated cache entries when incoming record
is unique
* Fixed handling updates of TXT records (they'd not get recorded
previously)
- Update to version 0.24.0
* Added IPv6 support
* Added additional recommended records to PTR responses
* Added handling of ENOTCONN being raised during shutdown when
using Eventlet
* Included the py.typed marker in the package so that type
checkers know to use type hints from the source code
OBS-URL: https://build.opensuse.org/request/show/759821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=26
- version update to 0.22.0
* A lot of maintenance work (tooling, typing coverage and improvements,
spelling)
* Provided saner defaults in ServiceInfo's constructor, thanks to
Jorge Miranda
* Fixed service removal packets not being sent on shutdown, thanks to
Andrew Bonney
* Added a way to define TTL-s through ServiceInfo contructor parameters,
thanks to Andrew Bonney
* Adjusted query intervals to match RFC 6762, thanks to Andrew Bonney
* Made default TTL-s match RFC 6762, thanks to Andrew Bonney
OBS-URL: https://build.opensuse.org/request/show/701007
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=22
- Remove patch which was breaking zeroconf dependency check with python3
(it was making pkg_resources generate a DistributionNotFound exception
because enum34 wasn't found). enum34 is only required by the python2
package, which is what the enum-compat package is all about.
* python-zeroconf-0.19.1-enum34-instead-of-enum-compat.patch
- Require python-enum-compat to require python-enum34 on python2 and
nothing on python3, just as the egg's requires.txt file does.
OBS-URL: https://build.opensuse.org/request/show/577228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=17
* Many improvements to address race conditions and exceptions
during ZC() startup and shutdown, thanks to: morpav, veawor,
justingiorgi, herczy, stephenrauch
* Added more test coverage: strahlex, stephenrauch
* Stephen Rauch contributed:
+ Speed up browser startup
+ Add ZeroconfServiceTypes() query class to discover all
advertised service types
+ Add full validation for service names, types and subtypes
+ Fix for subtype browsing
+ Fix DNSHInfo support
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=3