Skip to content

Releases: codemagic-ci-cd/cli-tools

v0.50.1

10 Jan 14:44
1786101
Compare
Choose a tag to compare

Bugfixes

  • Fix error handling for corrupt Xcresult parsing in xcode-project actions. PR #390

v0.50.0

03 Jan 14:47
6635c5b
Compare
Choose a tag to compare

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

02 Jan 13:23
d3d1ba7
Compare
Choose a tag to compare

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 by app-store-connect builds list),
  • app-store-connect create-bundle-id (replaced by app-store-connect bundle-ids create),
  • app-store-connect delete-bundle-id (replaced by app-store-connect bundle-ids delete),
  • app-store-connect get-bundle-id (replaced by app-store-connect bundle-ids get),
  • app-store-connect list-bundle-id-profiles (replaced by app-store-connect bundle-ids profiles),
  • app-store-connect list-bundle-ids (replaced by app-store-connect bundle-ids list),
  • app-store-connect create-certificate (replaced by app-store-connect certificates create),
  • app-store-connect delete-certificate (replaced by app-store-connect certificates delete),
  • app-store-connect get-certificate (replaced by app-store-connect certificates get),
  • app-store-connect list-certificates (replaced by app-store-connect certificates list),
  • app-store-connect list-devices (replaced by app-store-connect devices list),
  • app-store-connect register-device (replaced by app-store-connect devices register),
  • app-store-connect create-profile (replaced by app-store-connect profiles create),
  • app-store-connect delete-profile (replaced by app-store-connect profiles delete),
  • app-store-connect get-profile (replaced by app-store-connect profiles get),
  • app-store-connect list-profiles (replaced by app-store-connect profiles list).

Development

  • Decorator @action signature was changed. Optional keyword argument deprecated_alias: str was replaced by optional deprecation_info: ActionDeprecationInfo which holds both version in which the action was deprecated, and the deprecated name of the action.
  • Decorator @action definition was moved from codemagic.cli.cli_app to codemagic.cli.action. It is still accessible from package codemagic.cli as before.

Documentation

  • Remove documentation of deprecated actions:
    • app-store-connect list-builds (replaced by app-store-connect builds list),
    • app-store-connect create-bundle-id (replaced by app-store-connect bundle-ids create),
    • app-store-connect delete-bundle-id (replaced by app-store-connect bundle-ids delete),
    • app-store-connect get-bundle-id (replaced by app-store-connect bundle-ids get),
    • app-store-connect list-bundle-id-profiles (replaced by app-store-connect bundle-ids profiles),
    • app-store-connect list-bundle-ids (replaced by app-store-connect bundle-ids list),
    • app-store-connect create-certificate (replaced by app-store-connect certificates create),
    • app-store-connect delete-certificate (replaced by app-store-connect certificates delete),
    • app-store-connect get-certificate (replaced by app-store-connect certificates get),
    • app-store-connect list-certificates (replaced by app-store-connect certificates list),
    • app-store-connect list-devices (replaced by app-store-connect devices list),
    • app-store-connect register-device (replaced by app-store-connect devices register),
    • app-store-connect create-profile (replaced by app-store-connect profiles create),
    • app-store-connect delete-profile (replaced by app-store-connect profiles delete),
    • app-store-connect get-profile (replaced by app-store-connect profiles get),
    • app-store-connect list-profiles (replaced by app-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 be app-store-connect list-builds)
    • app-store-connect bundle-ids create (used to be app-store-connect create-bundle-id)
    • app-store-connect bundle-ids get (used to be app-store-connect get-bundle-id)
    • app-store-connect bundle-ids list (used to be app-store-connect list-bundle-ids)
    • app-store-connect bundle-ids profiles (used to be app-store-connect list-bundle-id-profiles)
    • app-store-connect app-store-connect certificates create (used to be app-store-connect create-certificate)
    • app-store-connect app-store-connect certificates delete (used to be app-store-connect delete-certificate)
    • app-store-connect app-store-connect certificates get (used to be app-store-connect get-certificate)
    • app-store-connect app-store-connect certificates list (used to be app-store-connect list-certificates)
    • app-store-connect app-store-connect devices list (used to be app-store-connect list-devices)
    • app-store-connect app-store-connect devices register (used to be app-store-connect register-device)
    • app-store-connect app-store-connect profiles create (used to be app-store-connect create-profile)
    • app-store-connect app-store-connect profiles delete (used to be app-store-connect delete-profile)
    • app-store-connect app-store-connect profiles get (used to be app-store-connect get-profile)
    • app-store-connect app-store-connect profiles list (used to be app-store-connect list-profiles)

v0.48.2

20 Dec 13:07
3670fa6
Compare
Choose a tag to compare

This release contains changes from PR #382

Features

  • Speed improvements for app-store-connect actions get-latest-testflight-build-number, get-latest-app-store-build-number and app-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 as list[dict],
    • codemagic.apple.app_store_connect.versioning.AppStoreVersions.read_build_data to fetch build of App Store version as dict,
    • codemagic.apple.app_store_connect.versioning.PreReleaseVersions.list_data to fetch pre-release versions as list[dict],
    • codemagic.apple.app_store_connect.versioning.PreReleaseVersions.list_builds_data to fetch builds of pre-release version as list[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

14 Dec 10:22
8987087
Compare
Choose a tag to compare

Bugfixes

  • Fix error handling for invalid App Store Connect API private keys for app-store-connect actions. PR #381

v0.48.0

11 Dec 14:07
a3688de
Compare
Choose a tag to compare

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 action app-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 functions snake_to_camel and camel_to_snake.
  • Add new client method list_items to review submissions resource manager in src/codemagic/apple/app_store_connect/versioning/review_submissions.py to retrieve submission items list from App Store Connect.
  • AppStoreConnectError exceptions now have field api_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

01 Dec 10:48
39d4c62
Compare
Choose a tag to compare

Bugfixes

  • Fail gracefully with informative error message if CLI args are passed with invalid encoding. PR #376
  • Do not require --device-ids for action app-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 and app-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. Capture oauth2client.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 action app-store-connect create-profile. PR #377

v0.47.3

13 Nov 11:57
b68d8cb
Compare
Choose a tag to compare

Bugfixes

  • Fix handling of relative certificate path patterns for action keychain add-certificates. PR #374

v0.47.2

13 Nov 09:29
7f5f2c4
Compare
Choose a tag to compare

Bugfixes

  • Fix actions firebase-app-distribution get-latest-build-version and firebase-app-distribution releases list for cases when specified application does not have any releases available. PR #373

v0.47.1

08 Nov 15:21
00a2689
Compare
Choose a tag to compare

Bugfixes

  • Update action xcode-project use-profiles. Fix assigning provisioning profiles to Xcode targets that have SDK specific provisioning profile specifiers. PR #371
  • Do not crash xcode-project actions clean, build-ipa and run-tests if xcpretty is not installed. PR #372