Skip to content

Releases: mvdwetering/ynca

v4.0.0 alpha 2

26 Nov 16:33
Compare
Choose a tag to compare
v4.0.0 alpha 2 Pre-release
Pre-release

(release notes are a work in progress)

What's Changed

Lots of things have moved or have been renamed to better match YNCA terminology, but things should still be recognizable if you used this package before.

Next to making the API more consistent the new implementation also makes adding new functions easier.

Check the README.md and example for an overview of the current state.

These were the guildlines flollowed during the API rewrite:

  • YNCA functions that can be read (and optionally written) are represented as attributes
  • YNCA functions that can only be written are represented with methods
  • YNCA functions where writing results in an action are represented with methods (e.g. vol_up() which would otherwise be part of vol).
  • YNCA functions have the same name on the Python API, but lowercase. Except when not possible due to Python naming restrictions like for 2CHDECODER which starts with a number.

Added functions:

  • Party, PartyVol and PartyMute
  • InitVolMode and InitVolLvl
  • RemoteCode
  • TwoChDecoder
  • PureDirect mode

Full Changelog: v3.11.0...v4.0.0a2

v4.0.0 alpha 1

23 Nov 21:44
Compare
Choose a tag to compare
v4.0.0 alpha 1 Pre-release
Pre-release

(release notes are a work in progress)

Todo

  • Move modelinfo
  • Move server into package
  • test terminal and server or exclude from coverage
  • test connection??
  • Update readme

What is new

(expand on lines below)
This is a breaking change
Easier to extend with more features
Mention API design guidelines with examples

  • function name is attribute name in lowercase
  • write only functions are methods
  • actions are methods
  • map function names directly, no magic
    Mention quicks document

Full Changelog: v3.11.0...v4.0.0a1

v3.11.0

09 Sep 16:19
Compare
Choose a tag to compare

What's Changed

  • Add "RX-V475" modelinfo

Full Changelog: v3.10.0...v3.11.0

v3.10.0

08 Sep 13:41
Compare
Choose a tag to compare

What's Changed

  • Add "5ch Stereo" soundprg

Full Changelog: v3.9.0...v3.10.0

v3.9.0

05 Sep 16:17
Compare
Choose a tag to compare

What's Changed

  • Log all responses in communication_log_items, including error responses like UNDEFINED and RESTRICTED
  • Add send_raw() method to enable sending of raw YNCA commands
  • Fix misc typing info related issues

Full Changelog: v3.8.0...v3.9.0

v3.8.0

21 Aug 12:33
Compare
Choose a tag to compare

What's Changed

  • Renaming of volume related attributes to match YNCA API naming, see deprecations section below for details.
  • min_volume has been removed as it is not provided by the YNCA API

Deprecations

The old attributse will be removed in the next major version, until then backward compatibility code is available.
The following attributes have been renamed to better match the naming in the YNCA protocol.

  • max_volume has been renamed to maxvol
  • volume has been renamed to vol
  • volume_up has been renamed to vol_up
  • volume_down has been renamed to vol_down
  • min_volume has been removed as it is not provided by the YNCA API

For more deprecation notices see older release notes

Full Changelog: v3.7.0...v3.8.0

v3.7.0

20 Aug 18:26
Compare
Choose a tag to compare

What's Changed

  • Added optional communication logging (useful for debugging)
  • Improve ynca_server responses (allows for better testing without real receiver)
  • Added get_inputinfo_list which replaces get_all_zone_inputs

Deprecations

The following attributes have been renamed to better match the naming in the YNCA protocol.
The old attributse will be removed in the next major version, until then backward compatibility code is available.

  • input has been renamed to inp
  • get_inputinfo_list replaces get_all_zone_inputs

For more deprecation notices see older release notes

Full Changelog: v3.6.0...v3.7.0

v3.6.0

17 Jul 18:35
Compare
Choose a tag to compare

What's Changed

  • More robust protocol handling
  • Added get_modelinfo to get supported features for a specific receiver that can not be deduced from the YNCA protocol.
  • get_all_zone_inputs now returns a list of all known inputs if a list of specific inputs for the connected receiver could not be determined
  • Extended SoundPrg list

Deprecations

The following attributes have been renamed to better match the naming in the YNCA protocol.
The old attributse will be removed in the next major version, until then backward compatibility code is available.

  • inputs has been renamed to inp_names
  • name has been renamed to zonename
  • scenes has been renamed to scenenames

For more deprecation notices see older release notes

Full Changelog: v3.5.0...v3.6.0

v3.5.0

15 Jul 20:11
Compare
Choose a tag to compare

Changes

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

Full Changelog: 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).

v3.4.0

17 Jun 18:45
Compare
Choose a tag to compare

Changes

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

Full Changelog: 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).