Skip to content

Commit

Permalink
Version 7.7.0 (#720)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 13, 2024
1 parent 43a02e7 commit 535c8c4
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-subscriptions-core-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions includes/class-wcs-batch-processing-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @package WooCommerce Subscriptions
* @category Class
* @since x.x.x
* @since 7.7.0
*/
class WCS_Batch_Processing_Controller {
/*
Expand Down Expand Up @@ -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).
*/
Expand Down Expand Up @@ -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 );

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wcs-notifications-batch-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
2 changes: 1 addition & 1 deletion includes/emails/class-wcs-email-customer-notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions includes/interfaces/interface-wcs-batch-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion woocommerce-subscriptions-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
* Author: Automattic
* Author URI: https://woocommerce.com/
* Requires WP: 5.6
* Version: 7.6.0
* Version: 7.7.0
*/

0 comments on commit 535c8c4

Please sign in to comment.