Update changelog and release notes

This commit is contained in:
Thomas Roberts 2023-08-22 17:11:07 +01:00
parent 1868b62ba0
commit d556d649ba
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# Testing notes and ZIP for release 10.6.6
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/12408734/woocommerce-gutenberg-products-block.zip)
## Should be tested by the development team exclusively
### Bug fixes
#### Fix inconsistent new install behaviour for templates when using block themes [#10608](https://github.com/woocommerce/woocommerce-blocks/pull/10608)
1. Get a new env ready to install WP/WC using WP-CLI. You can use this [quick docker setup](https://github.com/woocommerce/woocommerce-blocks/files/12394720/new-test-env.zip)
2. Alias or copy this branch, built ready to use as a plugin into the env
3. Using WP-CLI set up WC using the following command sequence (alter args to suit your case)
````bash
wp config create --dbname=wordpress --dbuser=wordpress --dbpass=wordpress --dbhost=db --force
wp core install --url=http://localhost --title='WP Staging' --admin_user=admin --admin_password=pass --admin_email=admin@wp.loc
wp option set blog_public 0
wp plugin activate woocommerce-blocks
wp plugin install woocommerce --version=6.0.0
wp plugin activate woocommerce
wp plugin install wordpress-importer --activate
wp import ./wp-content/plugins/woocommerce/sample-data/sample_products.xml --authors=skip
wp plugin update woocommerce
````
4. Visit the store for the first time, head to Appearance > Editor > Templates > Manage all templates verify that Cart and Checkout have customizations saved
5. Open each one and verify they contain the shortcode version
6. Test the complete checkout flow.
#### Fix: Made migration migrate block templates in the current theme [#10641](https://github.com/woocommerce/woocommerce-blocks/pull/10641)
1. Install a theme that uses block templates. In my case I used FotaWP.
2. Go to Appearance > Edit > Templates and reset the cart/checkout templates to default.
3. Delete has_migrated_cart and has_migrated_checkout options from your options database.
4. View a page on the store.
5. Confirm by viewing the cart and checkout pages that they inherited the block template from the theme. In this case for instance, instead of the default distraction free template we had, you'll see something like this:
![Screenshot 2023-08-17 at 12 55 00](https://github.com/woocommerce/woocommerce-blocks/assets/90977/bf55ff6c-e8f7-440e-99ed-ec1e676a988b)

View File

@ -164,6 +164,7 @@ Every release includes specific testing instructions for new features and bug fi
- [10.6.3](./1063.md)
- [10.6.4](./1064.md)
- [10.6.5](./1065.md)
- [10.6.6](./1066.md)
- [10.7.0](./1070.md)
- [10.8.0](./1080.md)
- [10.8.1](./1081.md)

View File

@ -222,6 +222,13 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
- Fix image overlapping in mobile in the Editor for the `Discount banner with image`. ([10108](https://github.com/woocommerce/woocommerce-blocks/pull/10108))
- Fix: Return null or object for ImageAttachmentSchema response. ([9962](https://github.com/woocommerce/woocommerce-blocks/pull/9962))
= 10.6.6. - 2023-08-22 =
#### Bug Fixes
- Fix: Made migration migrate block templates in the current theme. (https://github.com/woocommerce/woocommerce-blocks/pull/10641)
- Fixed a bug causing Cart and Checkout Blocks to be used by default instead of shortcode versions on WC updates. (https://github.com/woocommerce/woocommerce-blocks/pull/10608)
= 10.6.5 - 2023-08-09 =
#### Bug Fixes