Skip to content

Releases: php-service-bus/service-bus

Rename project

11 Feb 08:42

Choose a tag to compare

v2.4.2

rename project

v2.4.1

19 Jan 10:45

Choose a tag to compare

Update phpinnacle/ridge version (bug fixes)

Update transport, event sourcing, etc...

15 Jan 14:37
e73b21b

Choose a tag to compare

  • Changed amqp client implementation to phpinnacle/ridge
  • A revert method has been added to the EventSourcing provider.
  • Changed data schema for table containing events. SQL requests for migration:
ALTER TABLE event_store_stream_events ADD canceled_at timestamp;
DROP INDEX event_store_stream_events_playhead;
CREATE UNIQUE INDEX IF NOT EXISTS event_store_stream_events_playhead ON event_store_stream_events (stream_id, playhead) WHERE canceled_at IS NULL;
  • When creating an aggregate identifier, it is now necessary to specify the class of the aggregate itself @see
  • Removed part of optional collections
  • Directory structure changed: EventSourcingSnapshots moved to EventSourcing; EntryPoint and DependencyInjection moved to Application
  • Updated version of static code analysis psalm

Logger changes

28 Dec 08:50
2219ab3

Choose a tag to compare

  • By default, there is no logger initialization now. You need to define it yourself. For example:
  # Echo stream handler
  service_bus.logger.handlers.stdout_handler:
    class: Desperado\ServiceBus\Infrastructure\Logger\Handlers\StdOut\StdOutHandler

  # Default logger instance
  service_bus.logger:
    class: Monolog\Logger
    arguments:
      $name: '%service_bus.entry_point%'
      $handlers:
        - '@service_bus.logger.handlers.stdout_handler'
  • Added adapter for logging to Graylog (UDP)
  • Added logging SQL queries
  • Fiexed error with PQ extension supports (It was impossible to get the correct number of affected records)
  • Fixed error related to receiving messages in incorrect format

Ack message with no handlers

25 Dec 10:29
0ad79cd

Choose a tag to compare

Merge pull request #124 from mmasiukevich/develop

fix ack with no handlers

Performance improvement

24 Dec 18:02
427fdf5

Choose a tag to compare

Merge pull request #122 from mmasiukevich/develop

change timings

v2.3.0: Merge pull request #120 from mmasiukevich/develop

21 Dec 07:45
180e626

Choose a tag to compare

  • Separated interfaces for database adapter
  • Added implementation of the Active Record pattern
  • Added delayed initialization of database connection
  • Added adapter for caching

Http client error fixed

17 Dec 14:59
e637a6b

Choose a tag to compare

Merge pull request #119 from mmasiukevich/develop

http client bug fixes

v2.2.7: Merge pull request #118 from mmasiukevich/develop

13 Dec 14:48
6d94777

Choose a tag to compare

  • Fixed bug with transferring trace id (name changed to X-SERVICE-BUS-TRACE-ID)
  • Fixed bug with transferring serializer type (name changed to X-SERVICE-BUS-ENCODER)
  • Added automatic handling of uncaught exception events and validation errors for message handlers (Optional)
  • Code optimization

The use of closures has been removed from the serializer

04 Dec 23:05
0bb8c98

Choose a tag to compare

Merge pull request #106 from mmasiukevich/develop

Develop