You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Extract app store version submission actions into separate action group
* Add action to create new app store version
* Support App Store version parameters from submit to review action
* Include app store review submission as publishing subaction
* Add more options to ASC publishing
* Fix tests
* Add test for App Store submit from publish action
* Reuse arguments from subactions to publish action
* Fix TestFlight and App Store options
* Use custom argument groups in docs
* Adjust custom argument groups descriptions in docs
* Bump version
* Accept build filters in 'app-store-connect apps builds'
* Define missing attribute
* Accept strings for build version number argument
* Log processing message only in case build is still being processed
* Allow using multiple values for single filter
* Add action to get build's app store version
* Add API client method and CLI action to modify App Store version
* Use existing app store version for submission if possible
* Make platform optional for 'app-store-connect publish' action
* Update docs
* Format logs
* Rename CliActionParserBuilder to ArgumentParserBuilder
* Remove pretty_value method from ResourceEnum
* Add test and docstring for Argument.with_custom_argument_group
* Reformat publish_action
* Make AppStoreVersions.read_build return type optional
* Update docstring for 'create_app_store_version'
* Add changelog
* Update test
* Fix error message when using --exclude and --not-exclude together
* Rename CommonArgumentTypes.iso_8601_date to CommonArgumentTypes.iso_8601_datetime
* Update descriptions for --expired and --not-expired flags
* Fix updating existing app store version
* Fix type hint
* Fix tests
* Rename tests/cli/test_argument.py -> tests/cli/argument/test_argument.py
* Make ISO 8601 timestamp parsing more relaxed and add tests
* Fix setting earliest release date for App Store version
* Add more validation steps to earliest release date
* Fix merge conflict in changelog
Copy file name to clipboardExpand all lines: CHANGELOG.md
+67Lines changed: 67 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,70 @@
1
+
Version 0.13.0
2
+
-------------
3
+
4
+
Additions and changes from [pull request #164](https://github.com/codemagic-ci-cd/cli-tools/pull/164).
5
+
6
+
**Features**
7
+
8
+
- Add new App Store Connect API client method `AppStoreVersions.create` to create an App Store version. See official API method [documentation](https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_store_version).
9
+
- Add new App Store Connect API client method `AppStoreVersions.read_build` to read associated build from an App Store version. See official API method [documentation](https://developer.apple.com/documentation/appstoreconnectapi/read_the_build_information_of_an_app_store_version).
10
+
- Add new App Store Connect API client method `AppStoreVersions.read_app_store_version_submission` to read associated App Store version submission from an App Store version. See official API method [documentation](https://developer.apple.com/documentation/appstoreconnectapi/read_the_app_store_version_submission_information_of_an_app_store_version).
11
+
- Add new App Store Connect API client method `AppStoreVersions.modify` to edit existing App Store version details. See official API method [documentation](https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_store_version).
12
+
- Add new App Store Connect API client method `AppStoreVersions.delete` to delete an App Store version. See official API method [documentation](https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_store_version).
13
+
- Add ability to group optional CLI action arguments into named argument groups.
14
+
- Add new actions group `app-store-versions` to `app-store-connect`.
15
+
- Add new action `app-store-connect app-store-versions create` to create a new App Store version using specified build to an app.
16
+
- Add new action `app-store-connect app-store-versions modify` to update existing App Store version details.
17
+
- Add new action `app-store-connect app-store-versions delete` to remove App Store version.
18
+
- Add option to specify build filters for action `app-store-connect apps builds`.
19
+
- Add new action `app-store-connect builds app-store-version` to get the App Store version of a specific build.
20
+
- Add new action `app-store-connect builds submit-to-app-store` to submit specified build to App Store review. Optionally specify version details and release type.
21
+
- Update `app-store-connect publish` action to allow automatic App Store review submission after binary upload.
22
+
- Use grouped CLI arguments in action `app-store-connect publish` for better help messages and documentation.
23
+
- Add new option `--skip-package-upload` to `app-store-connect publish`.
24
+
- Add short aliases for CLI flags:
25
+
-`-su` for `--skip-package-upload`,
26
+
-`-sv` for `--skip-package-validation`,
27
+
-`-w` for `--max-build-processing-wait`.
28
+
-
29
+
30
+
**Fixes**
31
+
32
+
- Fix creating `Resource` objects that do not have any attributes.
- Allow non-integer version numbers for `--build-version-number`.
35
+
36
+
**Docs**
37
+
38
+
- Update docs for tool `app-store-connect`.
39
+
- Create docs for `app-store-connect` actions group `app-store-versions`.
40
+
- Create docs for action `app-store-connect app-store-versions create`.
41
+
- Create docs for action `app-store-connect app-store-versions delete`.
42
+
- Create docs for action `app-store-connect app-store-versions modify`.
43
+
- Create docs for `app-store-connect` actions group `apps`.
44
+
- Update docs for action `app-store-connect apps app-store-versions`.
45
+
- Update docs for action `app-store-connect apps builds`.
46
+
- Update docs for action `app-store-connect apps list`.
47
+
- Create docs for `app-store-connect` actions group `builds`.
48
+
- Create docs for action `app-store-connect builds app-store-version`.
49
+
- Create docs for action `app-store-connect builds submit-to-app-store`.
50
+
- Update docs for action `app-store-connect builds submit-to-testflight`.
51
+
- Update docs for action `app-store-connect list-builds`.
52
+
- Update docs for action `app-store-connect publish`.
53
+
54
+
**Development**
55
+
56
+
- Support filtering by multiple values for one parameter in `ResourceManager.filter`.
57
+
- Change `ResourceManager._get_update_payload` to accept `relationships` in addition to `attributes`. Make `attributes` and `relationships` arguments keyword-only.
58
+
- Add missing return type hints to resource manger methods that did not have them.
59
+
- Extract argument parser setup from `CliApp` class into separate module under `ArgumentParserBuilder` class.
60
+
- Move `create_app_store_version_submission` and `delete_app_store_version_submission` methods from `AppStoreConnect` class to `AppStoreVersionSubmissionsActionGroup`.
61
+
- Collect `app-store-connect` actions arguments that are used number of times under argument groups to reduce duplication.
62
+
- Refactor `PublishAction` class:
63
+
- extract `publish` action arguments validation into separate method,
### Optional arguments for command `app-store-connect`
20
+
21
+
##### `--log-api-calls`
22
+
23
+
24
+
Turn on logging for App Store Connect API HTTP requests
25
+
##### `--json`
26
+
27
+
28
+
Whether to show the resource in JSON format
29
+
##### `--issuer-id=ISSUER_ID`
30
+
31
+
32
+
App Store Connect API Key Issuer ID. Identifies the issuer who created the authentication token. Learn more at https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api. If not given, the value will be checked from the environment variable `APP_STORE_CONNECT_ISSUER_ID`. Alternatively to entering `ISSUER_ID` in plaintext, it may also be specified using the `@env:` prefix followed by an environment variable name, or the `@file:` prefix followed by a path to the file containing the value. Example: `@env:<variable>` uses the value in the environment variable named `<variable>`, and `@file:<file_path>` uses the value from the file at `<file_path>`.
33
+
##### `--key-id=KEY_IDENTIFIER`
34
+
35
+
36
+
App Store Connect API Key ID. Learn more at https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api. If not given, the value will be checked from the environment variable `APP_STORE_CONNECT_KEY_IDENTIFIER`. Alternatively to entering `KEY_IDENTIFIER` in plaintext, it may also be specified using the `@env:` prefix followed by an environment variable name, or the `@file:` prefix followed by a path to the file containing the value. Example: `@env:<variable>` uses the value in the environment variable named `<variable>`, and `@file:<file_path>` uses the value from the file at `<file_path>`.
37
+
##### `--private-key=PRIVATE_KEY`
38
+
39
+
40
+
App Store Connect API private key used for JWT authentication to communicate with Apple services. Learn more at https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api. If not provided, the key will be searched from the following directories in sequence for a private key file with the name `AuthKey_<key_identifier>.p8`: private_keys, ~/private_keys, ~/.private_keys, ~/.appstoreconnect/private_keys, where <key_identifier> is the value of --key-id. If not given, the value will be checked from the environment variable `APP_STORE_CONNECT_PRIVATE_KEY`. Alternatively to entering `PRIVATE_KEY` in plaintext, it may also be specified using the `@env:` prefix followed by an environment variable name, or the `@file:` prefix followed by a path to the file containing the value. Example: `@env:<variable>` uses the value in the environment variable named `<variable>`, and `@file:<file_path>` uses the value from the file at `<file_path>`.
41
+
##### `--certificates-dir=CERTIFICATES_DIRECTORY`
42
+
43
+
44
+
Directory where the code signing certificates will be saved. Default: `$HOME/Library/MobileDevice/Certificates`
45
+
##### `--profiles-dir=PROFILES_DIRECTORY`
46
+
47
+
48
+
Directory where the provisioning profiles will be saved. Default: `$HOME/Library/MobileDevice/Provisioning Profiles`
49
+
### Common options
50
+
51
+
##### `-h, --help`
52
+
53
+
54
+
show this help message and exit
55
+
##### `--log-stream=stderr | stdout`
56
+
57
+
58
+
Log output stream. Default `stderr`
59
+
##### `--no-color`
60
+
61
+
62
+
Do not use ANSI colors to format terminal output
63
+
##### `--version`
64
+
65
+
66
+
Show tool version and exit
67
+
##### `-s, --silent`
68
+
69
+
70
+
Disable log output for commands
71
+
##### `-v, --verbose`
72
+
73
+
74
+
Enable verbose logging for commands
75
+
### Actions
76
+
77
+
|Action|Description|
78
+
| :--- | :--- |
79
+
|[`create`](app-store-versions/create.md)|Add a new App Store version to an app using specified build.|
80
+
|[`delete`](app-store-versions/delete.md)|Delete specified App Store version from Apple Developer portal|
81
+
|[`modify`](app-store-versions/modify.md)|Update the app store version for a specific app.|
0 commit comments