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

Commit cf544cf

Browse files
github-actions[bot]github-actionssenadirdanielwrobertgigitux
authored
Release: 9.4.4 (#8551)
* Empty commit for release pull request * update readme * Switch to select instead of resolveSelector (#8356) * Mini Cart block - Fix the drawer content height to allow checkout button to show. (#8351) * Add max-height to Mini Cart drawer. By giving the Mini Cart contents a max height with the -webkit-fill-available property, we can ensure that the browser chrome is accounted for on mobile devices. * Add `dvh` and keep `vh` as a fallback for height. By adding `dvh`, we also account for non-webkit mobile browsers that have the same hidden button issue. See #8351 (review) Keeping `vh` as a fallback, along with `-webkit-fill-available` gives us the widest range of support. * update readme with changelog * add testing steps * add pr links to readme * Bumping version strings to new version. * Check for null session before going forward (#8537) * add testing instructions * Empty commit for release pull request * add zip link * Update zip link * update zip link for testing * Bumping version strings to new version. --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Nadir Seghir <[email protected]> Co-authored-by: Daniel W. Robert <[email protected]> Co-authored-by: Luigi <[email protected]> Co-authored-by: Paulo Arromba <[email protected]>
1 parent 077a25d commit cf544cf

File tree

7 files changed

+30
-4
lines changed

7 files changed

+30
-4
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Testing notes and ZIP for release 9.4.4
2+
3+
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/10841444/woocommerce-gutenberg-products-block.zip)
4+
5+
## Feature plugin and package inclusion in WooCommerce
6+
7+
### Check if session is set before returing updated customer address. ([8537](https://github.com/woocommerce/woocommerce-blocks/pull/8537))
8+
9+
1. Install [AvaTax](https://woocommerce.com/products/woocommerce-avatax/) (credentials in secret 7715) and set it up so taxes are applied to your orders. I used a store in the USA and used USA addresses.
10+
2. Install WooCommerce Subscriptions
11+
3. Create a Subscription product and add it to your cart. Then check out.
12+
4. Open the **subscription** in the WP dashboard and from the subscription actions box choose "Process renewal"
13+
5. <img width="319" alt="image" src="https://user-images.githubusercontent.com/5656702/219742801-c2d87718-ddad-4622-a2b2-b9f7eb3befdf.png">
14+
6. There is no error and the sum is correct.
15+

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Every release includes specific testing instructions for new features and bug fi
118118
- [9.4.1](./941.md)
119119
- [9.4.2](./942.md)
120120
- [9.4.3](./943.md)
121+
- [9.4.4](./944.md)
121122

122123
<!-- FEEDBACK -->
123124

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.4.3",
5+
"version": "9.4.4",
66
"description": "WooCommerce blocks for the Gutenberg editor.",
77
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
88
"keywords": [

readme.txt

Lines changed: 7 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.4.3
7+
Stable tag: 9.4.4
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010

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

8181
== Changelog ==
8282

83+
= 9.4.4 - 2023-02-27 =
84+
85+
#### Bug Fixes
86+
87+
- Check if session is set before returing updated customer address. ([8537](https://github.com/woocommerce/woocommerce-blocks/pull/8537))
88+
8389
= 9.4.3 - 2023-02-01 =
8490

8591
#### 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.4.3';
112+
$version = '9.4.4';
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
@@ -256,6 +256,10 @@ public function flush_cache( $settings ) {
256256
* @return array
257257
*/
258258
public function filter_taxable_address( $address ) {
259+
260+
if ( null === WC()->session ) {
261+
return $address;
262+
}
259263
// We only need to select from the first package, since pickup_location only supports a single package.
260264
$chosen_method = current( WC()->session->get( 'chosen_shipping_methods', array() ) ) ?? '';
261265
$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.4.3
6+
* Version: 9.4.4
77
* Author: Automattic
88
* Author URI: https://woocommerce.com
99
* Text Domain: woo-gutenberg-products-block

0 commit comments

Comments
 (0)