From 0c3fa42da1efd36c06caf0b6b49c25abf7ba8c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Priit=20L=C3=A4tt?= Date: Mon, 2 Oct 2023 11:07:13 +0300 Subject: [PATCH 1/2] Support Apple Vision Pro device type --- src/codemagic/apple/resources/enums.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/codemagic/apple/resources/enums.py b/src/codemagic/apple/resources/enums.py index 33075352..99c773c6 100644 --- a/src/codemagic/apple/resources/enums.py +++ b/src/codemagic/apple/resources/enums.py @@ -145,6 +145,7 @@ class ContentRightsDeclaration(ResourceEnum): class DeviceClass(ResourceEnum): APPLE_TV = "APPLE_TV" + APPLE_VISION_PRO = "APPLE_VISION_PRO" APPLE_WATCH = "APPLE_WATCH" IPAD = "IPAD" IPHONE = "IPHONE" @@ -158,6 +159,7 @@ def is_compatible(self, profile_type: ProfileType) -> bool: return self is DeviceClass.MAC else: return self in ( + DeviceClass.APPLE_VISION_PRO, DeviceClass.APPLE_WATCH, DeviceClass.IPAD, DeviceClass.IPOD, From 983c19301313711215baffc34302e59f64a2feb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Priit=20L=C3=A4tt?= Date: Mon, 2 Oct 2023 11:18:32 +0300 Subject: [PATCH 2/2] Bump version and update changelog --- CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- src/codemagic/__version__.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f43da2a2..06f52adc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 0.45.3 +------------- + +**Bugfixes** +- Support Apple Vision Pro devices in App Store Connect API read device information and list devices endpoints. This is done by declaring `APPLE_VISION_PRO` definition in enumeration `codemagic.apple.resources.enums.DeviceClass`. [PR #357](https://github.com/codemagic-ci-cd/cli-tools/pull/357) + Version 0.45.2 ------------- diff --git a/pyproject.toml b/pyproject.toml index 7932d086..8d491a80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "codemagic-cli-tools" -version = "0.45.2" +version = "0.45.3" description = "CLI tools used in Codemagic builds" readme = "README.md" authors = [ diff --git a/src/codemagic/__version__.py b/src/codemagic/__version__.py index 56c21d0e..a093c0a8 100644 --- a/src/codemagic/__version__.py +++ b/src/codemagic/__version__.py @@ -1,5 +1,5 @@ __title__ = "codemagic-cli-tools" __description__ = "CLI tools used in Codemagic builds" -__version__ = "0.45.2.dev" +__version__ = "0.45.3.dev" __url__ = "https://github.com/codemagic-ci-cd/cli-tools" __licence__ = "GNU General Public License v3.0"