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

Commit 05c3d57

Browse files
github-actions[bot]github-actionstarhi-saadsenadirnielslange
authored
Release: 9.6.3 (#8552)
* Empty commit for release pull request * Add changelog in readme.txt * Add testing notes * Remove change from testing notes This requires AvaTax credentials for testing. So, we'll test for regressions instead * Check for null session before going forward (#8537) * Fix Payment Options settings crash in the editor (#8535) * Ensure express payment buttons are visible next to each other (#8548) * Update ZIP file * Bumping version strings to new version. --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Saad Tarhi <[email protected]> Co-authored-by: Seghir Nadir <[email protected]> Co-authored-by: Niels Lange <[email protected]>
1 parent 1f86c53 commit 05c3d57

File tree

9 files changed

+42
-6
lines changed

9 files changed

+42
-6
lines changed

assets/js/blocks/cart-checkout-shared/payment-methods/express-payment/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ $border-radius: 5px;
8888

8989
.wc-block-components-express-payment__event-buttons {
9090
> li {
91+
box-sizing: border-box;
9192
display: inline-block;
9293
width: 50%;
9394
}

assets/js/editor-components/external-link-card/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { __ } from '@wordpress/i18n';
55
import { Icon, external } from '@wordpress/icons';
66
import { VisuallyHidden } from '@wordpress/components';
77
import { sanitizeHTML } from '@woocommerce/utils';
8-
import { alert } from '@woocommerce/icons';
8+
import { Alert } from '@woocommerce/icons';
99

1010
/**
1111
* Internal dependencies
@@ -50,7 +50,7 @@ const ExternalLinkCard = ( {
5050
) }
5151
{ warning ? (
5252
<span className="wc-block-editor-components-external-link-card__warning">
53-
<Icon icon={ alert } />
53+
<Icon icon={ <Alert status="error" /> } />
5454
<span>{ warning }</span>
5555
</span>
5656
) : null }
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Testing notes and ZIP for release 9.6.3
2+
3+
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/10841107/woocommerce-gutenberg-products-block.zip)
4+
5+
6+
## WooCommerce Core
7+
8+
### Fix the Checkout Blocks "Payment Options" settings crash in the editor. ([8535](https://github.com/woocommerce/woocommerce-blocks/pull/8535))
9+
10+
1. Install and enable an incompatible payment gateway plugin with the `Cart` & `Checkout` Blocks. (e.g., [IDPay Payment Gateway for Woocommerce](https://wordpress.org/plugins/woo-idpay-gateway/))
11+
2. Create a new page and add the `Checkout` Block
12+
3. Select the Checkout Block or any of its Inner Blocks (except for the `Payment Options` Inner Block). Ensure our incompatible payment gateway (e.g., IDPay) is listed under the incompatible gateways notice:
13+
14+
<img width="500" alt="image" src="https://user-images.githubusercontent.com/14235870/221174704-1d12e2bc-6c6c-4089-a2d2-a7bedc7f55c3.png">
15+
16+
4. Select the `Payment Options` Inner Block. Ensure its settings are correctly displayed, the incompatible gateways notice is showing and our incompatible payment Gateway is highlighted under `Settings -> Block -> Methods`
17+
18+
<img width="500" alt="image" src="https://user-images.githubusercontent.com/14235870/221178227-e4e12f08-dd88-4aac-824c-3990bde13a89.png">
19+
20+
| Before | After |
21+
| ------ | ----- |
22+
| <img width="1874" alt="image" src="https://user-images.githubusercontent.com/14235870/221171831-6245b687-a377-4730-92ab-8710360ee060.png"> | <img width="1208" alt="image" src="https://user-images.githubusercontent.com/14235870/221178227-e4e12f08-dd88-4aac-824c-3990bde13a89.png"> |

docs/internal-developers/testing/releases/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Every release includes specific testing instructions for new features and bug fi
121121
- [9.6.0](./960.md)
122122
- [9.6.1](./961.md)
123123
- [9.6.2](./962.md)
124+
- [9.6.3](./963.md)
124125

125126

126127
<!-- FEEDBACK -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@woocommerce/block-library",
33
"title": "WooCommerce Blocks",
44
"author": "Automattic",
5-
"version": "9.6.2",
5+
"version": "9.6.3",
66
"description": "WooCommerce blocks for the Gutenberg editor.",
77
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
88
"keywords": [

readme.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
44
Requires at least: 6.1.1
55
Tested up to: 6.1.1
66
Requires PHP: 7.2
7-
Stable tag: 9.6.2
7+
Stable tag: 9.6.3
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -80,6 +80,14 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
8080

8181
== Changelog ==
8282

83+
= 9.6.3 - 2023-02-27 =
84+
85+
#### Bug Fixes
86+
87+
- Fix: Ensure that Express Payment buttons are visible next to each other. ([8548](https://github.com/woocommerce/woocommerce-blocks/pull/8548))
88+
- Check if session is set before returning updated customer address. ([8537](https://github.com/woocommerce/woocommerce-blocks/pull/8537))
89+
- Fix the Checkout Blocks "Payment Options" settings crash in the editor. ([8535](https://github.com/woocommerce/woocommerce-blocks/pull/8535))
90+
8391
= 9.6.2 - 2023-02-22 =
8492

8593
#### Bug Fixes

src/Package.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static function container( $reset = false ) {
109109
NewPackage::class,
110110
function ( $container ) {
111111
// leave for automated version bumping.
112-
$version = '9.6.2';
112+
$version = '9.6.3';
113113
return new NewPackage(
114114
$version,
115115
dirname( __DIR__ ),

src/Shipping/ShippingController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ public function flush_cache( $settings ) {
283283
* @return array
284284
*/
285285
public function filter_taxable_address( $address ) {
286+
287+
if ( null === WC()->session ) {
288+
return $address;
289+
}
286290
// We only need to select from the first package, since pickup_location only supports a single package.
287291
$chosen_method = current( WC()->session->get( 'chosen_shipping_methods', array() ) ) ?? '';
288292
$chosen_method_id = explode( ':', $chosen_method )[0];

woocommerce-gutenberg-products-block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WooCommerce Blocks
44
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
55
* Description: WooCommerce blocks for the Gutenberg editor.
6-
* Version: 9.6.2
6+
* Version: 9.6.3
77
* Author: Automattic
88
* Author URI: https://woocommerce.com
99
* Text Domain: woo-gutenberg-products-block

0 commit comments

Comments
 (0)