Skip to content

v3.3.0

Compare
Choose a tag to compare
@mvdwetering mvdwetering released this 17 Jun 12:58
· 400 commits to master since this release

Deprecation notice

(this is a repeat reminder from the 3.2.2 release)

The ynca.Receiver class has been deprecated and replaced with the ynca.Ynca class.
This is to better represent that this library is about the YNCA API.

The ynca.Ynca class is a direct replacement for the deprecated ynca.Receiver class except for the inputs attribute on the ynca.Receiver class. That attribute is not available as such in YNCA and therefore does not belong into a class representing the API. However since it is useful functionality that most clients will need it has been replaced with the ynca.get_all_zone_inputs helper function with takes a ynca.Ynca class as input and returns a dictionary like the inputs attribute did.

There is a backward compatibility ynca.Receiver class in place which still work as before, but logs a deprecation warning.

The ynca.Receiver backward compatibility class will be removed in the next major version (timeframe unknown).

Changes

  • Catch error that could sometimes occur during initialization.
  • Reorganize some interals
  • Improved README
  • Updated example.py to better match the README

Full Changelog: v3.2.2...v3.3.0