Problem
The .release-please-manifest.json was updated to version 2.8.0, but the plugin files (wp-graphql.php and constants.php) still showed version 2.7.0. This caused users to see update notices even after installing 2.8.0.
Solution
- Fix version numbers in
wp-graphql.php and constants.php to match manifest (2.8.0)
- Move constant mappings from hardcoded JS to
release-please-config.json for better maintainability
- Add comprehensive test suite for
update-version-constants.js script
- Add integration test that validates all plugins from manifest automatically
- Update documentation for new
constantMap configuration approach
Problem
The
.release-please-manifest.jsonwas updated to version 2.8.0, but the plugin files (wp-graphql.phpandconstants.php) still showed version 2.7.0. This caused users to see update notices even after installing 2.8.0.Solution
wp-graphql.phpandconstants.phpto match manifest (2.8.0)release-please-config.jsonfor better maintainabilityupdate-version-constants.jsscriptconstantMapconfiguration approach