Releases: woocommerce/action-scheduler
Releases · woocommerce/action-scheduler
Release list
Version 4.0.0
- Breaking change: action args are taken into account when scheduling unique actions.
- Breaking change: failed actions are now automatically purged after 3 months by default, controlled by the
action_scheduler_retention_period_for_failedfilter. - Add
action_scheduler_enable_failed_action_cleanupfilter to disable automatic cleanup of failed actions. - Performance - Actions with corrupted data are automatically cancelled on detection and their excess logs cleaned up in batches, preventing queue stalls and log table bloat.
- Performance - Action cleanup now runs as a dedicated daily task at 3 am site time with higher throughput.
- Update favicon images.
- Fix number formating for action numbers in list view.
- Import missing
WP_CLIclass to prevent fatal error. - Fix possible undefined variable in
action cancel --allCLI command. - Move recurring A-S cache key to transient.
- Optimize
get_claim_count()query for large stores. - Update
require_oncepath for Cancel_CommandFix absolute import. - Fix
esc_html()hook name in admin notice markup. - Ensure cleanup action is enqueued via queue runner.
- Bump WordPress compatibility to version 7.0 and require at least 6.8.
- Dev - Bump picomatch from 2.3.1 to 2.3.2.
- Dev - Bump phpunit/phpunit from 8.5.42 to 8.5.52.
- Dev - Bump lodash, grunt-legacy-log and grunt-legacy-util.
Version 3.9.3
- Add hook 'action_scheduler_ensure_recurring_actions' specifically for scheduling recurring actions.
- Assume an action is valid until proven otherwise.
- Implement SKIP LOCKED during action claiming.
- Import
get_flag_value()fromWP_CLI\Utilsbefore using. - Make
$uniqueavailable to all pre-creation/short-circuit hooks. - Make version/source information available via new class.
- Only release claims on pending actions.
- Tweak - WP 6.8 compatibility.
- Update minimum supported php and phpunit versions.
- Update readme.txt.
- WP CLI get action command: correct parentheses/nesting of conditional checks.
Version 3.9.2
- Fixed fatal errors by moving version info methods to a new class and deprecating conflicting ones in ActionScheduler_Versions
Version 3.9.1
- A number of new WP CLI commands have been added, making it easier to manage actions in the terminal and from scripts.
- New wp action-scheduler source command to help determine how Action Scheduler is being loaded.
- Additional information about the active instance of Action Scheduler is now available in the Help pull-down drawer.
- Make some other nullable parameters explicitly nullable.
- Set option value to
norather than deleting.
Version 3.9.0
- Minimum required version of PHP is now 7.1.
- Performance improvements for the
as_pending_actions_due()function. - Existing filter hook
action_scheduler_claim_actions_order_byenhanced to provide callbacks with additional information. - Improved compatibility with PHP 8.4, specifically by making implicitly nullable parameters explicitly nullable.
- 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.
- Minor documentation tweaks and improvements.
Version 3.8.2
- Add missing parameter to the
pre_as_enqueue_async_actionhook. - Bump minimum PHP version to 7.0.
- Bump minimum WordPress version to 6.4.
- Make the batch size adjustable during processing.
Version 3.8.1
- Fix typos.
- Improve the messaging in our unidentified action exceptions.
Version 3.8.0
- Bump "Tested up to" version to 6.5.
- Fix typos in perf.md.
- Merge Release/3.7.4 into trunk.
- Tweak - WP 6.5 compatibility.
- Update minimum requirements for WordPress (and PHP). Fix test matrix.
Version 3.7.4
- Give a clear description of how the $unique parameter works.
- Merge release/3.7.3 into trunk.
- Preserve the tab field if set.
- Tweak - WP 6.5 compatibility.
Version 3.7.3
- Do not iterate over all of GET when building form in list table.
- Fix a few issues reported by PCP (Plugin Check Plugin).
- Try to save actions as unique even when the store doesn't support it.
- Tweak - WP 6.4 compatibility.
- Update "Tested up to" tag to WordPress 6.5.
- update version in package-lock.json.