You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: changelog.txt
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,24 @@
1
1
*** WooCommerce Subscriptions Core Changelog ***
2
2
3
-
= 8.1.0 - 2025-xx-xx =
3
+
= 8.2.0 - 2025-xx-xx =
4
+
* Update - Increase the number of args accepted by wcs_get_subscriptions(), to bring about parity with wc_get_orders().
5
+
6
+
= 8.1.0 - 2025-03-24 =
4
7
* Update - Improved subscription search performance for WP Post stores by removing unnecessary _order_key and _billing_email meta queries.
5
8
* Update - Make it possible to dispatch the Cancelled Subscription email more than once (when initially set to pending-cancellation, and again when it reaches final cancellation).
6
9
* Update - Reduced duplicate queries when fetching multiple subscription related orders types.
7
10
* Update - Removed unnecessary get_time() calls to reduce redundant get_last_order() queries in the Subscriptions list table.
8
11
* Update - Improved performance on the Orders list table when rendering the Subscription Relationship column.
9
-
* Update - Increase the number of args accepted by wcs_get_subscriptions(), to bring about parity with wc_get_orders().
12
+
* Update - Improved performance of the Generate Related Order Cache tool found under WooCommerce > Status > Tools.
13
+
* Fix - Added support for previewing payment retry emails in WooCommerce email settings.
10
14
* Fix - Updated subscription email item table template to align with WooCommerce 9.7 email improvements.
11
15
* Fix - Prevent PHP warning on cart page shipping method updates by removing unused method: maybe_restore_shipping_methods.
16
+
* Fix - Removed unnecessary setting of renewal order paid date on status transition, relying on WooCommerce core behavior instead.
12
17
* Fix - Ensure the order_awaiting_payment session arg is restored when loading a renewal cart from the session to prevent duplicate orders.
18
+
* Fix - Ensure custom placeholders (time_until_renewal, customers_first_name) are included in customer notification email previews.
19
+
* Fix - For stores with HPOS + compatibility mode enabled, using the bulk delete related orders cache tool was not correctly deleting the meta from the WP Posts table.
20
+
* Fix - Prevent empty strings being saved in related orders cache ID meta when backfilling order data to the WP Posts table.
21
+
* Fix - Correctly load product names with HTML on the cart and checkout shipping rates.
13
22
* Dev - Fix Node version mismatch between package.json and .nvmrc (both are now set to v16.17.1).
// Prior to WC 3.0, we need to update the post date (i.e. the date created) to have a reliable representation of the paid date (both because it was in GMT and because it was always set). That's not needed in WC 3.0, but some plugins and store owners still rely on it being updated, so we want to make it possible to update it with 3.0 also.
114
-
if ( apply_filters( 'wcs_renewal_order_payment_update_date_created', false, $order, $subscriptions ) ) {
115
-
$order->set_date_created( $current_time );
116
-
}
117
-
118
-
// In WC 3.0, only the paid date prop represents the paid date, the post date isn't used anymore, also the paid date is stored and referenced as a MySQL date string in site timezone and a GMT timestamp
119
-
$order->set_date_paid( $current_time );
99
+
// Prior to WC 3.0, we need to update the post date (i.e. the date created) to have a reliable representation of the paid date (both because it was in GMT and because it was always set). That's not needed in WC 3.0, but some plugins and store owners still rely on it being updated, so we want to make it possible to update it with 3.0 also.
100
+
if ( apply_filters( 'wcs_renewal_order_payment_update_date_created', false, $order, $subscriptions ) ) {
0 commit comments