The goal for this project is to test WooCommerce 9.1 RC compatibility with detailed steps for each task of this project noted below:
[ ] Bump WooCommerce “WC Tested up to” to version 9.1 in plugin.php and GitHub Actions (if applicable).
[ ] Bump WooCommerce “WC requires at least” to version 8.9 (as this matches the expected L-2 support policy) in plugin.php and GitHub Actions (if applicable).
[ ] Check/Bump WordPress “Requires at least” to version 6.4 (to match the WP minimum in WC 8.9 in plugin.php and GitHub Actions (if applicable)).
[ ] Check/Bump PHP “Requires PHP” to version 7.4 (to match the PHP minimum in WC 8.9 in plugin.php and GitHub Actions (if applicable)).
[ ] Check other files where the version needs to be bumped - For this the main thing to look for is the function version_compare and then see if we're checking WC versions there or something else. Some plugins also define what WC version we support (sometimes as a minimum) in a constant (see Square as an example). There's not always consistent naming on those constants so really the easiest way to find these is to search the codebase for the version string. Search the last few releases to catch them all. Also, suggest looking at the last PR that bumped versions to copy what was done for those.
[ ] Check if the following needs to be updated: MINIMUM_PHP_VERSION, MINIMUM_WP_VERSION, MINIMUM_WC_VERSION
[ ] Scan for any conditional checks that may be in the code that can be removed with these “Tested up to” and minimum/"Requires" bumps.
[ ] Update e2e to accommodate for latest UI updates to Checkout Block and then run the tests with Woo 9.1 RC. If e2e tests pass then move the issue to UAT. If e2e tests fail, see if that's an issue with the test or compatibility with WC.
[ ] Add compatibility fixes, where necessary
After bumping versions in a PR, we will ensure that e2e tests and overall plugin functionality continues to work as expected via regression testing following defined critical flows (if plugin functional compatibility changes were required).
Project success metrics:
[ ] PR(s) merged to trunk
[ ] Release ZIP created and tagged for release
Sample Changelog entry could then be:
Dev - Bump WooCommerce "tested up to" version 9.1.
Dev - Bump WooCommerce minimum supported version to 8.9.
Dev - Bump WordPress minimum supported version to 6.4.
Dev - Bump PHP minimum supported version to 7.4.
The goal for this project is to test WooCommerce 9.1 RC compatibility with detailed steps for each task of this project noted below:
version_compare
and then see if we're checking WC versions there or something else. Some plugins also define what WC version we support (sometimes as a minimum) in a constant (see Square as an example). There's not always consistent naming on those constants so really the easiest way to find these is to search the codebase for the version string. Search the last few releases to catch them all. Also, suggest looking at the last PR that bumped versions to copy what was done for those.MINIMUM_PHP_VERSION
,MINIMUM_WP_VERSION
,MINIMUM_WC_VERSION
After bumping versions in a PR, we will ensure that e2e tests and overall plugin functionality continues to work as expected via regression testing following defined critical flows (if plugin functional compatibility changes were required).
Project success metrics:
Sample Changelog entry could then be: