All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
4.0.0 - 2023-03-31
-
Support for PHP and JSON configuration files
-
setConfig
method to set the configuration array directly (as an alternative toloadConfig
) -
Extendable console application class
-
Job blueprint class as a base for all jobs
-
Jobs'
setUp
andtearDown
methods now receive theResque\Job
instance as an argument -
setQueue
method to make it possible to override the queue behavior -
Docker environment for development
-
More type declarations for method arguments and return types
-
Suggestions for
ext-mongodb
extension andmongodb/mongodb
package -
Suggestion for
symfony/yaml
package, it's now optional
-
Minimum PHP version is now
7.2
. Supported PHP versions are^7.2 || ^8.0
-
Default configuration file should have the name
resque
instead ofconfig
(e.g.resque.php
) -
Refactored structure to follow PSR-4 autoloading standard (used to follow PSR-0)
-
Main
Resque
class is now located under theResque
namespace (e.g.Resque\Resque::push()
) -
Improved deployment. Now only mandatory files are included in the dist package
-
Improved code intelligence by adding PHP DocBlocks comments to the main
Resque
class -
Worker will log on a DEBUG level when no queues found (instead of INFO)
-
Bumped
monolog/monolog
dependency to^2.5
-
Bumped
predis/predis
dependency to^2.1
-
Bumped
symfony/console
,symfony/process
, andsymfony/yaml
dependencies to^5.4|^6.0
-
Bumped
phpunit/phpunit
dependency to^8.0|^9.0
-
Several code style improvements
-
phpiredis
configuration option. This extension is not maintained anymore and will be removed -
Cube
logger connector. This logger is not maintained anymore and will be removed
Sami
documentation generator
-
Passing a command as a string when creating a Process instance in the
SpeedTest
command -
Custom configuration file not being loaded in the
SpeedTest
command -
MongoDB logger connector using removed classes
-
Incorrect return type in commands
-
SeializableClosure
deprecation notice -
Various Logger usage errors
-
Incorrect type declarations causing errors in PHP 8
-
Incorrect type used in the
ConsoleProcessor
class -
PHP deprecation notice in the
Util
class
- Added
final
keyword to classes that should not be extended
3.1.1 - 2023-01-31
- Improve PHP8 compatibility
3.1.0 - 2023-01-04
- Allow canceling delayed jobs (PR #99)
- Remove the proctitle extension suggestion, as it is not needed on PHP7+
3.0.0 - 2023-01-03
- Reduce dependency coupling (PR #94)
- Clean up code
- Support Symfony components v4 and v5
- Bump minimum PHP version to 7.1
2.2.0 - 2019-04-22
- Make signals configurable by event callback (PR #85)
- Provide predis native configuration (PR #88)
- Add Travis support and CS check (PR #72)
- Use pcntl_async_signals if available (PR #65)
- Fix cli_set_process_title error on macOS (PR #92)
2.1.2 - 2017-09-19
- Fix job processing of the last queue (Issue #61)
2.1.1 - 2017-08-31
- Fix "undefined index" notice (Issue #59)
2.1.0 - 2017-08-31
2.0.0 - 2017-03-01
- Update required Symfony components to 2.7+ or 3.x
- Update required Predis version to 1.1.x
- Change worker wait for log level from INFO to DEBUG (Commit 4915d51)
- Add option to allow phpiredis support (Commit 4e22e0fb)
- Add option to set Redis to read/write timeout (PR #27)
- Change code style to PSR-2 (PR #25)
- Fix closures with whitespace in their declaration (Issue #30)
- Fix job stability by reconnecting to redis after forking (Commit cadfb09e)
- Fix crash if the status is not set (Commit cadfb09e)
- Improve code style to increase PSR-2 compliance (Commit 36daf9a)
- Add this changelog!
1.3.0 - 2016-01-22
- Remove optional proctitle extension dependency (PR #18)
1.2.4 - 2015-04-17
- Monolog line break-fix
1.2.3 - 2015-04-02
- Monolog composer fix
1.2.2 - 2014-11-05
- Dev dependencies bug fix
1.2.1 - 2014-11-05
- Dependencies bug fix
1.2.0 - 2014-11-05
- Updated symfony dependencies
1.1.3 - 2014-06-23
- ob_clean fix
1.1.2 - 2014-06-23
- Config file error fix
1.1.1 - 2014-06-23
- Autoload directory fix
1.1.0 - 2014-02-18
- Bump lib versions for Monolog & Symfony
- First public release of php-resque