From 519fd829490352895019a8948f3c12521db93277 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Nov 2021 11:03:55 +0700 Subject: [PATCH] Release: 6.3.2 (https://github.com/woocommerce/woocommerce-blocks/pull/5178) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Empty commit for release pull request * Update readme.txt with release changelog * Add testing instructions for 6.3.0 release * Update testing instructions as MD tables didn't work * Update testing instructions * Update testing instructions * Update testing instructions * Update readme.txt Co-authored-by: Albert Juhé Lluveras * Update docs/testing/releases/630.md Co-authored-by: Albert Juhé Lluveras * Update readme.txt * Update release zip in testing note * Update testing instructions * Remove feature gate condition for Legacy Template block (https://github.com/woocommerce/woocommerce-blocks/pull/5158) * Update testing instructions * Update testing instructions * Update testing instructions * Update readme.txt * Update testing instructions * Update testing instructions * Update release zip in testing note * Update testing instructions for SE templates * Update testing instructions for SE templates II * Update testing instructions * Bumping version strings to new version. * Empty commit for release pull request * Fix state validation to compare state codes, and only validate if a country is given (https://github.com/woocommerce/woocommerce-blocks/pull/5132) * Only get valid states from wc if there is a country * Shared validation logic which uses keys * Fix 'Country is required' error on the Cart block when updating shipping address (https://github.com/woocommerce/woocommerce-blocks/pull/5129) * Fix error on the Cart block * Created a cartIsHydrated variable in useStoreCart hook and used this to update the billing address in the internal state of the useCustomerData hook * Fix the country is required error on the Cart page using refs * Separate api calls to update shipping and billingUpdate billing and shipping addresses only when needed in API calls * Remove redundant check for customerDataToUpdate * remove use of refs in initial values Co-authored-by: Nadir Seghir * Make order note block removable (https://github.com/woocommerce/woocommerce-blocks/pull/5139) * unforce order note * show block in inserter * Mini Cart block fatal error caused by append_script_and_deps_src (https://github.com/woocommerce/woocommerce-blocks/pull/5142) * Remove unused use statements * Fix types for $script * `get_script_from_handle` might return null so handle this case to prevent errors * Missing escaping * Replace do_action_deprecated with the WC equivalent (https://github.com/woocommerce/woocommerce-blocks/pull/5151) * Remove feature gate condition for Legacy Template block (https://github.com/woocommerce/woocommerce-blocks/pull/5158) * Update readme.txt * Update testing instructions * Bumping version strings to new version. * Empty commit for release pull request * Update readme.txt * Add testing instructions * Add testing notes to README.md * Hide WooCommmerce block templates from Edit Post template dropdown (https://github.com/woocommerce/woocommerce-blocks/pull/5167) * Hide WooCommmerce block templates from Edit Post template dropdown * Add empty post_types value to template and update comments. * Legacy Template Block: Remove the deletion lock (https://github.com/woocommerce/woocommerce-blocks/pull/5166) Previously, our legacy template block was locked to prevent the users from removing it. The block could however be removed by erasing the parent, so this change allows the user to directly remove the block itself. Also: Closes woocommerce/woocommerce-blocks#5163 Closes woocommerce/woocommerce-blocks#5109 * Update release zip * Update release zip * Update testing instructions * Bumping version strings to new version. Co-authored-by: github-actions Co-authored-by: Niels Lange Co-authored-by: Albert Juhé Lluveras Co-authored-by: Michael P. Pfeiffer Co-authored-by: Mike Jolley Co-authored-by: Alex Florisca Co-authored-by: Nadir Seghir Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> Co-authored-by: Tom Cafferkey Co-authored-by: Lucio Giannotta --- .../docs/testing/releases/632.md | 14 ++++++++++++++ .../docs/testing/releases/README.md | 1 + plugins/woocommerce-blocks/readme.txt | 10 ++++++++++ 3 files changed, 25 insertions(+) create mode 100644 plugins/woocommerce-blocks/docs/testing/releases/632.md diff --git a/plugins/woocommerce-blocks/docs/testing/releases/632.md b/plugins/woocommerce-blocks/docs/testing/releases/632.md new file mode 100644 index 00000000000..4f7ed01db38 --- /dev/null +++ b/plugins/woocommerce-blocks/docs/testing/releases/632.md @@ -0,0 +1,14 @@ +## Testing notes and ZIP for release 6.3.2 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/7556942/woocommerce-gutenberg-products-block.zip) + +## Feature plugin and package inclusion in WooCommerce + +### Legacy Template Block: allow users to delete the block. ([5176](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5176)) + +1. Install and activate version 11.9.1 of [the Gutenberg plugin](https://wordpress.org/plugins/gutenberg/). +2. Install and activate a FSE enabled theme, such as [the TT1 Blocks theme](https://wordpress.org/themes/tt1-blocks/). +3. Load the Site Editor (Appearance → Editor). Open the left editor sidebar navigation by clicking the WordPress logo in the top left. In the Templates → General Templates section select the `Product Archive Page` template. +4. Confirm you can load the template in the editor and it looks as expected in large/small viewports. +5. Select the Legacy Template Block and click `Remove WooCommerce Legacy Template`. +6. Confirm that the block gets deleted in the editor. diff --git a/plugins/woocommerce-blocks/docs/testing/releases/README.md b/plugins/woocommerce-blocks/docs/testing/releases/README.md index f38c71b71ab..f45fce27ce8 100644 --- a/plugins/woocommerce-blocks/docs/testing/releases/README.md +++ b/plugins/woocommerce-blocks/docs/testing/releases/README.md @@ -49,3 +49,4 @@ Every release includes specific testing instructions for new features and bug fi - [6.2.0](./620.md) - [6.3.0](./630.md) - [6.3.1](./631.md) + - [6.3.2](./632.md) \ No newline at end of file diff --git a/plugins/woocommerce-blocks/readme.txt b/plugins/woocommerce-blocks/readme.txt index 9aa6ac117f4..351271a08c4 100644 --- a/plugins/woocommerce-blocks/readme.txt +++ b/plugins/woocommerce-blocks/readme.txt @@ -85,6 +85,16 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 6.3.2 - 2021-11-17 = + +#### Enhancements + +- Legacy Template Block: allow users to delete the block. ([5176](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5176)) + +#### Bug Fixes + +- Removed WooCommerce block templates from appearing in the template dropdown for a page or post. ([5167](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5167)) + = 6.3.1 - 2021-11-17 = #### Bug Fixes