Replace @since n.e.x.t placeholders with 0.5.0#167
Conversation
There was a problem hiding this comment.
Pull request overview
Updates version annotations across the MCP adapter codebase in preparation for the v0.5.0 release by replacing @since n.e.x.t placeholders with @since 0.5.0 (plus a couple of runtime _doing_it_wrong() version strings and one deprecation note).
Changes:
- Replace
@since n.e.x.tplaceholders with@since 0.5.0across PHPDoc blocks in includes/ and tests/. - Update
_doing_it_wrong()“version” parameters fromn.e.x.tto0.5.0where applicable. - Update one deprecation prose note to reference
0.5.0.
Reviewed changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/Unit/Transport/Infrastructure/McpTransportContextTest.php | Update test class PHPDoc @since to 0.5.0. |
| tests/Unit/Core/McpVersionNegotiatorTest.php | Update test class PHPDoc @since to 0.5.0. |
| includes/Transport/Infrastructure/SessionManager.php | Update PHPDoc @since for config option to 0.5.0. |
| includes/Transport/Infrastructure/McpTransportContext.php | Update constructor + validation method @since tags to 0.5.0. |
| includes/Transport/Infrastructure/HttpRequestHandler.php | Update transport context getter + request handling @since tags to 0.5.0. |
| includes/Transport/Infrastructure/HttpRequestContext.php | Update header property @since tag to 0.5.0. |
| includes/Servers/DefaultServerFactory.php | Update _doing_it_wrong() version parameter to 0.5.0. |
| includes/Infrastructure/Observability/FailureReason.php | Update file/class PHPDoc @since tags to 0.5.0. |
| includes/Handlers/Tools/ToolsHandler.php | Update filter/method PHPDoc @since tags to 0.5.0. |
| includes/Handlers/Resources/ResourcesHandler.php | Update filter/method PHPDoc @since tags to 0.5.0. |
| includes/Handlers/Prompts/PromptsHandler.php | Update handler + filters + normalization helpers @since tags to 0.5.0. |
| includes/Handlers/Initialize/InitializeHandler.php | Update negotiation + filter PHPDoc @since tags to 0.5.0. |
| includes/Handlers/HandlerHelperTrait.php | Update helper PHPDoc @since tag to 0.5.0. |
| includes/Domain/Utils/McpValidator.php | Update validator constants/methods @since tags to 0.5.0. |
| includes/Domain/Utils/McpNameSanitizer.php | Update class/method PHPDoc @since tags to 0.5.0. |
| includes/Domain/Utils/ContentBlockHelper.php | Update class PHPDoc @since tag to 0.5.0. |
| includes/Domain/Utils/AbilityArgumentNormalizer.php | Update class/method PHPDoc @since tags to 0.5.0. |
| includes/Domain/Tools/RegisterAbilityAsMcpTool.php | Update builder + filter PHPDoc @since tags to 0.5.0. |
| includes/Domain/Tools/McpToolValidator.php | Update validator constant PHPDoc @since tag to 0.5.0. |
| includes/Domain/Tools/McpTool.php | Update class PHPDoc @since tag to 0.5.0. |
| includes/Domain/Resources/RegisterAbilityAsMcpResource.php | Update deprecation note + PHPDoc @since tags and _doing_it_wrong() version parameter to 0.5.0. |
| includes/Domain/Resources/McpResource.php | Update class PHPDoc @since tag to 0.5.0. |
| includes/Domain/Prompts/RegisterAbilityAsMcpPrompt.php | Update class/properties/methods/filter PHPDoc @since tags to 0.5.0. |
| includes/Domain/Prompts/McpPromptBuilder.php | Update properties/constructor/accessors PHPDoc @since tags to 0.5.0. |
| includes/Domain/Prompts/McpPrompt.php | Update class PHPDoc @since tag to 0.5.0. |
| includes/Domain/Contracts/McpComponentInterface.php | Update interface + method PHPDoc @since tags to 0.5.0. |
| includes/Core/McpVersionNegotiator.php | Update class/method PHPDoc @since tags to 0.5.0. |
| includes/Core/McpServer.php | Update getter PHPDoc @since tag to 0.5.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0362b6a to
39427a6
Compare
All version placeholder tags accumulated during development need the actual release version before tagging v0.5.0. Covers PHPDoc since tags, runtime _doing_it_wrong() version parameters, and deprecation prose.
39427a6 to
5a8e61a
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #167 +/- ##
=========================================
Coverage 88.25% 88.25%
Complexity 1243 1243
=========================================
Files 54 54
Lines 4035 4035
=========================================
Hits 3561 3561
Misses 474 474
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
@since n.e.x.tversion placeholders with@since 0.5.0across 28 PHP files before tagging the v0.5.0 release@sincetags (~88 occurrences), 2 runtime_doing_it_wrong()version parameters, and 1 deprecation prose noteTest plan
n.e.x.tmatches remaining inincludes/andtests/directoriesDefaultServerFactory.phpandRegisterAbilityAsMcpResource.phpverified