classes
11 months ago
deprecated
1 year ago
lib
1 year ago
action-scheduler.php
11 months ago
changelog.txt
11 months ago
functions.php
11 months ago
license.txt
6 years ago
readme.txt
11 months ago
changelog.txt
201 lines
| 1 | *** Changelog *** |
| 2 | |
| 3 | = 3.9.3 - 2025-07-15 = |
| 4 | * Add hook 'action_scheduler_ensure_recurring_actions' specifically for scheduling recurring actions. |
| 5 | * Assume an action is valid until proven otherwise. |
| 6 | * Implement SKIP LOCKED during action claiming. |
| 7 | * Import `get_flag_value()` from `WP_CLI\Utils` before using. |
| 8 | * Make `$unique` available to all pre-creation/short-circuit hooks. |
| 9 | * Make version/source information available via new class. |
| 10 | * Only release claims on pending actions. |
| 11 | * Tweak - WP 6.8 compatibility. |
| 12 | * Update minimum supported php and phpunit versions. |
| 13 | * Update readme.txt. |
| 14 | * WP CLI get action command: correct parentheses/nesting of conditional checks. |
| 15 | |
| 16 | = 3.9.2 - 2025-02-03 = |
| 17 | * Fixed fatal errors by moving version info methods to a new class and deprecating conflicting ones in ActionScheduler_Versions |
| 18 | |
| 19 | = 3.9.1 - 2025-01-21 = |
| 20 | * A number of new WP CLI commands have been added, making it easier to manage actions in the terminal and from scripts. |
| 21 | * New wp action-scheduler source command to help determine how Action Scheduler is being loaded. |
| 22 | * Additional information about the active instance of Action Scheduler is now available in the Help pull-down drawer. |
| 23 | * Make some other nullable parameters explicitly nullable. |
| 24 | * Set option value to `no` rather than deleting. |
| 25 | |
| 26 | = 3.9.0 - 2024-11-14 = |
| 27 | * Minimum required version of PHP is now 7.1. |
| 28 | * Performance improvements for the `as_pending_actions_due()` function. |
| 29 | * Existing filter hook `action_scheduler_claim_actions_order_by` enhanced to provide callbacks with additional information. |
| 30 | * Improved compatibility with PHP 8.4, specifically by making implicitly nullable parameters explicitly nullable. |
| 31 | * A large number of coding standards-enhancements, to help reduce friction when submitting plugins to marketplaces and plugin directories. Special props @crstauf for this effort. |
| 32 | * Minor documentation tweaks and improvements. |
| 33 | |
| 34 | = 3.8.2 - 2024-09-12 = |
| 35 | * Add missing parameter to the `pre_as_enqueue_async_action` hook. |
| 36 | * Bump minimum PHP version to 7.0. |
| 37 | * Bump minimum WordPress version to 6.4. |
| 38 | * Make the batch size adjustable during processing. |
| 39 | |
| 40 | = 3.8.1 - 2024-06-20 = |
| 41 | * Fix typos. |
| 42 | * Improve the messaging in our unidentified action exceptions. |
| 43 | |
| 44 | = 3.8.0 - 2024-05-22 = |
| 45 | * Documentation - Fixed typos in perf.md. |
| 46 | * Update - We now require WordPress 6.3 or higher. |
| 47 | * Update - We now require PHP 7.0 or higher. |
| 48 | |
| 49 | = 3.7.4 - 2024-04-05 = |
| 50 | * Give a clear description of how the $unique parameter works. |
| 51 | * Preserve the tab field if set. |
| 52 | * Tweak - WP 6.5 compatibility. |
| 53 | |
| 54 | = 3.7.3 - 2024-03-20 = |
| 55 | * Do not iterate over all of GET when building form in list table. |
| 56 | * Fix a few issues reported by PCP (Plugin Check Plugin). |
| 57 | * Try to save actions as unique even when the store doesn't support it. |
| 58 | * Tweak - WP 6.4 compatibility. |
| 59 | * Update "Tested up to" tag to WordPress 6.5. |
| 60 | * update version in package-lock.json. |
| 61 | |
| 62 | = 3.7.2 - 2024-02-14 = |
| 63 | * No longer user variables in `_n()` translation function. |
| 64 | |
| 65 | = 3.7.1 - 2023-12-13 = |
| 66 | * update semver to 5.7.2 because of a security vulnerability in 5.7.1. |
| 67 | |
| 68 | = 3.7.0 - 2023-11-20 = |
| 69 | * Important: starting with this release, Action Scheduler follows an L-2 version policy (WordPress, and consequently PHP). |
| 70 | * Add extended indexes for hook_status_scheduled_date_gmt and status_scheduled_date_gmt. |
| 71 | * Catch and log exceptions thrown when actions can't be created, e.g. under a corrupt database schema. |
| 72 | * Tweak - WP 6.4 compatibility. |
| 73 | * Update unit tests for upcoming dependency version policy. |
| 74 | * make sure hook action_scheduler_failed_execution can access original exception object. |
| 75 | * mention dependency version policy in usage.md. |
| 76 | |
| 77 | = 3.6.4 - 2023-10-11 = |
| 78 | * Performance improvements when bulk cancelling actions. |
| 79 | * Dev-related fixes. |
| 80 | |
| 81 | = 3.6.3 - 2023-09-13 = |
| 82 | * Use `_doing_it_wrong` in initialization check. |
| 83 | |
| 84 | = 3.6.2 - 2023-08-09 = |
| 85 | * Add guidance about passing arguments. |
| 86 | * Atomic option locking. |
| 87 | * Improve bulk delete handling. |
| 88 | * Include database error in the exception message. |
| 89 | * Tweak - WP 6.3 compatibility. |
| 90 | |
| 91 | = 3.6.1 - 2023-06-14 = |
| 92 | * Document new optional `$priority` arg for various API functions. |
| 93 | * Document the new `--exclude-groups` WP CLI option. |
| 94 | * Document the new `action_scheduler_init` hook. |
| 95 | * Ensure actions within each claim are executed in the expected order. |
| 96 | * Fix incorrect text domain. |
| 97 | * Remove SHOW TABLES usage when checking if tables exist. |
| 98 | |
| 99 | = 3.6.0 - 2023-05-10 = |
| 100 | * Add $unique parameter to function signatures. |
| 101 | * Add a cast-to-int for extra safety before forming new DateTime object. |
| 102 | * Add a hook allowing exceptions for consistently failing recurring actions. |
| 103 | * Add action priorities. |
| 104 | * Add init hook. |
| 105 | * Always raise the time limit. |
| 106 | * Bump minimatch from 3.0.4 to 3.0.8. |
| 107 | * Bump yaml from 2.2.1 to 2.2.2. |
| 108 | * Defensive coding relating to gaps in declared schedule types. |
| 109 | * Do not process an action if it cannot be set to `in-progress`. |
| 110 | * Filter view labels (status names) should be translatable | #919. |
| 111 | * Fix WPCLI progress messages. |
| 112 | * Improve data-store initialization flow. |
| 113 | * Improve error handling across all supported PHP versions. |
| 114 | * Improve logic for flushing the runtime cache. |
| 115 | * Support exclusion of multiple groups. |
| 116 | * Update lint-staged and Node/NPM requirements. |
| 117 | * add CLI clean command. |
| 118 | * add CLI exclude-group filter. |
| 119 | * exclude past-due from list table all filter count. |
| 120 | * throwing an exception if as_schedule_recurring_action interval param is not of type integer. |
| 121 | |
| 122 | = 3.5.4 - 2023-01-17 = |
| 123 | * Add pre filters during action registration. |
| 124 | * Async scheduling. |
| 125 | * Calculate timeouts based on total actions. |
| 126 | * Correctly order the parameters for `ActionScheduler_ActionFactory`'s calls to `single_unique`. |
| 127 | * Fetch action in memory first before releasing claim to avoid deadlock. |
| 128 | * PHP 8.2: declare property to fix creation of dynamic property warning. |
| 129 | * PHP 8.2: fix "Using ${var} in strings is deprecated, use {$var} instead". |
| 130 | * Prevent `undefined variable` warning for `$num_pastdue_actions`. |
| 131 | |
| 132 | = 3.5.3 - 2022-11-09 = |
| 133 | * Query actions with partial match. |
| 134 | |
| 135 | = 3.5.2 - 2022-09-16 = |
| 136 | * Fix - erroneous 3.5.1 release. |
| 137 | |
| 138 | = 3.5.1 - 2022-09-13 = |
| 139 | * Maintenance on A/S docs. |
| 140 | * fix: PHP 8.2 deprecated notice. |
| 141 | |
| 142 | = 3.5.0 - 2022-08-25 = |
| 143 | * Add - The active view link within the "Tools > Scheduled Actions" screen is now clickable. |
| 144 | * Add - A warning when there are past-due actions. |
| 145 | * Enhancement - Added the ability to schedule unique actions via an atomic operation. |
| 146 | * Enhancement - Improvements to cache invalidation when processing batches (when running on WordPress 6.0+). |
| 147 | * Enhancement - If a recurring action is found to be consistently failing, it will stop being rescheduled. |
| 148 | * Enhancement - Adds a new "Past Due" view to the scheduled actions list table. |
| 149 | |
| 150 | = 3.4.2 - 2022-06-08 = |
| 151 | * Fix - Change the include for better linting. |
| 152 | * Fix - update: Added Action scheduler completed action hook. |
| 153 | |
| 154 | = 3.4.1 - 2022-05-24 = |
| 155 | * Fix - Change the include for better linting. |
| 156 | * Fix - Fix the documented return type. |
| 157 | |
| 158 | = 3.4.0 - 2021-10-29 = |
| 159 | * Enhancement - Number of items per page can now be set for the Scheduled Actions view (props @ovidiul). #771 |
| 160 | * Fix - Do not lower the max_execution_time if it is already set to 0 (unlimited) (props @barryhughes). #755 |
| 161 | * Fix - Avoid triggering autoloaders during the version resolution process (props @olegabr). #731 & #776 |
| 162 | * Dev - ActionScheduler_wcSystemStatus PHPCS fixes (props @ovidiul). #761 |
| 163 | * Dev - ActionScheduler_DBLogger.php PHPCS fixes (props @ovidiul). #768 |
| 164 | * Dev - Fixed phpcs for ActionScheduler_Schedule_Deprecated (props @ovidiul). #762 |
| 165 | * Dev - Improve actions table indices (props @glagonikas). #774 & #777 |
| 166 | * Dev - PHPCS fixes for ActionScheduler_DBStore.php (props @ovidiul). #769 & #778 |
| 167 | * Dev - PHPCS Fixes for ActionScheduler_Abstract_ListTable (props @ovidiul). #763 & #779 |
| 168 | * Dev - Adds new filter action_scheduler_claim_actions_order_by to allow tuning of the claim query (props @glagonikas). #773 |
| 169 | * Dev - PHPCS fixes for ActionScheduler_WpPostStore class (props @ovidiul). #780 |
| 170 | |
| 171 | = 3.3.0 - 2021-09-15 = |
| 172 | * Enhancement - Adds as_has_scheduled_action() to provide a performant way to test for existing actions. #645 |
| 173 | * Fix - Improves compatibility with environments where NO_ZERO_DATE is enabled. #519 |
| 174 | * Fix - Adds safety checks to guard against errors when our database tables cannot be created. #645 |
| 175 | * Dev - Now supports queries that use multiple statuses. #649 |
| 176 | * Dev - Minimum requirements for WordPress and PHP bumped (to 5.2 and 5.6 respectively). #723 |
| 177 | |
| 178 | = 3.2.1 - 2021-06-21 = |
| 179 | * Fix - Add extra safety/account for different versions of AS and different loading patterns. #714 |
| 180 | * Fix - Handle hidden columns (Tools → Scheduled Actions) | #600. |
| 181 | |
| 182 | = 3.2.0 - 2021-06-03 = |
| 183 | * Fix - Add "no ordering" option to as_next_scheduled_action(). |
| 184 | * Fix - Add secondary scheduled date checks when claiming actions (DBStore) | #634. |
| 185 | * Fix - Add secondary scheduled date checks when claiming actions (wpPostStore) | #634. |
| 186 | * Fix - Adds a new index to the action table, reducing the potential for deadlocks (props: @glagonikas). |
| 187 | * Fix - Fix unit tests infrastructure and adapt tests to PHP 8. |
| 188 | * Fix - Identify in-use data store. |
| 189 | * Fix - Improve test_migration_is_scheduled. |
| 190 | * Fix - PHP notice on list table. |
| 191 | * Fix - Speed up clean up and batch selects. |
| 192 | * Fix - Update pending dependencies. |
| 193 | * Fix - [PHP 8.0] Only pass action arg values through to do_action_ref_array(). |
| 194 | * Fix - [PHP 8] Set the PHP version to 7.1 in composer.json for PHP 8 compatibility. |
| 195 | * Fix - add is_initialized() to docs. |
| 196 | * Fix - fix file permissions. |
| 197 | * Fix - fixes #664 by replacing __ with esc_html__. |
| 198 | |
| 199 | = 3.1.6 - 2020-05-12 = |
| 200 | * Change log starts. |
| 201 |