Releases: php-service-bus/service-bus
Releases · php-service-bus/service-bus
v4.0.2
- Removed
FileChangesWatcher
- Improved entry point shutdown mechanism
-
- Previously, the stop was done on a timer. Now the stop will be completed only after completing all received tasks
- All tests redesigned, code coverage increased
- Other minor changes and improvements.
v4.0.1
General
- Performance improved
- Fixed some bugs
- Code style changed
- Amphp components updated
- Updated Symfony components to
5x
- Added support for php 7.4
Service bus
- A new property (
description
) has been added for CommandHandler and EventListener If specified, then a log entry with this description will be added before calling the handler - Removed hack for phpunit tests
- Added interface for implementing alerts: AlertingProvider
-
Telegram
alerts are available by default: TelegramAlertingProvider
-
- If necessary, you can use several providers using ChainAlertingProvider
- Added formatter for logging to stdOut
- Http client is added to the list of base dependencies and registered in the container under the identifier
ServiceBus\HttpClient\HttpClient
Message serializer
- Added support for php 7.4
-
- For correct work in php 7.4 a combined type extractor will be used: CombinedExtractor
- Removed the
Serializer
interface and its implementation of theJsonSerializer
Http client
- Added request parameter logging
- Added query execution time logging
- Simple Ether Implementation added
- Added ability to specify
Content-Type
when adding files to FormBody - Added ability to specify request context
Common
- now() function added
- Added wrappers for json_encode() and json_decode()
Storage SQL
- sequence() function added
- Added basic implementations of helpers for performing SELECT queries: SqlFinder
-
- Search and cache results: CachedSqlFinder
-
- Simple search: SimpleSqlFinder
Mutex
- Added support for the lock collection. Required for correct operation in case of several running instances (Storage for Redis will be added later)
Sagas
- Removed
__toString()
method from SagaId - Added support for lock collections for the correct operation of several processes
- A new field has been added for the SagaEventListener:
description
. If specified, then a log entry with this description will be added before calling the handler
EventSourcing
- Removed
__toString()
method from AggregateId - Added support for lock collections for the correct operation of several processes
Transport/Amqp
- Removed
create()
method from AmqpQueue - Removed
create()
method from QueueBind - Removed
create()
method from OutboundPackage
Scheduler
- Removed
__toString()
method from ScheduledOperationId
v4.0.0-rc6
change telegram handler signature
v4.0.0-rc4
colorize support for logging
v4.0.0-rc3
remove unused imports
v4.0.0-rc1
debug tests
v3.3.3
- Update dependencies
v3.3.0
- Now the minimum php version is 7.3
- Removed all methods previously marked as deprecated
- Context contract changed
- Changed the order of the arguments to the logContextThrowable() method
- Added return() method
- Now when using logContextThrowable(), all previous exceptions are also written
- All dependency versions are tightly fixed
v3.2.4
update dependencies
v3.2.3
update dependencies