cakephp-queue

Queue plugin for CakePHP - simple, pure PHP and without dependencies.

MIT License

Downloads
633.9K
Stars
301
Committers
64
cakephp-queue - 8.0.0 Latest Release

Published by dereuromark 8 months ago

Improvements

This new major ships with a few improvements:

  • Cleaned up DB migration files using a single snapshot. It is expected that all previous migrations have been run for existing installs.
  • Fix up data field to be of JSON type. Conversion to array is now happening automatically, so make sure you are not using manual encode/decode anywhere. Also make sure that you are not using deprecated serialize/unserialize, as now everything is using JSON.
  • Support DTOs for $data param of createJob()
  • Support Config object for $options param of createJob()
  • Support more customizable Icon templating in backend

So make sure that you migrated away from passing whole serialized objects in your payload in favor of ->toArray() or "JSON string" representation - which also can build up the object afterward again inside the run() method.
It usually also decreases DB row size and is safer around code upgrade deployment (serialized objects often break here after the slightest change).

For more info on changes coming from v7 see included upgrade guide in docs/ folder.

Full Changelog: https://github.com/dereuromark/cakephp-queue/compare/7.2.2...8.0.0

cakephp-queue - 7.2.3

Published by dereuromark 8 months ago

Improvements

Add generic type hint + helpful exception for ServicesTrait

cakephp-queue - 8.0.0-RC

Published by dereuromark 8 months ago

Improvements

This new v8 major contains some cleanup.
It is more internal, so most apps will not have to change a single line.

For more info on changes coming from v7 see included upgrade guide in docs/ folder.

Please test and give feedback so we can release v8 stable next week.

cakephp-queue - 7.2.2

Published by dereuromark 8 months ago

Improvements

  • Make sure Migrations work for mssql.

Full Changelog: https://github.com/dereuromark/cakephp-queue/compare/7.2.1...7.2.2

cakephp-queue - 7.2.1

Published by dereuromark 8 months ago

Fixes

Fixed up custom finder signature for PHPStan

cakephp-queue - 7.2.0

Published by dereuromark 9 months ago

Improvements

Full Changelog: https://github.com/dereuromark/cakephp-queue/compare/7.1.3...7.2.0

cakephp-queue - 7.1.3

Published by dereuromark 9 months ago

Fixes

Fixed migration file for Postgres.

cakephp-queue - 7.1.2

Published by dereuromark 11 months ago

Fixes

Fixed icon in template for new Templating plugin support.

cakephp-queue - 6.9.1

Published by dereuromark 11 months ago

Fixes

Fixed migration version.

cakephp-queue - 7.1.1

Published by dereuromark 11 months ago

Fixes

Fixed migration version.

cakephp-queue - 7.1.0

Published by dereuromark 11 months ago

Improvements

  • Added index to QueuedJobs table columns to make performance much faster with many records.

Full Changelog: https://github.com/dereuromark/cakephp-queue/compare/7.0.1...7.1.0

cakephp-queue - 6.9.0

Published by dereuromark 11 months ago

Improvements

Added index to QueuedJobs table columns to make performance much faster with many records.

cakephp-queue - 7.0.1

Published by dereuromark 11 months ago

Fixes

Fixed backend controller actions.

cakephp-queue - 7.0.0

Published by dereuromark 12 months ago

CakePHP 5 compatible release

Main changes:

  • QueuedJob.failed is now attempts. Make sure to run the migration for it.
cakephp-queue - 6.8.0

Published by dereuromark about 1 year ago

Improvements

  • Removed deprecations

Note: CakePHP 4.4+ now

cakephp-queue - 7.0.0-RC

Published by dereuromark about 1 year ago

CakePHP 5 compatible pre-release

For CakePHP 5.0+ apps.

Please test - once confirmed to be all good, we can tag stable release.

cakephp-queue - 6.7.2

Published by dereuromark about 1 year ago

Improvements

  • Expose kill signal parameter in controller
cakephp-queue - 6.7.1

Published by dereuromark over 1 year ago

Fixes

  • Fixed TaskFinder failing to find tasks if app directory is not src/.
cakephp-queue - 6.7.0

Published by dereuromark over 1 year ago

Improvements

Allow creating tasks in sub folders/namespaces.
So far it was only possible to have tasks on one single level.
You can now use My/Sub/MyTaskNameTask to create tasks in sub-namespace Task\My\Sub\.

E.g. src/Queue/Task/My/Sub/{YourNameForIt}Task.php would be found and used as My/Sub/{YourNameForIt}.

cakephp-queue - 6.6.2

Published by dereuromark over 1 year ago

Improvements

  • Added shim to transform serialized data for object to JSON switch as button in backend.
  • Use add() method for AddFromBackendInterface interface functionality for backend button.

Before

x

After

y