* Empty commit for release pull request

* Update readme.txt with the changelog for 5.5.0

* Add testing notes

* Bumping version strings to new version.

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Michael P. Pfeiffer <michael@cssconf.eu>
This commit is contained in:
github-actions[bot] 2021-07-06 10:04:46 +02:00 committed by GitHub
parent b6a1edd62a
commit c454c3f759
6 changed files with 73 additions and 4 deletions

View File

@ -0,0 +1,50 @@
## Testing notes and ZIP for release 5.5.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/6763909/woocommerce-gutenberg-products-block.zip)
## Feature plugin only
### Wrap components in the Cart and Checkout sidebar in a TotalsWrapper. This will ensure consistent spacing and borders are applied to items in the sidebar. ([4415](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4415))
1. Add only virtual products to your cart (i.e. ones that don't need shipping).
2. Go to the Cart and Checkout blocks and verify that there are no double borders or empty sections in the sidebars.
3. Add a product that does need shipping to your cart and go back to the Cart and Checkout blocks. Verify that the Shipping section is present, and again verify that there are no double borders, or empty sections.
4. Go to WooCommerce -> Settings and disable coupons in the store.
5. Go back to the Cart/Checkout blocks and verify there are no double borders or empty sections.
6. In WooCommerce -> Settings -> Tax set the "Calculate tax based on" option to "Customer shipping address". Then ensure you have at least one tax rate set up for a specific country. Also make sure you have no tax rates with a wildcard (*) country name in them.
7. Go to the Cart and Checkout blocks and change your shipping address to be in the country for which you have a tax rate set up. Verify the taxes section shows in the sidebars, and that no double borders or empty sections are present.
8. Change your shipping address to be in a country that your store doesn't have a tax rate for. Verify no empty sections or double borders are present.
## Feature plugin and package inclusion in WooCommerce core
### Add screen reader text to price ranges. ([4367](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4367))
1. View the All Products block.
2. Find a product with a price range (grouped product), e.g. Logo Collection in the default content.
3. Use VoiceOver or screen reader to read the price e.g. using VoiceOver use the Tab key to get to the "View Products" button, then use Control+Option+Left to select the price. It should announce "Price between X and X". Some tools will also read the other price but this is wrapped in aria-hidden so can be ignored.
### Allow HTML in All Products Block Product Titles. ([4363](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4363))
1. Edit a product and add HTML to the title e.g. `<strong>Text</strong>`.
2. View the product within the All Products Block.
3. Confirm the strong tag is rendered, rather than the HTML as a string.
### Ensure product grids display as intended in the editor. ([4424](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4424))
Test in the block editor:
1. Ensure the Gutenberg feature plugin is enabled and up to date.
2. Create a new page.
3. Insert blocks that use the product grid e.g. _Top Rated Products_.
4. Save the page as a draft.
5. Navigate to Pages > All Pages and then select `Edit` on the draft you just saved.
4. Confirm that the number of columns displayed equals the number set in the block settings (Default: 3).
Test in the widget editor:
1. Ensure the Gutenberg feature plugin is enabled and up to date.
2. Go to the Widgets editor in Appearance > Widgets.
3. Go to Sidebar widgets and insert blocks that use the product grid e.g. _Top Rated Products_.
4. Confirm that the number of columns displayed equals the number set in the block settings (Default: 3).
| Before | After |
| - | - |
| ![image](https://user-images.githubusercontent.com/1562646/124119268-983a0c00-da72-11eb-8660-5465e3cbbdd8.png) | ![image](https://user-images.githubusercontent.com/1562646/124119281-9bcd9300-da72-11eb-9a33-3a171e6aa72f.png) |

View File

@ -36,3 +36,4 @@ Every release includes specific testing instructions for new features and bug fi
- [5.3.1](./531.md)
- [5.3.2](./532.md)
- [5.4.0](./540.md)
- [5.5.0](./550.md)

View File

@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "5.5.0-dev",
"version": "5.5.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.5
Tested up to: 5.8
Requires PHP: 7.0
Stable tag: 5.5.0-dev
Stable tag: 5.5.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -85,6 +85,24 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
== Changelog ==
= 5.5.0 - 2021-07-21 =
#### Enhancements
- Add screen reader text to price ranges. ([4367](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4367))
- Allow HTML in All Products Block Product Titles. ([4363](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4363))
#### Bug Fixes
- Ensure product grids display as intended in the editor. ([4424](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4424))
- Wrap components in the Cart and Checkout sidebar in a TotalsWrapper. This will ensure consistent spacing and borders are applied to items in the sidebar. ([4415](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4415))
- Remove `couponName` filter and replace it with `coupons` filter. ([4312](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4312))
- Fix filtering by product type on Store API. ([4422](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4422))
#### Documentation
- Add documentation for the IntegrationInterface which extension developers can use to register scripts, styles, and data with WooCommerce Blocks. ([4394](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4394))
= 5.4.0 - 2021-06-22 =
#### Enhancements

View File

@ -106,7 +106,7 @@ class Package {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '5.5.0-dev';
$version = '5.5.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: 5.5.0-dev
* Version: 5.5.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block