Skip to content

v5.1.0

Latest
Compare
Choose a tag to compare
@mmasiukevich mmasiukevich released this 06 Apr 00:13

General:

  • The minimum PHP version should now be >=8.0
  • Symfony components version updated to 6.0
  • amphp version updated to 2.6

php-service-bus/sagas:

  • Removed SagaProvider;
  • Added SagaFinder;
  • Sagas are now started with a command (a new annotation has been added - SagaInitialHandler);
  • Any dependencies registered in the DI container can now be used as handler arguments;
  • Handlers can now return Promise or Generator;
  • Added the ability to initiate a saga with any of the message options;
  • SagaCreated, SagaClosed, SagaStatusChanged events can no longer be handled within a saga;

php-service-bus/php-service-bus:

  • Changed logger ID in DI container. Now this is Psr\Log\LoggerInterface;

php-service-bus/argument-resolver

  • Added a new component;

php-service-bus/transport

  • Fixed bug with incorrect traceId;

php-service-bus/mutex

  • Completely changed contract and implementation;

php-service-bus/event-sourcing

  • Now the aggregate doesn't need to be saved. All work with the loaded aggregate is done inside an anonymous function;

php-service-bus/http-client

  • Fixed bug with protocol version indication;

php-service-bus/message-serializer

  • Completely changed contract and implementation;