Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Release: 7.3.0 (#6129)
Browse files Browse the repository at this point in the history
* Empty commit for release pull request

* Updated changelog

* Prepare the Mini Cart block for Feature Plugin (#6127)

* Release notes

* Update plugin url

* Add 730 to README testing

* Remove PR from testing notes and changelog

* Remove PR from testing notes

* Allow memoized filters to re-run if `defaultArg` changes (#6102)

* Check the last defaultArg to decide whether we re-run filters

* Fake commit to make CI run

* Revert change to .gitignore to make CI run

* Update testing instructions

* Update testing instructions

* Update download link

* Bumping version strings to new version.

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: tjcafferkey <tjcafferkey@gmail.com>
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
  • Loading branch information
5 people committed Mar 28, 2022
1 parent b74903c commit f58593a
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 4 deletions.
68 changes: 68 additions & 0 deletions docs/testing/releases/730.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
## Testing notes and ZIP for release 7.3.0

Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/8362307/woocommerce-gutenberg-products-block.zip)

## Feature plugin and package inclusion in WooCommerce

### Filter Products by Attribute: Fix dropdown search case sensitivity [#6096](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6096)

1. Check out this branch and compile the changes
2. Activate a **block theme**, like Twenty Twenty Two
3. Create a new page, and add the **Filter Products by Attribute** block
4. Change the **Display Style** to **Dropdown**
5. In the **Filter Products by Attribute** section select the attribute you want to be filtering by (in my case 'Size')
6. Test the page on the front-end by searching for product attributes
7. Make sure that relevant values are being found for both Uppercase and Lowercase input

### Stop showing the PricesSlider skeleton when moving the slider handles [#6078](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6078)

1. Create a new page with the "All Products" and the "Filter Products by Price" blocks.
2. Go to the page on the front and check that when the `PriceSlider` loads it shows the skeleton like: <img width="692" alt="Screenshot 2022-03-22 at 15 35 15" src="https://user-images.githubusercontent.com/186112/159506769-f7dab64c-21b0-49a7-bd97-7018086a0ea1.png">
3. After it finishes loading, move the slider handles and check it does not show the skeleton on the slider again.

### Rename Legacy Template block to Classic Template block [#6021](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6021)

1. With a block theme active open the site editor.
2. Go to Appearance > Site Editor and select one of the WooCommerce templates (for example Single Product Page).
3. Open the List view and check that `WooCommerce Legacy Template` is now `WooCommerce Classic Template`.
4. Click on it and check that in the right sidebar it also appears as Classic template: `WooCommerce Classic Template
Renders classic WooCommerce PHP templates.`

### Product Ratings: Add Global Styles font size and spacing support [#5927](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5927)

1. Activate a **block theme**, like Twenty Twenty Two
2. Create a new page, and add the **All Products** block
3. Edit the **Product Ratings** block, and make sure the **Typography** and **Dimensions** block settings are present
4. Ensure the **Typography** and **Spacing** customizations work correctly both on the block level and on the Global Styles level

## Feature Plugin

### Prefetch cart and checkout block assets when cart has contents [#5553](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5553)

Users cannot see these changes in an obvious way, so smoke testing should be performed only of the checkout flow.

### Prepare the Mini Cart block for Feature Plugin [#6127](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6127)

With Storefront:

1. Go to Appearance > Widgets.
2. Add a new block to the Sidebar.
3. See the Mini Cart block available inside the inserter.
4. Add the Mini Cart block to the sidebar. Save changes.
5. See the block load and works properly on the front end.

With Twenty Twenty-Two:

1. Edit the Header template part.
2. Can add the block to the header.
3. Save changes.
4. See it load and work properly on the front end.
5. Edit the Mini Cart template part.
6. See the template part containing the Mini Cart Contents block.

### Allow memoized filters to re-run if defaultArg changes [#6102](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6102)

1. Create a coupon in your store.
2. Add this coupon to your order in the Cart block, ensure a snackbar notice appears when adding and removing the coupon.
3. Do this multiple times and ensure the snackbar notice appears each time it changes.
4. Repeat step 2 and 3 in the Checkout block.
1 change: 1 addition & 0 deletions docs/testing/releases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Every release includes specific testing instructions for new features and bug fi
- [7.0.0](./700.md)
- [7.1.0](./710.md)
- [7.2.0](./720.md)
- [7.3.0](./730.md)

<!-- FEEDBACK -->
---
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "7.3.0-dev",
"version": "7.3.0",
"description": "WooCommerce blocks for the Gutenberg editor.",
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
"keywords": [
Expand Down
20 changes: 19 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 7.0
Stable tag: 7.3.0-dev
Stable tag: 7.3.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -86,6 +86,24 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/

== Changelog ==

= 7.3.0 - 2022-03-28 =

#### Enhancements

- Product Ratings: Add Global Styles font size and spacing support. ([5927](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5927))
- Add resource hinting for cart and checkout blocks to improve first time performance. ([5553](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5553))
- Add Mini Cart block to feature plugin ([6127](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6127))
- Allow memoized checkout filters to re-run if the default value changes between runs. ([6102](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6102))

#### Bug Fixes

- Filter Products by Attribute: Make dropdown search case sensitive. ([6096](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6096))
- Stop showing the price slider skeleton when moving the slider handles. ([6078](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6078))

#### Various

- Rename Legacy Template block to Classic Template block. ([6021](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6021))

= 7.2.0 - 2022-03-14 =

#### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion src/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static function container( $reset = false ) {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '7.3.0-dev';
$version = '7.3.0';
return new NewPackage(
$version,
dirname( __DIR__ ),
Expand Down
2 changes: 1 addition & 1 deletion woocommerce-gutenberg-products-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: 7.3.0-dev
* Version: 7.3.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block
Expand Down

0 comments on commit f58593a

Please sign in to comment.