Skip to content

build(deps): bump woocommerce/action-scheduler from 3.6.2 to 4.1.0 - #8166

Merged
donnapep merged 2 commits into
trunkfrom
dependabot/composer/woocommerce/action-scheduler-4.1.0
Sep 4, 2026
Merged

donnapep merged 2 commits into
trunkfrom
dependabot/composer/woocommerce/action-scheduler-4.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Bumps woocommerce/action-scheduler from 3.6.2 to 4.1.0.

Release notes

Sourced from woocommerce/action-scheduler's releases.

Version 4.1.0

  • Fix - Correct an oversight in the lock implementation (used to rate-limit async request runners) that could leave a lock permanently stuck and result in database errors in unusual cases.
  • Fix - Correct the behavior of the wp action-scheduler clean command so that the --before option defaults to 31 days ago.
  • Performance - Reduce the number of SQL queries on the Action Scheduler admin page.
  • Performance - Cache resolved group IDs to reduce the number of SQL queries.
  • Performance - Use the WordPress caching layer for the option lock component.
  • Enhancement - Display action IDs in the admin list and allow searching by action ID.
  • Enhancement - Use wp_admin_notice() to render admin notices, instead of custom HTML.
  • Security - Add protections to guard against the risk of object-injection/deserialization attacks when retrieving stored schedule data.
  • Dev - Include the underlying database error in the exception thrown when the legacy post store fails to claim actions.
  • Dev - Add filters (action_scheduler_allowed_nested_schedule_classes, action_scheduler_enforce_schedule_allowed_classes) and an action (action_scheduler_unexpected_schedule_class) to tune and observe schedule deserialization.

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_failed filter.
  • Add action_scheduler_enable_failed_action_cleanup filter 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_CLI class to prevent fatal error.
  • Fix possible undefined variable in action cancel --all CLI command.
  • Move recurring A-S cache key to transient.
  • Optimize get_claim_count() query for large stores.
  • Update require_once path 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() from WP_CLI\Utils before using.
  • Make $unique available 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

... (truncated)

Changelog

Sourced from woocommerce/action-scheduler's changelog.

*** Changelog ***

= 4.1.0 - 2026-08-05 =

  • Fix - Correct an oversight in the lock implementation (used to rate-limit async request runners) that could leave a lock permanently stuck and result in database errors in unusual cases.
  • Fix - Correct the behavior of the wp action-scheduler clean command so that the --before option defaults to 31 days ago.
  • Performance - Reduce the number of SQL queries on the Action Scheduler admin page.
  • Performance - Cache resolved group IDs to reduce the number of SQL queries.
  • Performance - Use the WordPress caching layer for the option lock component.
  • Enhancement - Display action IDs in the admin list and allow searching by action ID.
  • Enhancement - Use wp_admin_notice() to render admin notices, instead of custom HTML.
  • Security - Add protections to guard against the risk of object-injection/deserialization attacks when retrieving stored schedule data.
  • Dev - Include the underlying database error in the exception thrown when the legacy post store fails to claim actions.
  • Dev - Add filters (action_scheduler_allowed_nested_schedule_classes, action_scheduler_enforce_schedule_allowed_classes) and an action (action_scheduler_unexpected_schedule_class) to tune and observe schedule deserialization.

= 4.0.0 - 2026-06-16 =

  • 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_failed filter.
  • Add action_scheduler_enable_failed_action_cleanup filter 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_CLI class to prevent fatal error.
  • Fix possible undefined variable in action cancel --all CLI command.
  • Move recurring A-S cache key to transient.
  • Optimize get_claim_count() query for large stores.
  • Update require_once path 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.

= 3.9.3 - 2025-07-15 =

  • 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() from WP_CLI\Utils before using.
  • Make $unique available 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.

= 3.9.2 - 2025-02-03 =

  • Fixed fatal errors by moving version info methods to a new class and deprecating conflicting ones in ActionScheduler_Versions

... (truncated)

Commits
  • 40a3df9 Release prep: 4.1.0 (#1361)
  • c5a0fa0 Add action IDs to admin list and search (#1359)
  • 424ccf2 Schedule deserialization hardening (#1344)
  • 2275f49 Add AGENTS.md (and a CLAUDE.md as a thin wrapper/pointer). (#1356)
  • b6e83ce Add light colour scheme for GitHub Pages docs site (#1350)
  • 4e671df Fix default 'before' date in WP-CLI clean command #1343 (#1346)
  • 96e062f [Performance] Use the WordPress caching layer for the option lock component. ...
  • 5da0bb4 [Performance] Cache resolved group IDs to reduce the number of SQL queries (#...
  • 22df113 [Performance] Reduce the number of SQL queries on scheduler admin page (#1330)
  • e56fc51 Option lock stuck locked with '' (#1289)
  • Additional commits viewable in compare view

@github-actions

github-actions Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

WordPress Playground Preview

The changes in this pull request can previewed and tested using a WordPress Playground instance.

Open WordPress Playground Preview

@dependabot
dependabot Bot force-pushed the dependabot/composer/woocommerce/action-scheduler-4.1.0 branch from 6116997 to fb7ac2c Compare August 13, 2026 12:40
@dependabot dependabot Bot changed the title chore(deps): bump woocommerce/action-scheduler from 3.6.2 to 4.1.0 build(deps): bump woocommerce/action-scheduler from 3.6.2 to 4.1.0 Aug 13, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/woocommerce/action-scheduler-4.1.0 branch from fb7ac2c to f7d8ce8 Compare August 13, 2026 20:53
Bumps [woocommerce/action-scheduler](https://github.com/woocommerce/action-scheduler) from 3.6.2 to 4.1.0.
- [Release notes](https://github.com/woocommerce/action-scheduler/releases)
- [Changelog](https://github.com/woocommerce/action-scheduler/blob/trunk/changelog.txt)
- [Commits](woocommerce/action-scheduler@3.6.2...4.1.0)

---
updated-dependencies:
- dependency-name: woocommerce/action-scheduler
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/woocommerce/action-scheduler-4.1.0 branch from f7d8ce8 to 68573c4 Compare August 25, 2026 13:52
@donnapep donnapep added this to the 4.26.4 milestone Sep 4, 2026
@donnapep donnapep removed the No Changelog No change log entry needed label Sep 4, 2026
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@donnapep
donnapep enabled auto-merge September 4, 2026 18:45
@donnapep
donnapep merged commit 09a1f5e into trunk Sep 4, 2026
21 checks passed
@donnapep
donnapep deleted the dependabot/composer/woocommerce/action-scheduler-4.1.0 branch September 4, 2026 18:48
@donnapep

donnapep commented Sep 4, 2026

Copy link
Copy Markdown
Member

Tested that the enrolment jobs run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant