Releases: php-service-bus/service-bus
Releases · php-service-bus/service-bus
Rename project
v2.4.2 rename project
v2.4.1
Update phpinnacle/ridge version (bug fixes)
Update transport, event sourcing, etc...
- 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
- 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
Merge pull request #124 from mmasiukevich/develop fix ack with no handlers
Performance improvement
Merge pull request #122 from mmasiukevich/develop change timings
v2.3.0: Merge pull request #120 from mmasiukevich/develop
- 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
Merge pull request #119 from mmasiukevich/develop http client bug fixes
v2.2.7: Merge pull request #118 from mmasiukevich/develop
- 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
Merge pull request #106 from mmasiukevich/develop Develop