action-scheduler

A scalable, traceable job queue for background processing large queues of tasks in WordPress. Specifically designed for distribution in WordPress plugins (and themes) - no server access required.

GPL-3.0 License

Downloads
4M
Stars
612
Committers
75

Bot releases are hidden (Show)

action-scheduler - Version 3.2.0

Published by vedanshujain over 3 years ago

  • Fix - Add "no ordering" option to as_next_scheduled_action().
  • Fix - Add secondary scheduled date checks when claiming actions (DBStore) | #634.
  • Fix - Add secondary scheduled date checks when claiming actions (wpPostStore) | #634.
  • Fix - Adds a new index to the action table, reducing the potential for deadlocks (props: @glagonikas).
  • Fix - Fix unit tests infrastructure and adapt tests to PHP 8.
  • Fix - Identify in-use data store.
  • Fix - Improve test_migration_is_scheduled.
  • Fix - PHP notice on list table.
  • Fix - Speed up clean up and batch selects.
  • Fix - Update pending dependencies.
  • Fix - [PHP 8.0] Only pass action arg values through to do_action_ref_array().
  • Fix - [PHP 8] Set the PHP version to 7.1 in composer.json for PHP 8 compatibility.
  • Fix - add is_initialized() to docs.
  • Fix - fix file permissions.
  • Fix - fixes #664 by replacing __ with esc_html__.
action-scheduler - Version 3.1.6

Published by rrennick over 4 years ago

Version 3.1.6 – 2020-05-12

