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

Commit

Permalink
Release: 3.3.0 (#3077)
Browse files Browse the repository at this point in the history
* generating changeset for pull request

* generating changeset for pull request

* 3.3.0 changelog + add woocommerce contributor (#3067)

* update min required WooCommerce - 4.2 (out of date!)

* require Woo 4.2+ min (L-2 policy)

* draft test instructions for new feature in 3.3.0

* add testing instructions for 3.3.0 bug fixes

* update TOC for testing instructions and add MIA 3.0-3.2 (!)

* add convenient zip file download to testing instructions

* update zip file - missed `composer install --no-dev` step

* clarify testing instructions for product price block +
+ remove mention of MIA screenshots

* retroactively add release notes for all products child block customization options

* add testing instructions for all products child block changes (3.1.0) +
+ use changelog note for testing headings

* Fix product element styling class names (#3095)

* Update sale badge align class names to match other element blocks

* Update product price align class names to match other element blocks

* Fix Product title alignment class names. Fixes #3094

* Make styling attributes apply to Product title block when it's not a link. Fixes #3093

* Linting fixes

* add changelog note for #3095 + use standard changelog prefixes

* update release date

* update zip file link (new test build ft. #3095)

* Bumping version strings to new version.

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Rua Haszard <rua.haszard@automattic.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
  • Loading branch information
4 people committed Sep 2, 2020
1 parent cdc95c5 commit 8e12715
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 7 deletions.
71 changes: 71 additions & 0 deletions docs/testing/releases/330.md
@@ -0,0 +1,71 @@
## Testing notes and ZIP for release 3.3.0

[![Create Todo list](https://raw.githubusercontent.com/senadir/todo-my-markdown/master/public/github-button.svg?sanitize=true)](https://git-todo.netlify.app/create)

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

### Enhancements <!-- heading -->

#### Cart block: Show express payment methods in the Cart block (for example: Apple Pay, Chrome Pay). <!-- heading -->

- [ ] This feature requires the following:
- [WooCommerce Stripe extension](https://woocommerce.com/products/stripe) installed and active.
- One or more express payment methods supported and enabled on the store and client system (OS, browser). Note that Chrome Pay and Apple Pay are not supported in all regions. Please refer to documentation for Apple Pay and Chrome Pay for more information.
- [ ] Go to `Dashboard > WooCommerce > Settings > Payments` and activate `Stripe – Credit Card`.
- [ ] Click `Manage` button for `Stripe – Credit Card`.
- [ ] Ensure `Payment Request Buttons` checkbox is enabled, and click `Save changes`.
- [ ] Add the Cart block to a page and publish the page (for example, the main store `cart` page).
- [ ] In the editor, the Cart block should show a preview of express payment options (for example, Apple Pay button).
- [ ] View store front end in a browser with an express payment method enabled and configured. For example Chrome or Safari.
- [ ] Add some products to cart.
- [ ] View cart. If express payment is supported and available, you should see relevant express payment buttons above the cart `Proceed to checkout` button.
- Note: if you don't see any express payment options, confirm that they are working in the Checkout block, product page, or shortcode checkout page.
- The cart block should include the same express payment options as other store pages.


### Enhancements (shipped in 3.1.0) <!-- heading -->

The following enhancements shipped in WooCommerce Blocks 3.1.0 but were missed in the changelog. Including testing instructions here.

#### All Products block: Can now customize text size, color and alignment in Product Title child block. <!-- heading -->

- [ ] Add an all products block.
- [ ] Click the `Edit` (pencil icon) button to edit the layout of products within the grid.
- [ ] Select the product title block, or add it if needed.
- [ ] In the block toolbar, change the alignment option to center or right.
- [ ] In the block toolbar, select a different heading level.
- [ ] In the settings inspector, change the text size and colour options.
- [ ] Publish the page or update to save changes.
- [ ] Verify the product title shows as customized in editor and front end.

#### All Products block: Can now customize text size, color and alignment in Product Price child block. <!-- heading -->

- [ ] Add an all products block.
- [ ] Click the `Edit` (pencil icon) button to edit the layout of products within the grid.
- [ ] Select the product price block, or add it if needed.
- [ ] In the block toolbar, change the alignment option to center or right.
- [ ] In the settings inspector, change the text size and colour options.
- [ ] Publish the page or update to save changes.
- [ ] Verify the product price shows as customized in editor and front end.

### Bug Fixes <!-- heading -->

#### Cart block: Fix alignment of discounted prices. <!-- heading -->

- [ ] Add a product on sale to the Cart and visit the Cart block.
- [ ] Verify regular and discounted prices are both aligned to the right.

#### Checkout block: Fix an issue with products sold individually (max of 1 per cart); the Checkout block now shows a notice if shopper attempts to add another instance of product via an add-to-cart link. <!-- heading -->

- Configure your store so the Checkout block is used on the checkout page.
- [ ] Set a `Sold individually` option on a product:
- Edit a product. Note down the product ID.
- Scroll down to `Product data` box, select `Inventory` tab.
- Enable `Sold individually` option, and click `Update` to save changes to the product.
- [ ] As a shopper on front end, add the product to your cart. You should have 1x of the product in your cart.
- [ ] Navigate to a url with add-to-cart URL param for the product ID, for example: `https://one.wordpress.test/checkout/?add-to-cart=19`. This will attempt to add a second item to the cart.
- Note: Replace `one.wordpress.test` with your test site URL and `19` with the ID of the product you modified.
- You can navigate to this URL directly - paste the url. OR you can add a button block linking to the url, simulating a "Buy" button on a landing page for the product.
- [ ] Proceed to checkout block and verify there is an error notice informing shopper why there is a single item in the cart.
- [ ] Ensure the checkout block works correctly and shopper can complete purchase.

4 changes: 4 additions & 0 deletions docs/testing/releases/README.md
Expand Up @@ -6,3 +6,7 @@ Every release includes specific testing instructions for features and bug fixes
- [2.7.1](./271.md)
- [2.8.0](./280.md)
- [2.9.0](./290.md)
- [3.0.0](./300.md)
- [3.1.0](./310.md)
- [3.2.0](./320.md)
- [3.3.0](./330.md)
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "3.3.0-dev",
"version": "3.3.0",
"description": "WooCommerce blocks for the Gutenberg editor.",
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
"keywords": [
Expand Down
15 changes: 12 additions & 3 deletions readme.txt
@@ -1,10 +1,10 @@
=== WooCommerce Blocks ===
Contributors: automattic, claudiulodro, tiagonoronha, jameskoster, ryelle, levinmedia, aljullu, mikejolley, nerrad, joshuawold, assassinateur, haszari
Contributors: automattic, woocommerce, claudiulodro, tiagonoronha, jameskoster, ryelle, levinmedia, aljullu, mikejolley, nerrad, joshuawold, assassinateur, haszari
Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
Requires at least: 5.3
Tested up to: 5.5
Requires PHP: 5.6
Stable tag: 3.3.0-dev
Stable tag: 3.3.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -45,7 +45,7 @@ Use this plugin if you want access to the bleeding edge of available blocks for
= Minimum Requirements =

* WordPress 5.3 or greater
* WooCommerce 4.0 or greater
* WooCommerce 4.2 or greater
* PHP version 5.6 or greater (PHP 7.2 or greater is recommended)
* MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)

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

== Changelog ==

= 3.3.0 - 2020-09-02 =
- enhancement: Show express payment methods in the Cart block (for example: Apple Pay, Chrome Pay). [3004](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3004)
- bug: Fix alignment of discounted prices in Cart block. [3047](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3047)
- bug: Fix an issue with products sold individually (max of 1 per cart); the Checkout block now shows a notice if shopper attempts to add another instance of product via an `add-to-cart` link. [2854](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2854)
- bug: Fixed styling options of the Product Title block (in All Products). [3095](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3095)


= 3.2.0 - 2020-08-17 =
- Fix 'Add new product' link in All Products block 'No products' placeholder. [#2961](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2961)
- Fix an undefined variable PHP notice related to Product REST API. [#2962](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2962)
Expand All @@ -108,6 +115,8 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
- Fix missing permissions_callback arg in StoreApi route definitions [#2926](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2926)
- Fix 'Product Summary' in All Products block is not pulling in the short description of the product [#2913](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/2913)
- dev: Add query filter when searching for a table [#2886](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2886) 👏 @pkelbert
- All Products block: Can now customize text size, color and alignment in Product Title child block. Heading level option is now in block toolbar (was in settings sidebar). [#2860](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2860)
- All Products block: Can now customize text size, color and alignment in Product Price child block. [#2881](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2881)

= 3.0.0 - 2020-07-20 =

Expand Down
2 changes: 1 addition & 1 deletion src/Package.php
Expand Up @@ -101,7 +101,7 @@ public static function container( $reset = false ) {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '3.3.0-dev';
$version = '3.3.0';
return new NewPackage(
$version,
dirname( __DIR__ )
Expand Down
4 changes: 2 additions & 2 deletions woocommerce-gutenberg-products-block.php
Expand Up @@ -3,13 +3,13 @@
* Plugin Name: WooCommerce Blocks
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
* Description: WooCommerce blocks for the Gutenberg editor.
* Version: 3.3.0-dev
* Version: 3.3.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block
* Requires at least: 5.3
* Requires PHP: 5.6
* WC requires at least: 4.0
* WC requires at least: 4.2
* WC tested up to: 4.4
*
* @package WooCommerce\Blocks
Expand Down

0 comments on commit 8e12715

Please sign in to comment.