From 09aab2cf27c1a197367b9d9416c6f4768eddb5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20St=C3=A5hl?= Date: Tue, 27 Jun 2023 08:43:04 +0200 Subject: [PATCH] Release 0.13.2 --- .github/workflows/release.yml | 2 +- CHANGES.md | 66 +++++++++++++++++++++++++++++++++++ pyatv/const.py | 2 +- 3 files changed, 68 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0870cc3fe..2a8b60d43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,7 +138,7 @@ jobs: notes += line with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as fh: - fh.writelines([f"name={name}", f"version={version}"]) + fh.writelines([f"name={name}\n", f"version={version}\n"]) with open("notes.md", "w", encoding="utf-8") as handle: handle.write(notes) diff --git a/CHANGES.md b/CHANGES.md index d8e8773b9..3ddd2381d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,71 @@ # CHANGES +## 0.13.2 Itchy (2023-06-27) + +Hitting it hard with new releases lately, here's another one: + +* Artwork can now be set when streaming +* Metadata can be overridden only when missing +* New helper method: helpers.is_device_supported +* `bitarray` dependency has been dropped (no longer needed) +* Bug: AirPlay in macOS is ignored until I can support it +* Bug: Improved AirPlay 2 detection + +So, this release makes it possible to provide artwork as part of metadata when +streaming files. It also adds a new flag, `override_missing_metadata`, that +(when set) will use metadata provided by what is streamed but use custom +metadata when some fields are missing. So if `title` is not in the stream, you +can now provide that but still keep things like `album` and `artist` from +the stream. + +A new helper method, `helpers.is_device_support`, has been added that returns +boolean indicating if pyatv can interact with that device or not. + +And some bug fixes. Namely: computers running macOS with AirPlay receiver +enabled (requires macOS 12 or later) are currently ignored as they aren't +supported. I will try to fix that when I can. Also, detection of AirPlay 2 +devices has been improved. Some older devices (like Apple TV 3) was +discovered as AirPlay 2 devices, breaking `stream_file` support. + +**Changes:** + +*Protocol: AirPlay:* + +``` +20a7524 airplay: Fix AirPlay major version detection +703dc74 airplay: Disable AirPlay for macOS +``` + +*Protocol: RAOP:* + +``` +6beda0c raop: Allow setting artwork +7b534d5 raop: Support override missing stream fields +``` + +*Other:* + +``` +70ce630 support: Add missing metadata tests +3f054a0 deps: Remove bitarray code +8ee9b61 helpers: Add is_device_supported +``` + +**All changes:** + +``` +20a7524 airplay: Fix AirPlay major version detection +70ce630 support: Add missing metadata tests +6beda0c raop: Allow setting artwork +7b534d5 raop: Support override missing stream fields +703dc74 airplay: Disable AirPlay for macOS +3f054a0 deps: Remove bitarray code +8ee9b61 helpers: Add is_device_supported +9cbeeae build(deps): Bump bitarray from 2.7.5 to 2.7.6 in /requirements +60b7052 build(deps): Bump pytest from 7.3.2 to 7.4.0 in /requirements +1630694 build(deps): Bump mypy from 1.4.0 to 1.4.1 in /requirements +``` + ## 0.13.1 Homer (2023-06-22) Small patch release coming up! Second generation HomePod has diff --git a/pyatv/const.py b/pyatv/const.py index 807cfb562..6b976b63f 100644 --- a/pyatv/const.py +++ b/pyatv/const.py @@ -5,7 +5,7 @@ MAJOR_VERSION = "0" MINOR_VERSION = "13" -PATCH_VERSION = "1" +PATCH_VERSION = "2" __short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}" __version__ = f"{__short_version__}.{PATCH_VERSION}"