Changed

  • shutdown deprecated notice changed to a warning when as_* functions called without data store initialization (PR #546)
action-scheduler - Version 3.1.5

Published by rrennick over 4 years ago

Version 3.1.5 – 2020-05-05

Fixed

  • Move scheduling the migration out of shutdown hook (PR #538)
  • Remove redundant cron task (PR #529)
  • Allow NullSchedules on Async actions (PR #527)
  • Use correct defaults on WP CLI command (PR #526)
  • Fix action row Action Links when translated (PR #508)
  • Add date values to demarkation query (PR #503)
action-scheduler - Version 3.1.4

Published by rrennick over 4 years ago

Version 3.1.4 – 2020-03-18

Fixed

  • Include logs table re-create missed in #492 (PR #495)
  • Ensure valid table name in save action (PR #498)
action-scheduler - Version 3.1.3

Published by rrennick over 4 years ago

Version 3.1.3 – 2020-03-16

Added

  • Re-create tables if needed on Scheduled Actions screen load (PR #492)

Fixed

  • Add null action check on Scheduled Actions screen list rows. (PR #493)
  • Fix context on ignored action log message (PR #481)
  • Restore scheduled action row and bulk action processing on WooCommerce Status screen (PR #487)
action-scheduler - Version 3.1.2

Published by rrennick over 4 years ago

Version bump only. No code changes other than version registration function names.

action-scheduler - Version 3.1.1

Published by rrennick over 4 years ago

Version 3.1.1 – 2020-02-24

Added

  • Unmark the migration as complete on any plugin deactivation. (PR #470)

Fixed

  • Remove Composer autoloading support. (PRs #472)
action-scheduler - Version 3.1.0

Published by rrennick over 4 years ago

Version 3.1.0 – 2020-02-13

Added

  • Add filter to empty args column in list table. (PR #426)
  • Add Composer autoloading support. (PRs #443)
  • Add AS version and autoloading status to WooCommerce status report (PR #443)

Fixed

  • Use proper hook for admin notices (PR #428)
  • Fix translation function used in admin notice (PR #451)
  • remove the page and search string from status links in list table (PR #456)
  • Prevent async runner spawning multiple async requests from single thread (PR #458)

Changed

  • Move action start log entry to after valid action check (PR #440)
  • Ensure plugin initialization on activation as an embedded library (PR #450)
  • Increase default async runner sleep time to 5 seconds (PR #452)
  • Increased maximum JSON encoded args length to 8000 characters (PR #455)
  • Allow data stores to set $args length limit (PR #455)
action-scheduler - Version 3.0.1

Published by thenbrent almost 5 years ago

Version 3.0.1 – 2020-01-15

Changed

  • Increment DB Store and DB Logger database schema version to make sure custom tables (PR #415)
action-scheduler - Version 3.0.0

Published by rrennick almost 5 years ago

Version 3.0.0 – 2020-01-03

Added

  • Add custom database tables for storing actions, claims, groups and logs. Improves performance. (PR #259)
  • Add new async queue runner to increase action throughput and reduce reliance on WP Cron. (PRs #323)
  • Add new async action type to run "as soon as possible" rather than being scheduled, and associated APIs, like as_enqueue_async_action() (PR #322)
  • Add context parameter to runner so that logs can display how the action is run, e.g. WP Cron, WP CLI or Async Request (PRs #329 and #344)
  • Add help screen to admin list table (PR #316)
  • Add new bulk cancel by hook/group APIs to data store (PR #351)
  • Additional developer tools (PR #383)

Fixed

  • Fix recurring schedules, e.g. Cron and Interval schedules (PR #333)
  • Make sure wp_filter_post_kses does not corrupt JSON data in post_content (PR #312)
  • Fix 'Headers Already Sent' warning and failure of 'wp_redirect()' (PR #354)
  • Fix php 7 deprecated notice for non static method called statically f… (PR #355)
  • Fix concurrent queue notice (PR #324)
  • Other small fixes and tweaks (PR #347, #384)

Changed

  • Mark actions with invalid schedule as failed (PR #297)
  • Tweak fetch exception handling (PR #328)

Deprecated

  • Deprecated ActionScheduler_Store::hook() and ActionScheduler_Store::unhook() methods (PR #326)
  • Deprecated ActionScheduler_WPCLI_QueueRunner::stop_the_insanity() in favour of ActionScheduler_DataController::free_memory() (PR #259)
  • Deprecated various inconsistent recurring schedule APIs and data (PR #333)
action-scheduler - Version 3.0.0-RC-4

Published by thenbrent almost 5 years ago

  • Fix: check for in-progress / running actions as next action to avoid duplicating recurring actions or other actions scheduled on init and checking for as_next_scheduled_action(). #392
  • Fix: catch exception when migrating an action with an unknown status - Uncaught Exception: Invalid post status. No matching action status available. #390
action-scheduler - Version 3.0.0-RC-3

Published by thenbrent almost 5 years ago

  • Fix: restrict autoloader to Action Scheduler classes #388
  • Fix: incorrect docblock #384
  • Add: additional developer tools #383
action-scheduler - Version 3.0.0-RC-2

Published by thenbrent almost 5 years ago

Version 3.0.0-RC-2 – 2019-10-25

Added

  • Add custom database tables for storing actions, claims, groups and logs. Improves performance. (PR #259)
  • Add new async queue runner to increase action throughput and reduce reliance on WP Cron. (PRs #323)
  • Add new async action type to run "as soon as possible" rather than being scheduled, and associated APIs, like as_enqueue_async_action() (PR #322)
  • Add context parameter to runner so that logs can display how the action is run, e.g. WP Cron, WP CLI or Async Request (PRs #329 and #344)
  • Add help screen to admin list table (PR #316)
  • Add new bulk cancel by hook/group APIs to data store (PR #351)

Fixed

  • Fix recurring schedules, e.g. Cron and Interval schedules (PR #333)
  • Make sure wp_filter_post_kses does not corrupt JSON data in post_content (PR #312)
  • Fix 'Headers Already Sent' warning and failure of 'wp_redirect()' (PR #354)
  • Fix php 7 deprecated notice for non static method called statically f… (PR #355)
  • Fix concurrent queue notice (PR #324)
  • Other small fixes and tweaks (PR #347)

Changed

  • Mark actions with invalid schedule as failed (PR #297)
  • Tweak fetch exception handling (PR #328)

Deprecated

  • Deprecated ActionScheduler_Store::hook() and ActionScheduler_Store::unhook() methods (PR #326)
  • Deprecated ActionScheduler_WPCLI_QueueRunner::stop_the_insanity() in favour of ActionScheduler_DataController::free_memory() (PR #259)
  • Deprecated various inconsistent recurring schedule APIs and data (PR #333)
action-scheduler - 2.2.0

Published by thenbrent over 5 years ago

2.2.0 – 2019-01-31

  • Version 2.2.0 (PR #233)

Fixed

  • Remove constant in translatable string for WP CLI output. PR #213 Props @claudiosanches
  • Fix errors with PHP 5.2 caused by use of namespace prefix (inherited from code in the Custom Tables plugin where PHP 5.6 is required). PR #227

Performance

  • Use the new 'pre_wp_unique_post_slug' filter with WordPress 5.1 and newer to create unique post names and improve performance of default, Custom Post Type, data store. PR #231

Added

  • Add 'action_scheduler_pre_init' hook to make it easier to filter core Action Scheduler classes, by providing a reliable, separate action to hook into instead of 3rd party code having to rely on 'plugins_loaded' with a priority between 0 and 1. PR #221

Changed

  • Make timeout & failure periods a multiple of the allowed time limit to simply increasing allowed time limits. PR #223
  • Display hook name on WP CLI output when processing queues. PR #230
  • Always display a date's UTC offset, not timezone identifier, to avoid displaying inconsistent values for the same thing, like UTC and GMT+0000. PR #228
  • Display cron expression in schedule recurrence column of administration screen for Cron actions. PR #217 Props @alexminza
Package Rankings
Top 0.67% on Packagist.org
Badges
Extracted from project README
Build Status codecov