Skip to content

Prepare the 0.7.2 release - #460

Merged
galatanovidiu merged 1 commit into
trunkfrom
release/0.7.2
Nov 19, 2026
Merged

galatanovidiu merged 1 commit into
trunkfrom
release/0.7.2

Conversation

@galatanovidiu

@galatanovidiu galatanovidiu commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

What?

Prepare the repository for the 0.7.2 release, covering #379, #407, #415, #416, #422, #423, #444, and #450.

  • Set the plugin header, McpAdapter::VERSION, and the WordPress.org stable tag to 0.7.2.
  • Replace the one development-version annotation with 0.7.2, and add the missing @since 0.7.2 annotations to AbilityPermissionChecker, the class that Prepare ability input before MCP permission checks #444 added.
  • Date the changelog section 2026-11-19 and 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.
  • Add the WordPress.org changelog and a 261-character upgrade notice.
  • Link the ability input compatibility notes from the migration lists in README.md and docs/README.md, and name the version in the notes.
  • Correct the architecture overview, which still described the protocol version header rule from before Use the negotiated version when MCP-Protocol-Version is absent #416.

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_call or mcp_adapter_pre_prompt_get runs, 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 under Changed, 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_VERSION for 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 Developer entry.

Tested up to stays at 7.1. The local run used WordPress 7.1.5.

Testing Instructions

  • npm run test:php on 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.
  • Built a disposable production copy of the branch commit as the release workflow does: removed tests/, ran COMPOSER_ROOT_VERSION=v0.7.2 composer install --no-dev --no-interaction, npm ci, and npm run plugin-zip on Node 24.22.1. composer validate --strict passes.
  • Extracted the ZIP and ran php bin/verify-release-manifests.php: every referenced file exists. The plugin header, the stable tag, and McpAdapter::VERSION report 0.7.2, and the Jetpack class manifest uses the normalized version 0.7.2.0.
  • The ZIP has 331 entries and no tests/ files. Its file list differs from the published 0.7.1 ZIP by one file, includes/Domain/Utils/AbilityPermissionChecker.php.
  • No development-version placeholders remain in source or tests, the upgrade notice is 261 characters, and git diff --check passes.

Changelog Entry

Developer - Prepare version metadata, release annotations, and documentation for 0.7.2.

Open WordPress Playground Preview

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.
@galatanovidiu
galatanovidiu requested a review from a team as a code owner November 19, 2026 15:19
Copilot AI balanced review requested due to automatic review settings November 19, 2026 15:19
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

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.

Co-authored-by: galatanovidiu <ovidiu-galatan@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@codecov

codecov Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.13%. Comparing base (db5181a) to head (94a87b7).

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           
Flag Coverage Δ
unit 93.13% <Ãļ> (Ãļ)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
ðŸ“Ē Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄ïļ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • ðŸ“Ķ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ðŸŸĒ 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.2 and finalizes @since annotations.
  • 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

@galatanovidiu
galatanovidiu merged commit 6f10591 into trunk Nov 19, 2026
40 checks passed
@galatanovidiu
galatanovidiu deleted the release/0.7.2 branch November 19, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants