Releases: codemagic-ci-cd/cli-tools
Releases · codemagic-ci-cd/cli-tools
v0.50.1
v0.50.0
Features
- Add new actions to work with bundle identifier capabilities PR #388:
app-store-connect bundle-ids capabilities
to list the capabilities that are enabled for identifier,app-store-connect bundle-ids enable-capabilities
to enable capabilities for identifier,app-store-connect bundle-ids disable-capabilities
to disable capabilities for identifier.
v0.49.0
This release contains changes from PR #386 and PR #387.
Features
- Unify
app-store-connect
command line API experience by gathering similar actions under respective action groups. - New action groups were added to group similar actions together:
app-store-connect bundle-ids
,app-store-connect certificates
,app-store-connect devices
,app-store-connect profiles
.
Deprecations
The following actions are deprecated and show a warning message when invoked:
app-store-connect list-builds
(replaced byapp-store-connect builds list
),app-store-connect create-bundle-id
(replaced byapp-store-connect bundle-ids create
),app-store-connect delete-bundle-id
(replaced byapp-store-connect bundle-ids delete
),app-store-connect get-bundle-id
(replaced byapp-store-connect bundle-ids get
),app-store-connect list-bundle-id-profiles
(replaced byapp-store-connect bundle-ids profiles
),app-store-connect list-bundle-ids
(replaced byapp-store-connect bundle-ids list
),app-store-connect create-certificate
(replaced byapp-store-connect certificates create
),app-store-connect delete-certificate
(replaced byapp-store-connect certificates delete
),app-store-connect get-certificate
(replaced byapp-store-connect certificates get
),app-store-connect list-certificates
(replaced byapp-store-connect certificates list
),app-store-connect list-devices
(replaced byapp-store-connect devices list
),app-store-connect register-device
(replaced byapp-store-connect devices register
),app-store-connect create-profile
(replaced byapp-store-connect profiles create
),app-store-connect delete-profile
(replaced byapp-store-connect profiles delete
),app-store-connect get-profile
(replaced byapp-store-connect profiles get
),app-store-connect list-profiles
(replaced byapp-store-connect profiles list
).
Development
- Decorator
@action
signature was changed. Optional keyword argumentdeprecated_alias: str
was replaced by optionaldeprecation_info: ActionDeprecationInfo
which holds both version in which the action was deprecated, and the deprecated name of the action. - Decorator
@action
definition was moved fromcodemagic.cli.cli_app
tocodemagic.cli.action
. It is still accessible from packagecodemagic.cli
as before.
Documentation
- Remove documentation of deprecated actions:
app-store-connect list-builds
(replaced byapp-store-connect builds list
),app-store-connect create-bundle-id
(replaced byapp-store-connect bundle-ids create
),app-store-connect delete-bundle-id
(replaced byapp-store-connect bundle-ids delete
),app-store-connect get-bundle-id
(replaced byapp-store-connect bundle-ids get
),app-store-connect list-bundle-id-profiles
(replaced byapp-store-connect bundle-ids profiles
),app-store-connect list-bundle-ids
(replaced byapp-store-connect bundle-ids list
),app-store-connect create-certificate
(replaced byapp-store-connect certificates create
),app-store-connect delete-certificate
(replaced byapp-store-connect certificates delete
),app-store-connect get-certificate
(replaced byapp-store-connect certificates get
),app-store-connect list-certificates
(replaced byapp-store-connect certificates list
),app-store-connect list-devices
(replaced byapp-store-connect devices list
),app-store-connect register-device
(replaced byapp-store-connect devices register
),app-store-connect create-profile
(replaced byapp-store-connect profiles create
),app-store-connect delete-profile
(replaced byapp-store-connect profiles delete
),app-store-connect get-profile
(replaced byapp-store-connect profiles get
),app-store-connect list-profiles
(replaced byapp-store-connect profiles list
).
- Add documentation for new action groups:
app-store-connect bundle-ids
,app-store-connect certificates
,app-store-connect devices
,app-store-connect profiles
.
- Update documentation for action groups:
app-store-connect builds
.
- Add documentation for actions:
app-store-connect builds list
(used to beapp-store-connect list-builds
)app-store-connect bundle-ids create
(used to beapp-store-connect create-bundle-id
)app-store-connect bundle-ids get
(used to beapp-store-connect get-bundle-id
)app-store-connect bundle-ids list
(used to beapp-store-connect list-bundle-ids
)app-store-connect bundle-ids profiles
(used to beapp-store-connect list-bundle-id-profiles
)app-store-connect app-store-connect certificates create
(used to beapp-store-connect create-certificate
)app-store-connect app-store-connect certificates delete
(used to beapp-store-connect delete-certificate
)app-store-connect app-store-connect certificates get
(used to beapp-store-connect get-certificate
)app-store-connect app-store-connect certificates list
(used to beapp-store-connect list-certificates
)app-store-connect app-store-connect devices list
(used to beapp-store-connect list-devices
)app-store-connect app-store-connect devices register
(used to beapp-store-connect register-device
)app-store-connect app-store-connect profiles create
(used to beapp-store-connect create-profile
)app-store-connect app-store-connect profiles delete
(used to beapp-store-connect delete-profile
)app-store-connect app-store-connect profiles get
(used to beapp-store-connect get-profile
)app-store-connect app-store-connect profiles list
(used to beapp-store-connect list-profiles
)
v0.48.2
This release contains changes from PR #382
Features
- Speed improvements for
app-store-connect
actionsget-latest-testflight-build-number
,get-latest-app-store-build-number
andapp-store-connect get-latest-build-number
in case the application has a lot of versions in App Store Connect.
Development
- Add new App Store Connect API Client methods:
codemagic.apple.app_store_connect.apps.Apps.list_app_store_versions_data
to fetch application's App Store versions aslist[dict]
,codemagic.apple.app_store_connect.versioning.AppStoreVersions.read_build_data
to fetch build of App Store version asdict
,codemagic.apple.app_store_connect.versioning.PreReleaseVersions.list_data
to fetch pre-release versions aslist[dict]
,codemagic.apple.app_store_connect.versioning.PreReleaseVersions.list_builds_data
to fetch builds of pre-release version aslist[dict]
.
- Move implementations of latest build number actions from
codemagic.tools.AppStoreConnect
to dedicated classes and plug them back in as mixins.
v0.48.1
v0.48.0
This PR contains changes from PR #380
Features
- Add new actions:
app-store-connect app-store-versions get
to show App Store Version information. See official API method documentation.app-store-connect review-submission-items delete
to remove existing review submission item from App Store Connect. See official API method documentation.app-store-connect review-submissions items
to list review submission items of specified review submission. See official API method documentation.
- Add option
--locale
to actionapp-store-connect app-store-versions localizations
to filter retrieved localizations by given specified locales. - Improve error message for action
app-store-connect review-submission-items create
if creating review submission item fails because required values are missing for application default locale on respective App Store Version.
Bugfixes
- Fix invoking action
app-store-connect review-submission-items create
from command line. - Do not require device IDs for action
app-store-connect create-profile
when not creating development or Ad Hoc provisioning profiles.
Development
- Add new module
codemagic.utilities.case_conversion
with public functionssnake_to_camel
andcamel_to_snake
. - Add new client method
list_items
to review submissions resource manager insrc/codemagic/apple/app_store_connect/versioning/review_submissions.py
to retrieve submission items list from App Store Connect. AppStoreConnectError
exceptions now have fieldapi_error: Optional[ErrorResponse]
to store App Store Connect API error information.
Documentation
- Update documentation for action groups
app-store-connect app-store-versions
,app-store-connect review-submissions
,app-store-connect review-submission-items
.
- Add documentation for actions:
app-store-connect app-store-versions get
,app-store-connect review-submissions items
,app-store-connect review-submission-items delete
.
- Update documentation for actions:
app-store-connect app-store-versions localizations
,app-store-connect review-submission-items create
,app-store-connect create-profile
.
v0.47.4
Bugfixes
- Fail gracefully with informative error message if CLI args are passed with invalid encoding. PR #376
- Do not require
--device-ids
for actionapp-store-connect create-profile
when not creating development or ad-hoc provisioning profiles. PR #377 - Fix error handling if device IDs are missing and development or ad-hoc provisioning profiles are being created (applies to actions
app-store-connect create-profile
andapp-store-connect fetch-signing-files
). PR #377 - Fix resolving certificate type for Mac Catalyst and In-House provisioning profiles. PR #378
- Improve error handling for
google-play
actions. Captureoauth2client.client
errors in Google Play API client so that the action fails gracefully with appropriate error message. PR #379
Docs
- Update option
--device-ids
documentation for actionapp-store-connect create-profile
. PR #377