alleyinteractive/wp-bulk-task
A library to assist with running performant bulk tasks against WordPress objects.
v1.1.0
485K downloads/mo
#4553 most downloaded on Packagist
alleyinteractive/wp-bulk-task
What this package is like to depend on
Last release 1 years ago
17 Jul 2025
Release timing varies
gaps range from 3 weeks to 12 months
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
10 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Nov 2022 to Jul 2025Releases
latest 10-
v1.1.017 Jul 2025Release notes
Open source →- Migrate cursors to a interface:
Alley\WP_Bulk_Task\Cursor\Cursor. - Deprecated the
Alley\WP_Bulk_Task\Cursorclass, which now extends theAlley\WP_Bulk_Task\Cursor\Option_Cursorclass. Preserved the old class for backward compatibility. - Added a new
Alley\WP_Bulk_Task\Cursor\Memory_Cursorclass that does not store the cursor in the database.
Release notes
Open source →- Migrate cursors to a interface:
Alley\WP_Bulk_Task\Cursor\Cursor. - Deprecated the
Alley\WP_Bulk_Task\Cursorclass, which now extends theAlley\WP_Bulk_Task\Cursor\Option_Cursorclass. Preserved the old class for backward compatibility. - Added a new
Alley\WP_Bulk_Task\Cursor\Memory_Cursorclass that does not store the cursor in the database.
- Migrate cursors to a interface:
-
v1.0.013 Aug 2024 -
v0.3.022 Jul 2024Release notes
Open source →What's Changed
- New feature: Pass the current query object to the callback by @renatonascalves in #28
- Move query from local variable to class property by @renatonascalves in #29
- Remove stepping and max ID limit to improve performance by @kevinfodness in #33
Full Changelog: v0.2.3...v0.3.0
Release notes
Open source →Added
- Removed the
steppingproperty and refactored the query to only use a minimum ID and a limit, which should improve performance in most cases. - The current query object is now passed to the callback.
-
v0.2.308 Apr 2024Release notes
Open source →Added
- Support for CSV files in bulk tasks.
- Support for user queries in bulk tasks.
- Support for PHPStan.
-
v0.2.213 Mar 2024Release notes
Open source →Changed
- Fixed incorrect usage of
@global. - Improve typecasting of the
filter__terms_whereandfilter__posts_wheremethods. - Support for
declare(strict_types=1);, to return any PHP errors.
Added
- Adds compatibility with Edit Flow plugin; prevents notifications during bulk tasks.
- Stop
Cursoroption from autoloading its option.
- Fixed incorrect usage of
-
v0.2.119 Jan 2024Release notes
Open source →Changed
- Upgrade to WPCS/VIPCS 3.0 (See https://github.com/alleyinteractive/alley-coding-standards)
Added
- A new trait,
Bulk_Task_Side_Effects, to optionally disable common integrations. - Support for term queries.
- Disable common Elasticsearch integrations (ElasticPress or VIP Search) by default.
-
v0.2.013 Dec 2023Release notes
Open source →- Add
Null_Progress_Bar. - Fix logic to reset runtime cache when using Object Cache Pro.
- Add
-
v0.1.223 Dec 2022Release notes
Open source →- Bugfix: Fix corrupted query clause in subsequent tasks after a previous task is completed. Remove
posts_wherefilter after task is run.
- Bugfix: Fix corrupted query clause in subsequent tasks after a previous task is completed. Remove
-
v0.1.116 Nov 2022Release notes
Open source →- Bugfix: Fix package type, use Composer default of "library" instead of "project"
Release notes
Open source →- Fix package type, use Composer default of "library" instead of "project"
-
v0.1.016 Nov 2022Release notes
Open source →Initial release. Contains functionality for running bulk tasks and keeping track of progress between runs with a cursor.
Release notes
Open source →- Initial creation of the package
- Add a class to handle running bulk tasks
- Add a class to handle keeping a cursor