Skip to content

Commit a237dff

Browse files
author
Woo
committed
Updates to 1.8.7
1 parent 3745582 commit a237dff

File tree

681 files changed

+830
-797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

681 files changed

+830
-797
lines changed

changelog.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
*** Xero Integration ***
22

3+
2024-07-01 - version 1.8.7
4+
* Dev - Bump WooCommerce "tested up to" version 9.0.
5+
* Dev - Bump WooCommerce minimum supported version to 8.8.
6+
* Dev - Bump WordPress minimum supported version to 6.4.
7+
* Dev - Update NPM packages and node version to v20 to modernize developer experience.
8+
39
2024-05-20 - version 1.8.6
410
* Dev - Bump WooCommerce "tested up to" version 8.9.
511
* Dev - Bump WooCommerce minimum supported version to 8.7.
@@ -103,9 +109,6 @@
103109
2022-11-01 - version 1.7.50
104110
* Add - Support for Subscriptions with WooCommerce Payments.
105111

106-
2022-xx-xx - version x.x.x
107-
* Add: Subscriptions with WooCommerce Payments compatibility.
108-
109112
2022-10-11 - version 1.7.49
110113
* Fix - Ensure prices and discounts use the same precision value, to avoid Xero errors where the discount is more than the total price.
111114
* Tweak - For variable products, remove item meta from the item description when sending to Xero.

languages/woocommerce-xero.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the same license as the WooCommerce Xero Integration package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: WooCommerce Xero Integration 1.8.6\n"
5+
"Project-Id-Version: WooCommerce Xero Integration 1.8.7\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-xero\n"
7-
"POT-Creation-Date: 2024-05-20 14:07:31+00:00\n"
7+
"POT-Creation-Date: 2024-07-01 14:02:10+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"

lib/packages/firebase/php-jwt/src/BeforeValidException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/CachedKeySet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/ExpiredException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/JWK.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/JWT.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

@@ -209,13 +209,14 @@ public static function encode(
209209
string $keyId = null,
210210
array $head = null
211211
): string {
212-
$header = ['typ' => 'JWT', 'alg' => $alg];
212+
$header = ['typ' => 'JWT'];
213+
if (isset($head) && \is_array($head)) {
214+
$header = \array_merge($header, $head);
215+
}
216+
$header['alg'] = $alg;
213217
if ($keyId !== null) {
214218
$header['kid'] = $keyId;
215219
}
216-
if (isset($head) && \is_array($head)) {
217-
$header = \array_merge($head, $header);
218-
}
219220
$segments = [];
220221
$segments[] = static::urlsafeB64Encode((string) static::jsonEncode($header));
221222
$segments[] = static::urlsafeB64Encode((string) static::jsonEncode($payload));

lib/packages/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88
namespace Automattic\WooCommerce\Xero\Vendor\Firebase\JWT;

lib/packages/firebase/php-jwt/src/Key.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/SignatureInvalidException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 20-May-2024 using Strauss.
5+
* Modified by woocommerce on 01-July-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

0 commit comments

Comments
 (0)