From bff0c792d1aa8c6b35643d0989c1c4dce23f4f0a Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 14 Jan 2019 16:48:26 -0500 Subject: [PATCH 1/5] Add changelog & version bump to 1.3.0-RC --- package.json | 17 +++++++++++++---- readme.txt | 19 ++++++++++++++++++- woocommerce-gutenberg-products-block.php | 4 ++-- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 09128acc978..3f178c9817d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "woocommerceproductsblock", - "title": "WooCommerce Products Block", - "version": "3.3.0", + "name": "woocommerce-product-blocks", + "title": "WooCommerce Blocks", + "version": "1.3.0", "homepage": "https://woocommerce.com/", "repository": { "type": "git", @@ -86,5 +86,14 @@ "composer run-script phpcs" ] } - } + }, + "files": [ + "assets/**", + "build/**", + "includes/**", + "languages/**", + "license.txt", + "readme.txt", + "woocommerce-gutenberg-products-block.php" + ] } diff --git a/readme.txt b/readme.txt index 98d8e877550..14313585b88 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products Requires at least: 4.9 Tested up to: 5.0 Requires PHP: 5.2 -Stable tag: 1.2.0 +Stable tag: 1.3.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -64,6 +64,23 @@ Yes you can! Join in on our [GitHub repository](https://github.com/woocommerce/w == Changelog == +== 1.3.0 - 2019-01-15 = + +- Feature: Added new blocks: "Featured Product", "Hand-picked Products", "Best Selling Products", "Newest Products", "On Sale Products", "Top Rated Products" +- Enhancement: Create new "WooCommerce" block category, all blocks are found there now +- Enhancement: Added a control to "Products by Category" block to control whether products need to match any selected categories or all selected categories +- Fix: Fixed a bug in "Products by Category" block where all products would display if no category was selected +- Legacy block: Remove legacy "Products" block from being shown in the block inserter (still loading the block for an existing uses) +- Legacy block: Fix an issue with imageless products in the legacy "Products" block. +- Components: Add new Control components `ProductControl`, `ProductsControl`, `ProductOrderbyControl` +- Components: Update `SearchListControl` to allow selecting a single item +- API: Add `cat_operator` support to products endpoint +- API: Add product `description` & `short_description` to each product +- API: Add attribute group names to each attribute +- Build: Update packages +- Build: Add cssnano to minify CSS +- Build: Split out node_modules code into separate vendors files + == 1.2.0 - 2018-12-04 = * Feature - Stand-alone product category block with improved category selection interface. * Fix - All users who can edit posts can now use these blocks thanks to a new set of API endpoints allowing view access to products, product categories, and product attributes. diff --git a/woocommerce-gutenberg-products-block.php b/woocommerce-gutenberg-products-block.php index ec1dd0b46c9..d604aa78776 100644 --- a/woocommerce-gutenberg-products-block.php +++ b/woocommerce-gutenberg-products-block.php @@ -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: 1.3.0-dev + * Version: 1.3.0-RC * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woo-gutenberg-products-block @@ -15,7 +15,7 @@ defined( 'ABSPATH' ) || die(); -define( 'WGPB_VERSION', '1.2.0' ); +define( 'WGPB_VERSION', '1.3.0' ); define( 'WGPB_DEVELOPMENT_MODE', true ); From e10f573e38b8ff17ae1d01c8ac54f8ea23e573b9 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 15 Jan 2019 10:28:06 -0500 Subject: [PATCH 2/5] Update changelog phrasing --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 14313585b88..fffb74fd0c7 100644 --- a/readme.txt +++ b/readme.txt @@ -69,7 +69,7 @@ Yes you can! Join in on our [GitHub repository](https://github.com/woocommerce/w - Feature: Added new blocks: "Featured Product", "Hand-picked Products", "Best Selling Products", "Newest Products", "On Sale Products", "Top Rated Products" - Enhancement: Create new "WooCommerce" block category, all blocks are found there now - Enhancement: Added a control to "Products by Category" block to control whether products need to match any selected categories or all selected categories -- Fix: Fixed a bug in "Products by Category" block where all products would display if no category was selected +- Fix: A "Products by Category" block with no category selected will no longer show all products - Legacy block: Remove legacy "Products" block from being shown in the block inserter (still loading the block for an existing uses) - Legacy block: Fix an issue with imageless products in the legacy "Products" block. - Components: Add new Control components `ProductControl`, `ProductsControl`, `ProductOrderbyControl` From 7dc5884e870cf76edd84d7c8e8c7294405041039 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 15 Jan 2019 10:28:31 -0500 Subject: [PATCH 3/5] Update name/version in package-lock --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0b60539468f..e62d77b5faf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "woocommerceproductsblock", - "version": "3.3.0", + "name": "woocommerce-product-blocks", + "version": "1.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { From f224fa30fecf35916f37ab3a1eb1e06e3a8481dd Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 15 Jan 2019 15:33:07 -0500 Subject: [PATCH 4/5] Update readme --- readme.txt | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/readme.txt b/readme.txt index fffb74fd0c7..50af8c737e7 100644 --- a/readme.txt +++ b/readme.txt @@ -10,9 +10,30 @@ License URI: https://www.gnu.org/licenses/gpl-3.0.html == Description == -WooCommerce Blocks are the easiest, most flexible way to display your products on posts and pages! Using the original "Products Block", your displayed products can be filtered by category, sale status, or a variety of other fields. You can even make a custom list of hand-picked products to display. +WooCommerce Blocks are the easiest, most flexible way to display your products on posts and pages! New for version 1.3.0: We've added six new blocks! -New for 1.2.0: We've added a stand-alone Product Category block to simplify the experience and improve the category search and selection UI. Be on the lookout for additional stand-alone blocks in future releases. +**NEW: Featured Product Block** +Select and display a single product in a new, high impact fashion. Control text alignment, hide or show the price and description, add a color overlay, change the button call to action, and override the product photo. + +**NEW: Hand-Picked products Block** +Display a grid of hand picked products. Products can be ordred in various ways. + +**NEW: Best Selling Products Block** +Display a grid of your best selling products, filterable by category. + +**NEW: Top Rated Products Block** +Display a grid of your top rated products, filterable by category. + +**NEW: Newest Products Block** +Display a grid of your newest products, filterable by category. + +**NEW: On Sale Products Block** +Display a grid of on sale products, filterable by category. + +**Products by Category Block** +Display a grid of products from your selected category, or categories. Products can be ordered in various ways. + +We've also improved the category selection filter. If you select two or more categories, you can now chose to show products that include ANY or ALL selected categories. == Getting Started == @@ -57,10 +78,11 @@ Yes you can! Join in on our [GitHub repository](https://github.com/woocommerce/w == Screenshots == -1. The initial Products block. -2. Selecting hand-picked products for the Products block. -3. The completed Products block when inserted into a post. -4. New: Stand-alone Product Category block +1. The Featured Product Block +2. Selecting a product for the Featured Product Block +3. Selecting Products for the Hand-Picked Products Block +4. Selecting categories in the Products By Category block +5. WooCommerce Product Blocks in the block inserter menu == Changelog == From 878717e0f18f6fea69a2581197c0d8923428d534 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 15 Jan 2019 15:33:38 -0500 Subject: [PATCH 5/5] Bump version to 1.3.0 --- woocommerce-gutenberg-products-block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce-gutenberg-products-block.php b/woocommerce-gutenberg-products-block.php index d604aa78776..1d880c95c43 100644 --- a/woocommerce-gutenberg-products-block.php +++ b/woocommerce-gutenberg-products-block.php @@ -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: 1.3.0-RC + * Version: 1.3.0 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woo-gutenberg-products-block