Repository navigation
Prepare the 0.7.2 release - #460
Conversation
Set the plugin header, McpAdapter::VERSION, and the WordPress.org stable tag to 0.7.2, and replace the development-version annotation with it. Record the unreleased changes in CHANGELOG.md and readme.txt, link the ability input compatibility notes from the migration lists, add the missing @SInCE annotations to AbilityPermissionChecker, and bring the architecture overview in line with the protocol version header rule from #416.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
Codecov Reportâ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #460 +/- ##
=========================================
Coverage 93.13% 93.13%
Complexity 1386 1386
=========================================
Files 60 60
Lines 4023 4023
=========================================
Hits 3747 3747
Misses 276 276
Flags with carried forward coverage won't be shown. Click here to find out more. â View full report in Codecov by Harness. ð New features to boost your workflow:
|
There was a problem hiding this comment.
ðĒ Approval recommended
No active review issues remain for the 0.7.2 release metadata and documentation updates.
No open issues ð
What changed in this PR
Prepares MCP Adapter 0.7.2 for release by aligning version metadata and documenting fixes and compatibility changes already included in the release. No runtime logic changes are introduced beyond the version constant.
Changes:
- Sets release metadata to
0.7.2and finalizes@sinceannotations. - Completes changelogs and the upgrade notice, and links ability-input compatibility guidance.
- Corrects architecture documentation for omitted protocol-version headers in initialized sessions.
| File | Description |
|---|---|
readme.txt |
Updates the stable tag and adds the 0.7.2 changelog and upgrade notice. |
README.md |
Links the 0.7.2 ability-input compatibility notes. |
mcp-adapter.php |
Sets the plugin header version to 0.7.2. |
includes/âTransport/âInfrastructure/âHttpRequestHandler.php |
Finalizes the header-compatibility @since annotation. |
includes/âDomain/âUtils/âAbilityPermissionChecker.php |
Adds class and method @since 0.7.2 annotations. |
includes/âCore/âMcpAdapter.php |
Sets the public version constant to 0.7.2. |
docs/âREADME.md |
Adds the compatibility notes to the migration index. |
docs/âmigration/âability-input-preparation.md |
Identifies 0.7.2 as introducing the preparation behavior. |
docs/âarchitecture/âoverview.md |
Clarifies negotiated-version fallback when a session request omits the header. |
CHANGELOG.md |
Dates the release and records fixes, dependency updates, and documentation changes. |
Review effort: Balanced
What?
Prepare the repository for the 0.7.2 release, covering #379, #407, #415, #416, #422, #423, #444, and #450.
McpAdapter::VERSION, and the WordPress.org stable tag to0.7.2.0.7.2, and add the missing@since 0.7.2annotations toAbilityPermissionChecker, the class that Prepare ability input before MCP permission checks #444 added.2026-11-19and add the missing entries: the protocol version header fix, the WP-CLI help examples, the Jetpack Autoloader update, the site-owner guide changes,CODEOWNERS, and the development dependency updates.README.mdanddocs/README.md, and name the version in the notes.Why?
The tag must package a plugin that reports 0.7.2 consistently through WordPress, the public version constant, and WordPress.org metadata. The release workflow builds the tagged source; it does not update these fields or finalize development annotations.
This is a patch release. Since 0.7.1 no public class, method, hook, or constant is removed or changed. The release has one compatibility change, from #444: a tool or prompt call with missing or invalid input is rejected before
mcp_adapter_pre_tool_callormcp_adapter_pre_prompt_getruns, so one of these filters can no longer supply a required value. Such a call returns an error result that names the input problem. Calls with valid input work as before, and their permission callbacks now receive prepared input. The changelog entry stays underChanged, as #444 added it, and links to the compatibility notes. The WordPress.org changelog and the upgrade notice name the change too.How?
This changes release metadata and documentation only. The PHP changes are the version constant and docblock annotations. Composer and npm manifests have no package version to bump; Composer takes the package version from the Git tag, and the release build supplies that tag through
COMPOSER_ROOT_VERSIONfor Jetpack Autoloader arbitration.The Jetpack Autoloader update from 6.0.1 to 6.0.3 has its own changelog entry because the package ships in the plugin ZIP. The development dependency updates share one
Developerentry.Tested up tostays at 7.1. The local run used WordPress 7.1.5.Testing Instructions
npm run test:phpon WordPress 7.1.5 and PHP 8.3.36: 587 tests, 4,905 assertions, 7 skipped, no failures.npm run lint:php: exit code 0, 67 files, no errors and no warnings.npm run lint:php:stan: no errors.tests/, ranCOMPOSER_ROOT_VERSION=v0.7.2 composer install --no-dev --no-interaction,npm ci, andnpm run plugin-zipon Node 24.22.1.composer validate --strictpasses.php bin/verify-release-manifests.php: every referenced file exists. The plugin header, the stable tag, andMcpAdapter::VERSIONreport 0.7.2, and the Jetpack class manifest uses the normalized version0.7.2.0.tests/files. Its file list differs from the published 0.7.1 ZIP by one file,includes/Domain/Utils/AbilityPermissionChecker.php.git diff --checkpasses.Changelog Entry