diff --git a/.github/workflows/scripts/assets_mcp_smoke.py b/.github/workflows/scripts/assets_mcp_smoke.py index 40b894b..5bf0f29 100644 --- a/.github/workflows/scripts/assets_mcp_smoke.py +++ b/.github/workflows/scripts/assets_mcp_smoke.py @@ -642,7 +642,7 @@ def start(workers: str = "assets,review_submissions", read_only: bool = False) - def main() -> int: parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("--binary", required=True, help="Previously built candidate asc-mcp executable") - parser.add_argument("--expected-version", default="4.2.0") + parser.add_argument("--expected-version", default="4.3.0") arguments = parser.parse_args() try: report = run(arguments) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c08477..0048515 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.3.0] - 2026-11-07 + ### Added - Add 23 subscription retention messaging tools in `SubscriptionsWorker` (`subscriptions_*`) covering App Store Connect API 4.6 retention messages (`list`, `get`, `create`, `delete`), versions (`list`, `get`, `create`), localizations (`list`, `get`, `create`, `update`, `delete`) with Apple header/body/emoji/price-mention preflight validation, retention offers (`list`, `get`, `create`, `update`, `delete`, `list_retention_offer_prices`), and subscription retention relationships (`list_retention_message_subscriptions`, `get_retention_message_for_subscription`, `set_retention_message`, `add_retention_message_offers`, `remove_retention_message_offers`). -- Extend `AssetsWorker` (`assets_*`) to support `retentionMessageVersion` (`feature = "RETENTION_MESSAGING"`) image placements via Apple's to-one `/v1/retentionMessageVersions/{id}/placement` endpoint, with app-scoped ownership verification and explicit rejection of video placements and multi-placement reordering. +- Extend `AssetsWorker` (`assets_*`) to support `retentionMessageVersion` (`feature = "RETENTION_MESSAGING"`) image placements via Apple's to-one `/v1/retentionMessageVersions/{id}/placement` endpoint, with multi-page app-scoped ownership verification and explicit rejection of video placements and multi-placement reordering. - Extend `ReviewSubmissionsWorker` (`review_submissions_*`) to support `retention_message_version_id` (`retentionMessageVersion` / `retentionMessageVersions`) in review submission item assembly and reads. - Pin the official Apple 4.6 OpenAPI specification (`1,027` paths, `1,337` operations) and update the operation manifest (`537` public tools, `528` mapped operations, `440` waived, `369` scope-rule out of scope, `4,562` classified optional inputs with `0` unclassified). +### Fixed + +- Preserve `include=territory,subscriptionPricePoint` and related `fields[...]` projections across initial and continuation requests in `subscriptions_list_retention_offer_prices`, and bind all 6 retention list handlers to `HTTPClient.getPage` with `PaginationScope` validation. +- Allow Plane 2 CJK Unified Ideographs Extension B+ characters (such as `𠮷` `U+20BB7`) in metadata and retention copy validation while rejecting single and compound emoji sequences (`U+FE0F`, `U+20E3`). +- Route `JWTService` debug token diagnostics to `stderr` so debug builds preserve a clean JSON-RPC `stdout` stream. + +### Compatibility + +- Preserve all 514 existing tool names and 36 `--workers` filter keys; the complete catalog now has 537 tools. + ## [4.2.0] - 2026-10-19 ### Added diff --git a/README.md b/README.md index 8feb906..da1df7b 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ New here? Follow the [Quick Start](#quick-start). The remaining sections are ref - **Safer automation** — read-only mode, confirmation safeguards, strict pagination, and mutation recovery guidance - **Auditable API coverage** — a versioned Apple OpenAPI contract and release-time drift checks -The source tree prepares **4.2.0**; the installation examples below remain pinned to the last stable release until candidate acceptance and owner publication. See the [migration guide](docs/migrations/4.2.0-asset-library.md) for the separate Asset Library workflow. +The source tree prepares **4.3.0**; the installation examples below remain pinned to the last stable release until candidate acceptance and owner publication. See the [migration guide](docs/migrations/4.2.0-asset-library.md) for the separate Asset Library workflow. ## Platform Support @@ -60,7 +60,7 @@ The recommended setup stores App Store Connect credentials once in a private loc ```bash brew install mint -mint install zelentsov-dev/asc-mcp@v4.2.0 +mint install zelentsov-dev/asc-mcp@v4.3.0 ~/.mint/bin/asc-mcp --version ``` @@ -151,13 +151,13 @@ If the connection or request fails, see [Troubleshooting](#troubleshooting). ```bash brew install mint -mint install zelentsov-dev/asc-mcp@v4.2.0 +mint install zelentsov-dev/asc-mcp@v4.3.0 ``` Update or reinstall the pinned release: ```bash -mint install zelentsov-dev/asc-mcp@v4.2.0 --force +mint install zelentsov-dev/asc-mcp@v4.3.0 --force ``` Stable users should install a version tag. Installing `main` or `develop` is intended only for maintainers and pre-release testing. diff --git a/Sources/asc-mcp/Core/ServerVersion.swift b/Sources/asc-mcp/Core/ServerVersion.swift index 83ff754..8e8c524 100644 --- a/Sources/asc-mcp/Core/ServerVersion.swift +++ b/Sources/asc-mcp/Core/ServerVersion.swift @@ -1,5 +1,5 @@ import Foundation enum ServerVersion { - static let current = "4.2.0" + static let current = "4.3.0" }