From 204ba5181c27321d9cdc6bf866a8b12e802a45c4 Mon Sep 17 00:00:00 2001 From: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Date: Fri, 14 Oct 2022 15:17:54 +0100 Subject: [PATCH] Update/8.7.0-2 changelog and testing instructions (#7406) * Empty commit for release pull request * Updated changelog. * Minor lint fix. * 8.7.0 Testing instructions * Updated and tidy docs/internal-developers/testing/releases/README.md * Add filter-link-button mixin (#7357) * Set default style to link-button mixin It was identified that we currently have 3 different behaviors for links used in the application. In issue #1778, it was discussed a set of good practices that we should follow in order to obtain consistency between links. Currently, the link-button mixin is already used by the 'Clear all' button in the Active Filters block, so the idea was to increment it with a common pattern (font size small, font-weight normal, underlined by default and not underlined when on hover) that can be reused by other components (for example FilterResetButton). * Change link-button mixin to make it attend the expected default style for links * Replace text-button with link-button mixin in FilterResetButton component * Add new mixin for links in filter blocks * Revert change to link-button mixin to prevent it to affect link buttons on Checkout page * Add filter-link-button mixin that can be used in filter blocks * Remove link-button styles that were moved to filter-link-button mixin By default, link-button mixin styles should have only styles from the text-button mixin and also be underlined. The styles for link button in filter blocks should reside in filter-link-button mixin. * Cherry picked Add filter-link-button mixin #7357 and updated testing instructions * Re-added #7273 to changelog * Correct block name and description (#7354) * Correct block name and description * remove duplicated description for controls blocks * remove duplicated title and desc * Revert "remove duplicated description for controls blocks" This reverts commit ed5417eb0e5191ed2f1def2a04c9e724fe70856a. * removed #7338 from testing instructions and changelog * Updated testing zip package. * Minor formatting fix on the release instructions * change any to or below the express payment method on cart (#7369) * Updated zip. * Add temporary workaround to fix inserting Cart block in WordPress.com (#7367) * remove problematic actions as deps * add inline docs * add todo comment * Cherry picked: Fix a problem that causes an infinite loop when inserting Cart block in wordpress.com (7367) * Updated testing zip. * Bumping version strings to new version. * Empty commit for release pull request * Release: 8.7.1 (#7371) * Empty commit for release pull request * Updated changelog. * Minor lint fix. * 8.7.0 Testing instructions * Updated and tidy docs/internal-developers/testing/releases/README.md * Add filter-link-button mixin (#7357) * Set default style to link-button mixin It was identified that we currently have 3 different behaviors for links used in the application. In issue #1778, it was discussed a set of good practices that we should follow in order to obtain consistency between links. Currently, the link-button mixin is already used by the 'Clear all' button in the Active Filters block, so the idea was to increment it with a common pattern (font size small, font-weight normal, underlined by default and not underlined when on hover) that can be reused by other components (for example FilterResetButton). * Change link-button mixin to make it attend the expected default style for links * Replace text-button with link-button mixin in FilterResetButton component * Add new mixin for links in filter blocks * Revert change to link-button mixin to prevent it to affect link buttons on Checkout page * Add filter-link-button mixin that can be used in filter blocks * Remove link-button styles that were moved to filter-link-button mixin By default, link-button mixin styles should have only styles from the text-button mixin and also be underlined. The styles for link button in filter blocks should reside in filter-link-button mixin. * Cherry picked Add filter-link-button mixin #7357 and updated testing instructions * Re-added #7273 to changelog * Correct block name and description (#7354) * Correct block name and description * remove duplicated description for controls blocks * remove duplicated title and desc * Revert "remove duplicated description for controls blocks" This reverts commit ed5417eb0e5191ed2f1def2a04c9e724fe70856a. * removed #7338 from testing instructions and changelog * Updated testing zip package. * Minor formatting fix on the release instructions * change any to or below the express payment method on cart (#7369) * Updated zip. * Add temporary workaround to fix inserting Cart block in WordPress.com (#7367) * remove problematic actions as deps * add inline docs * add todo comment * Cherry picked: Fix a problem that causes an infinite loop when inserting Cart block in wordpress.com (7367) * Updated testing zip. * Bumping version strings to new version. * Empty commit for release pull request Co-authored-by: github-actions Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Co-authored-by: Alexandre Lara Co-authored-by: Tung Du Co-authored-by: Alex Florisca Co-authored-by: Seghir Nadir * Release: 8.7.2 (#7396) * Empty commit for release pull request * Added readme.txt changelog entry * Update HPOS compatibility snippet (#7395) * 8.7.2 Testing notes * Update testing notes * Update testing notes * Bumped version * Refactor force billing: remove forcedBillingAddress from conditions for showBillingFields (#7393) Co-authored-by: Niels Lange * Updated testing instructions and changelog to include #7393 * Updated testing zip * Bumping version strings to new version. Co-authored-by: github-actions Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Co-authored-by: Alex Florisca Co-authored-by: Tarun Vijwani Co-authored-by: Niels Lange * README.md formatting Co-authored-by: github-actions Co-authored-by: Alexandre Lara Co-authored-by: Tung Du Co-authored-by: Alex Florisca Co-authored-by: Seghir Nadir Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Tarun Vijwani Co-authored-by: Niels Lange --- .../testing/releases/871.md | 15 +++++++++++++ .../testing/releases/872.md | 22 +++++++++++++++++++ .../testing/releases/README.md | 4 +++- readme.txt | 13 +++++++++++ 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 docs/internal-developers/testing/releases/871.md create mode 100644 docs/internal-developers/testing/releases/872.md diff --git a/docs/internal-developers/testing/releases/871.md b/docs/internal-developers/testing/releases/871.md new file mode 100644 index 00000000000..544980b31fa --- /dev/null +++ b/docs/internal-developers/testing/releases/871.md @@ -0,0 +1,15 @@ +# Testing notes and ZIP for release 8.7.1 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/9766268/woocommerce-gutenberg-products-block.zip) + +## Feature plugin and package inclusion in WooCommerce + +### Fixed an issue where JavaScript errors would occur when more than one extension tried to filter specific payment methods in the Cart and Checkout blocks ([7377](https://github.com/woocommerce/woocommerce-blocks/pull/7377)) + +#### User Facing Testing + +1. Install and activate [some-extension-name.zip](https://github.com/woocommerce/woocommerce-blocks/files/9764404/some-extension-name.zip) and [WooCommerce Conditional Shipping and Payments](https://woocommerce.com/products/conditional-shipping-and-payments/). +2. Activate the Cash on Delivery payment method. +3. Go to the Cart block and view the JS console. Ensure you don't see any errors such as `Error when executing callback for cheque in some-extension-name TypeError: namespacedCallbacks[namespace] is not a function`. +4. Go to the Checkout block and check that no similar errors appear. +5. Change your city to `Denver` and ensure the Cash on Delivery method is not available. diff --git a/docs/internal-developers/testing/releases/872.md b/docs/internal-developers/testing/releases/872.md new file mode 100644 index 00000000000..82ba499435b --- /dev/null +++ b/docs/internal-developers/testing/releases/872.md @@ -0,0 +1,22 @@ +# Testing notes and ZIP for release 8.7.2 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/9785242/woocommerce-gutenberg-products-block.zip) + +## Feature plugin and package inclusion in WooCommerce + +### Fixed a problem where Custom Order Tables compatibility declaration could fail due to the unpredictable plugin order load ([7395](https://github.com/woocommerce/woocommerce-blocks/pull/7395)) + +#### User Facing Testing + +1. Refer to [High Performance Order Storage Upgrade Recipe Book](https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book) on how to enable HPOS +2. Ensure no incompatibility warnings are displayed regarding the Blocks plugin + +### Refactor useCheckoutAddress hook to enable "Use same address for billing" option in Editor ([7393](https://github.com/woocommerce/woocommerce-blocks/pull/7393)) + +#### User Facing Testing + +1. Go to `wp-admin/admin.php?page=wc-settings&tab=shipping§ion=options` page. +2. Enable the `Force shipping to the customer billing address` option and save the changes. +3. Go to Checkout block Editor, and confirm `Use same address for billing` toggle is working as expected. +4. Go to the Checkout block front-end, and confirm shipping address form is not visible. +5. Change the billing address, confirm the shipping address in the order summary gets changed, and shipping methods are updated. diff --git a/docs/internal-developers/testing/releases/README.md b/docs/internal-developers/testing/releases/README.md index d860faebed1..a4363c633da 100644 --- a/docs/internal-developers/testing/releases/README.md +++ b/docs/internal-developers/testing/releases/README.md @@ -30,7 +30,7 @@ Every release includes specific testing instructions for new features and bug fi - [4.7.0](./470.md) - [4.8.0](./480.md) - [4.9.0](./490.md) -- [4.9.1](./491.md) + - [4.9.1](./491.md) - [5.0.0](./500.md) - [5.1.0](./510.md) - [5.2.0](./520.md) @@ -92,6 +92,8 @@ Every release includes specific testing instructions for new features and bug fi - [8.5.1](./851.md) - [8.6.0](./860.md) - [8.7.0](./870.md) + - [8.7.1](./871.md) + - [8.7.2](./872.md) diff --git a/readme.txt b/readme.txt index c1caef92d21..29a056ae097 100644 --- a/readme.txt +++ b/readme.txt @@ -79,6 +79,19 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 8.7.2 - 2022-10-13 = + +#### Bug Fixes + +- Fixed a problem where Custom Order Tables compatibility declaration could fail due to the unpredictable plugin order load. ([7395](https://github.com/woocommerce/woocommerce-blocks/pull/7395)) +- Refactor useCheckoutAddress hook to enable "Use same address for billing" option in Editor ([7393](https://github.com/woocommerce/woocommerce-blocks/pull/7393)) + += 8.7.1 - 2022-10-12 = + +#### Bug Fixes + +- Fixed an issue where JavaScript errors would occur when more than one extension tried to filter specific payment methods in the Cart and Checkout blocks. ([7377](https://github.com/woocommerce/woocommerce-blocks/pull/7377)) + = 8.7.0 - 2022-10-10 = #### Enhancements