All notable changes to this project will be documented in this file. Updates should follow the Keep a CHANGELOG principles.
- BREAKING CHANGE: changed interface for Dispatcher - added ability to unregister handlers
- RedisSetDriver - add atomicity to scheduled set
- Fixed Predis driver when retry is being scheduled #48
- BREAKING CHANGE: Renamed all Restart to Shutdown
- BREAKING CHANGE: Removed deprecated RabbitMqDriver*. You can use LazyRabbitMqDriver
- BREAKING CHANGE: Splitted RedisSetDriver to two implementations based on how it is interacting with redis. For using Redis php extension you can use old RedisSetDriver, for using predis package you have to use PredisSetDriver
- Added clearstatcache() into SharedFileShutdown
- Added support for soft restart to all drivers
- Added
consumer tag
to LazyRabbitMq driver for consumer - Added support for max items and restart for LazyRabbitMq Driver
- updated restart policy for AmazonSQS Driver
- Fixed
RedisRestart::restart()
response for Predis instance.\Predis\Client::set()
returns object (with 'OK' payload) instead of bool. - Deprecated
RabbitMqDriver
(will be removed in 4.0.0) - useLazyRabbitMqDriver
instead - Fixed error while parsing message with invalid UTF8 character
RedisRestart
- implementation ofRestartInterface
allowing graceful shutdown of Hermes through Redis entry.- BREAKING CHANGE: Added
RestartInterface::restart()
method to initiate Hermes restart without knowing the requirements of usedRestartInterface
implementation. Updated all related tests. - BREAKING CHANGE: Removed support for ZeroMQ - driver moved into separated package
- Upgraded phpunit and tests
- BREAKING CHANGE Drop support for php 7.1
- Ability to register multiple handlers at once for one key (
registerHandlers
inDispatcherInterface
) - Fixed loss of messages when the handler crashes and mechanism of retries for RabbitMQ Drivers
- Added retry to handlers
- Added missing handle() method to DispatcherInterface
- Message now support scheduled parameter - Driver needs to support this behaviour.
- Type hints
- Dropped support for php 5.4
- Deprecated emit() in Disapatcher - introduced Emitter
- Amazon aws library updated to version 3 in composer - still works with v2 but you have to initialize Sqs client in v2 style
- Amazon SQS driver
- First stable version
- Added ACK to rabbitmq driver
- Added RabbitMQ Lazy driver
- Added possibility to gracefull restart worker with RestartInterface
- Added Tracy debugger log when error occured
- Handling responses from handlers.
- Tests structure refactored
- initial version with 2 drivers