* Empty commit for release pull request

* Update readme.txt with release changelog

* Add testing instructions for 6.2.0 release

* Return an element instead of a component in useViewSwitcher (https://github.com/woocommerce/woocommerce-blocks/pull/5016)

* return element instead of component in viewSwitcher

* use ToolbarGroup instead of Toolbar

(cherry picked from commit ad133ba901)

* Update release zip in testing note

* Bumping version strings to new version.

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Michael P. Pfeiffer <michael@cssconf.eu>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
This commit is contained in:
github-actions[bot] 2021-10-28 09:04:30 +02:00 committed by GitHub
parent ad133ba901
commit 5454667fa6
6 changed files with 72 additions and 4 deletions

View File

@ -0,0 +1,51 @@
## Testing notes and ZIP for release 6.2.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/7431561/woocommerce-gutenberg-products-block.zip)
## Feature Plugin
### Cart v2: The cart block, like checkout block, now supports inner blocks that allow for greater customizability. ([4973](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4973))
1. Insert the Cart block into a new page and smoke test the following functionality:
- Confirm you can select inner blocks in the Cart.
- Change some settings of inner blocks. Preview your changes and make sure they persist on the frontend of your store.
- Using the Cart block's toolbar switch from the Filled Cart to the Empty Cart. Confirm you can switch back and forth between boths states.
- Change the content of the empty cart. Preview your changes and make sure they persist on the frontend of your store.
- Add custom classnames. They should persist on all blocks.
- Change the alignment options. Again, changes should persist.
- On frontend of your store, you should see a loading indicator before seeing your cart.
- On frontend of your store, add an item to your cart. Now when you empty your cart, the cart should change to the empty cart state.
### Fix custom classname support for inner checkout blocks. ([4978](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4978))
1. Smoke test the Checkout block.
2. Confirm you can add classnames to the Checkout block's inner blocks and that they persist on the frontend of your store.
- Select an inner block e.g. the shipping address.
- In the block's sidebar settings, open the Advanced section.
- Add additional CSS class(es).
- Preview the changes on the frontend of your store.
- Inspect the inner block using your browser's developer tools and confirm the class(es) are present.
### Fix a bug in free orders and trial subscription products. ([4955](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4955))
1. Create a free ($0) virtual product. Add only this product to the cart.
3. View the Checkout block on the frontend of your store. The Payment and Express Payment steps shouldn't show.
4. Place the order. You should not see an error.
## Feature plugin and package inclusion in WooCommerce
### Improve accessibility for the editor view of the Product search block. ([4905](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4905))
1. Create a new post and add the Product Search block.
2. Start a Screen reader e.g. toggle VoiceOver on macOS by pressing Command+F5.
3. Select the Search label block and confirm that it's announced as Search label.
### Remove duplicate attributes in saved block HTML. ([4941](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4941))
1. Smoke test that all WooCommerce Blocks render on the frontend of your store.
2. Add the Checkout block to a page and save. Smoke test that it works as expected both in the editor and on the frontend of your store.
### Fix render error of Filter by Attribute block when no attribute is selected. ([4847](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4847))
1. Ensure your store has no product attributes set up. You can delete them on the Products > Attributes page.
2. Create a new product attribute with no products assigned to it.
3. Create a new page and add the Filter by Attribute block.
4. Click the Done button at the bottom of the block without selecting any attribute.
5. Confirm a related warning message appears.
6. Edit the block using the pencil icon in the block toolbar.
7. Select the previously created attribute that isn't assigned to any product.
7. Confirm a different warning message appears.

View File

@ -46,4 +46,5 @@ Every release includes specific testing instructions for new features and bug fi
- [5.9.1](./591.md)
- [6.0.0](./600.md)
- [6.1.0](./610.md)
- [6.2.0](./620.md)

View File

@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "6.2.0-dev",
"version": "6.2.0",
"description": "WooCommerce blocks for the Gutenberg editor.",
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
"keywords": [

View File

@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 7.0
Stable tag: 6.2.0-dev
Stable tag: 6.2.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -85,6 +85,22 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
== Changelog ==
= 6.2.0 - 2021-10-26 =
#### Enhancements
- Cart v2: The cart block, like checkout block, now supports inner blocks that allow for greater customizability. ([4973](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4973))
- BlockTemplateController: Adds the ability to load and manage block template files. ([4981](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4981))
- Improve accessibility for the editor view of the Product search block. ([4905](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4905))
#### Bug Fixes
- Fix custom classname support for inner checkout blocks. ([4978](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4978))
- Fix a bug in free orders and trial subscription products. ([4955](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4955))
- Remove duplicate attributes in saved block HTML. ([4941](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4941))
- Fix render error of Filter by Attribute block when no attribute is selected. ([4847](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4847))
- Store API - Ensure returned customer address state is valid. ([4844](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4844))
= 6.1.0 - 2021-10-12 =
#### Bug Fixes

View File

@ -106,7 +106,7 @@ class Package {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '6.2.0-dev';
$version = '6.2.0';
return new NewPackage(
$version,
dirname( __DIR__ ),

View File

@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Blocks
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
* Description: WooCommerce blocks for the Gutenberg editor.
* Version: 6.2.0-dev
* Version: 6.2.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block