Version 4.0.0

April 19, 2024

Craft 5 only

Version 3.2.0

April 18, 2024
  • Craft 5 compatibility

Version 3.1.1

January 4, 2023
  • composer housekeeping, thanks @markhuot

Version 3.1.0

September 22, 2022

Upgrading is highly recommended. The previous version did not limit concurrency of queue runners. ASYNC_QUEUE_CONCURRENCY defaults to 1 now.

  • Fixed RateLimiter
  • Added tests for RateLimiter / concurrency
  • Concurrency of queue runners defaults to 1 now

Version 3.0.0

May 12, 2022
  • Craft 4 support
  • PHP 8 syntax

Version 2.3.0

May 4, 2021

Changed

  • Added dependency treeware/plant
  • Housekeeping composer.json

Version 2.2.0

February 5, 2021

Changed

  • Added support for symfony/process:^5.0
  • Updated phpunit/phpunit
  • Removed version from composer.json
  • Switched to psalm for static analysis

Version 2.1.1

April 3, 2020

Fix

  • Catch Exception when trying to count reserved jobs

Version 2.1.0

March 26, 2020

Changed

  • Replaced ProcessPool with Ratelimiter to limit the number of concurrent queue runners
  • Clean up: Removed unnecessary doc blocks in favour of type hints

Version 2.0.0

January 30, 2019

Changed

  • Decoupled QueueCommand form QueueHandler
  • Allow custom modifications via QueueCommand::EVENT_PREPARE_COMMAND event
  • Requires symfony/process: ^4.2.0

Added

  • Unit tests
  • Utility to perform tests in the Craft CP
  • Support for DISABLE_ASYNC_QUEUE env var to disable the plugin in certain environments

Version 1.4.0

December 17, 2018

Changed

  • Added symfony/process:^4.0 as a direct dependency
  • Added logging of ProcessPool access

Version 1.3.1

April 5, 2018

Changed

  • Changed version constraint to craftcms/cms: ^3.0.0

Version 1.3.0

February 22, 2018

Changed

  • Process pool implemented to restrict concurrency
  • Concurrency configurable via ASYNC_QUEUE_CONCURRENCY ENV var (default: 2)
  • Lifetime of pool configurable via ASYNC_QUEUE_POOL_LIFETIME ENV var (default: 3600 seconds)

Version 1.2.0

February 19, 2018

Changed

  • Prevent multiple background processes
  • No nice on Windows
  • changed log level from info to trace

Version 1.1.5

December 5, 2017

Changed

  • Requires Craft 3.0.0-RC1

Version 1.1.4

November 25, 2017

Changed

  • Requires Craft 3.0.0-RC1 (alias)

Version 1.1.3

November 15, 2017

Changed

  • Now we use Symfony\Component\Process\PhpExecutableFinder (thanks @phoob)

Version 1.1.2

November 6, 2017

Added

  • Craft::info() logger 2x

Version 1.1.0

October 13, 2017

Changed

  • Added AFTER_PUSH listener
  • Removed custom Queue class

Version 1.0.0

August 22, 2017

Added

  • Initial release