Skip to content

v4.0.1

Choose a tag to compare

@mmasiukevich mmasiukevich released this 02 Jan 10:58
· 20 commits to v4.0 since this release

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
  • 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 the JsonSerializer

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

Storage SQL

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

Scheduler