Repository navigation
v2.0.0
[2.0.0] - 2026-10-13
Asynchronous actions queue through the drivers of pollora/schedule. Work queued by 1.x runs unchanged; the only break is the two removed driver classes below.
Changed
- WP-Cron and Action Scheduler are the drivers of
pollora/schedule, which the package now requires:Async\Drivers\ScheduledDriverqueues through them and keeps what is the hook's own, the message an event carries and where the payload lives. Nothing changes for what is already queued: the hook, the Action Scheduler groups (polloraor the queue name), the identifier-only WP-Cron events and thepollora_async_options are the same, so work queued by 1.x runs once 2.0 is installed.->async(),#[Async],Async::fake(),via()and their options do not change Async::listen()keepspollora/async/runandpollora/async/recoveron WP-Cron (thepollora/schedule/protected_hooksfilter), whatever driver the site gave pollora/schedule:via('wp-cron')still means WP-Cron- An Action Scheduler action of the hook lives in its own group and is never in the
cronindex of pollora/schedule
Removed
Async\Drivers\WpCronDriverandAsync\Drivers\ActionSchedulerDriver, with no alias. Code that used them directly (the framework does not) usesScheduledDriver::wpCron()andScheduledDriver::actionScheduler(), or the drivers of pollora/scheduleWpCronDriver::handles()andclaim(): usePayloadStore. The recovery task (recover(),scheduleRecovery(),RECOVERY_HOOK,RECOVERY_GRACE) moved toAsync\Recovery