From 535c8c43ce3eaf410652e152f1ca451aaa613638 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:51:20 +1000 Subject: [PATCH] Version 7.7.0 (#720) Co-authored-by: github-actions[bot] --- changelog.txt | 2 +- .../class-wcs-notifications-debug-tool-processor.php | 2 +- includes/class-wc-subscriptions-core-plugin.php | 2 +- .../class-wcs-action-scheduler-customer-notifications.php | 4 ++-- includes/class-wcs-batch-processing-controller.php | 8 ++++---- includes/class-wcs-notifications-batch-processor.php | 2 +- includes/emails/class-wcs-email-customer-notification.php | 2 +- includes/interfaces/interface-wcs-batch-processor.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- woocommerce-subscriptions-core.php | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/changelog.txt b/changelog.txt index 33b0d842c..f931e3612 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,6 @@ *** WooCommerce Subscriptions Core Changelog *** -= 7.7.0 - xxxx-xx-xx = += 7.7.0 - 2024-11-13 = * Fix - Prevent adding products to the cart if a subscription renewal is already present. * Update - Improved performance of wcs_get_subscription() when querying by product and customer or order. * Update - Improved performance when checking limited subscription product availability. diff --git a/includes/admin/debug-tools/class-wcs-notifications-debug-tool-processor.php b/includes/admin/debug-tools/class-wcs-notifications-debug-tool-processor.php index 7cc057fef..2903c2b3b 100644 --- a/includes/admin/debug-tools/class-wcs-notifications-debug-tool-processor.php +++ b/includes/admin/debug-tools/class-wcs-notifications-debug-tool-processor.php @@ -5,7 +5,7 @@ * * @package WooCommerce Subscriptions * @category Class - * @since x.x.x + * @since 7.7.0 */ class WCS_Notifications_Debug_Tool_Processor implements WCS_Batch_Processor { diff --git a/includes/class-wc-subscriptions-core-plugin.php b/includes/class-wc-subscriptions-core-plugin.php index 033a106a8..c5319cbab 100644 --- a/includes/class-wc-subscriptions-core-plugin.php +++ b/includes/class-wc-subscriptions-core-plugin.php @@ -16,7 +16,7 @@ class WC_Subscriptions_Core_Plugin { * The version of subscriptions-core library. * @var string */ - protected $library_version = '7.6.0'; // WRCS: DEFINED_VERSION. + protected $library_version = '7.7.0'; // WRCS: DEFINED_VERSION. /** * The subscription scheduler instance. diff --git a/includes/class-wcs-action-scheduler-customer-notifications.php b/includes/class-wcs-action-scheduler-customer-notifications.php index c4d93fbf8..4e1b5a65e 100644 --- a/includes/class-wcs-action-scheduler-customer-notifications.php +++ b/includes/class-wcs-action-scheduler-customer-notifications.php @@ -4,7 +4,7 @@ * Scheduler for subscription notifications that uses the Action Scheduler * * @class WCS_Action_Scheduler_Customer_Notifications - * @version x.x.x + * @version 7.7.0 * @package WooCommerce Subscriptions/Classes * @category Class */ @@ -87,7 +87,7 @@ public function get_time_offset( $subscription, $notification_type ) { /** * Offset between a subscription event and related notification. * - * @since x.x.x + * @since 7.7.0 * * @param int $time_offset In seconds * @param WC_Subscription $subscription diff --git a/includes/class-wcs-batch-processing-controller.php b/includes/class-wcs-batch-processing-controller.php index 1ef34ac27..c2c2b239f 100644 --- a/includes/class-wcs-batch-processing-controller.php +++ b/includes/class-wcs-batch-processing-controller.php @@ -18,7 +18,7 @@ * * @package WooCommerce Subscriptions * @category Class - * @since x.x.x + * @since 7.7.0 */ class WCS_Batch_Processing_Controller { /* @@ -130,7 +130,7 @@ private function schedule_watchdog_action( bool $with_delay = false, bool $uniqu /** * Modify the delay interval for the batch processor's watchdog events. * - * @since x.x.x + * @since 7.7.0 * * @param int $delay Time, in seconds, before the watchdog process will run. Defaults to 3600 (1 hour). */ @@ -466,7 +466,7 @@ protected function log_error( \Exception $error, WCS_Batch_Processor $batch_proc * @param array $error_context Context to be passed to the logging function. * @return string The actual error message that will be logged. * - * @since x.x.x + * @since 7.7.0 */ $error_message = apply_filters( 'wcs_batch_processing_log_message', $error_message, $error, $batch_processor, $batch, $error_context ); @@ -487,7 +487,7 @@ private function is_consistently_failing( WCS_Batch_Processor $batch_processor ) * process a batch that has resulted in a failure. Once above this threshold, the processor won't be * re-scheduled and will be removed from the queue. * - * @since x.x.x + * @since 7.7.0 * * @param int $failure_threshold Maximum number of times for the processor to try processing a given batch. * @param WCS_Batch_Processor $batch_processor The processor instance. diff --git a/includes/class-wcs-notifications-batch-processor.php b/includes/class-wcs-notifications-batch-processor.php index 62116c9b8..e244a5504 100644 --- a/includes/class-wcs-notifications-batch-processor.php +++ b/includes/class-wcs-notifications-batch-processor.php @@ -17,7 +17,7 @@ * * @package WooCommerce Subscriptions * @category Class - * @since x.x.x + * @since 7.7.0 */ class WCS_Notifications_Batch_Processor implements WCS_Batch_Processor { diff --git a/includes/emails/class-wcs-email-customer-notification.php b/includes/emails/class-wcs-email-customer-notification.php index f302d3f26..3e5283de3 100644 --- a/includes/emails/class-wcs-email-customer-notification.php +++ b/includes/emails/class-wcs-email-customer-notification.php @@ -6,7 +6,7 @@ * Customer notification email sent to customer when a there's an upcoming payment/expity/free trial expiry. * * @class WCS_Email_Customer_Notification - * @version x.x.x + * @version 7.7.0 * @package WooCommerce/Classes/Emails */ class WCS_Email_Customer_Notification extends WC_Email { diff --git a/includes/interfaces/interface-wcs-batch-processor.php b/includes/interfaces/interface-wcs-batch-processor.php index 5a197b1aa..bf979d473 100644 --- a/includes/interfaces/interface-wcs-batch-processor.php +++ b/includes/interfaces/interface-wcs-batch-processor.php @@ -5,8 +5,8 @@ * Interface for batch data processors. See the WCS_Batch_Processing_Controller class for usage details. * * @package WooCommerce Subscriptions - * @version x.x.x - * @since x.x.x + * @version 7.7.0 + * @since 7.7.0 */ interface WCS_Batch_Processor { diff --git a/package-lock.json b/package-lock.json index 512234a37..ee9ac777a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "woocommerce-subscriptions-core", - "version": "7.6.0", + "version": "7.7.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "woocommerce-subscriptions-core", - "version": "7.6.0", + "version": "7.7.0", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 1a1e12992..fd0e267cb 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "title": "WooCommerce Subscriptions Core", "author": "Automattic", "license": "GPL-3.0-or-later", - "version": "7.6.0", + "version": "7.7.0", "description": "", "homepage": "https://github.com/Automattic/woocommerce-subscriptions-core", "main": "Gruntfile.js", diff --git a/woocommerce-subscriptions-core.php b/woocommerce-subscriptions-core.php index aeffa845e..e20c13d9f 100644 --- a/woocommerce-subscriptions-core.php +++ b/woocommerce-subscriptions-core.php @@ -6,5 +6,5 @@ * Author: Automattic * Author URI: https://woocommerce.com/ * Requires WP: 5.6 - * Version: 7.6.0 + * Version: 7.7.0 */