Ynca

Latest version: v5.14.0

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

Scan your dependencies

Page 6 of 8

3.5.0

Changes

* Add "9ch Stereo" sound program
* Fix "The Bottom Line" sound program

**Full Changelog**: https://github.com/mvdwetering/ynca/compare/v3.4.0...v3.5.0

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).

3.4.0

Changes

* Make it safe to call `connection.close()` at any time
* Avoid exception when connection gets closed while connection

**Full Changelog**: https://github.com/mvdwetering/ynca/compare/v3.3.0...v3.4.0

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).

3.3.0

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**: https://github.com/mvdwetering/ynca/compare/v3.2.2...v3.3.0

3.2.2

Deprecation notice

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

* Introduced `ynca.Ynca` as replacement for `ynca.Receiver` which is now deprecated
* Added backward compatibility `ynca.Receiver` class
* Added `ynca.get_all_zone_inputs` helper function to replace the `input` attribute on `ynca.Receiver`
* Misc minor code cleanups
* Fixed issue with YNCA console import
* Renamed YNCA Console to YNCA terminal
* Updated README and `example.py` for all changes

Note

3.2.0

**Full Changelog**: https://github.com/mvdwetering/ynca/compare/v3.1.0...v3.2.2

3.1.0

* Return copies of dictionaries instead of references to internal structures
* Include typing info in package

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.