Releases: teamsquad-io/php-event-bus
Releases · teamsquad-io/php-event-bus
v2.4.1
v2.4.0
What's Changed
- Add support for
@Manual
annotation to configure a consumer manually.
Usage:
/**
* @\TeamSquad\EventBus\Infrastructure\Bus(bus="users")
*/
class SampleManualConsumer implements Consumer
{
/**
* @Manual(unserializer="raw", queue="user.online.queue", exchange="", createQueue=false)
*/
public function listen(array $event): string
{
return 'User online event received';
}
}
This will generate a consumer that listen to the "users" bus
Dependencies updated
- Bump vimeo/psalm from 4.30.0 to 5.4.0 by @dependabot in #35
- Bump phpunit/phpunit from 9.5.27 to 9.5.28 by @dependabot in #41
- Bump phpstan/phpstan from 1.9.8 to 1.9.14 by @dependabot in #42
- Bump php-amqplib/php-amqplib from 3.4.0 to 3.5.1 by @dependabot in #43
- Bump vimeo/psalm from 5.4.0 to 5.6.0 by @dependabot in #44
- Bump phpunit/phpunit from 9.5.28 to 9.6.3 by @dependabot in #47
- Bump doctrine/annotations from 2.0.0 to 2.0.1 by @dependabot in #46
- Bump symfony/var-dumper from 5.4.17 to 5.4.19 by @dependabot in #45
- Bump vimeo/psalm from 5.6.0 to 5.7.7 by @dependabot in #51
- Bump phpstan/phpstan from 1.9.14 to 1.10.3 by @dependabot in #52
- Bump symfony/var-dumper from 5.4.19 to 5.4.21 by @dependabot in #54
- Bump phpunit/phpunit from 9.6.3 to 9.6.4 by @dependabot in #55
- Bump php-amqplib/php-amqplib from 3.5.1 to 3.5.2 by @dependabot in #53
- Bump phpstan/phpstan from 1.10.3 to 1.10.10 by @dependabot in #65
- Bump phpunit/phpunit from 9.6.4 to 9.6.6 by @dependabot in #62
- Bump phpstan/phpstan from 1.10.10 to 1.10.11 by @dependabot in #66
- Bump vimeo/psalm from 5.7.7 to 5.9.0 by @dependabot in #63
- Bump php-amqplib/php-amqplib from 3.5.2 to 3.5.3 by @dependabot in #67
- Bump symfony/var-dumper from 5.4.21 to 5.4.22 by @dependabot in #64
- Bump phpunit/phpunit from 9.6.6 to 9.6.7 by @dependabot in #68
- Bump php-amqplib/php-amqplib from 3.5.3 to 3.5.4 by @dependabot in #81
- Bump vimeo/psalm from 5.9.0 to 5.13.1 by @dependabot in #82
- Bump symfony/var-dumper from 5.4.22 to 5.4.25 by @dependabot in #83
- Bump phpunit/phpunit from 9.6.7 to 9.6.10 by @dependabot in #86
- Bump phpstan/phpstan from 1.10.11 to 1.10.26 by @dependabot in #87
- Bump phpseclib/phpseclib from 3.0.20 to 3.0.35 by @dependabot in #88
- Bump symfony/var-dumper from 5.4.25 to 5.4.35 by @dependabot in #95
- Bump vimeo/psalm from 5.13.1 to 5.21.1 by @dependabot in #94
- Bump php-amqplib/php-amqplib from 3.5.4 to 3.6.0 by @dependabot in #92
- Bump phpunit/phpunit from 9.6.10 to 9.6.16 by @dependabot in #91
- Bump phpstan/phpstan from 1.10.26 to 1.10.57 by @dependabot in #89
- Bump phpseclib/phpseclib from 3.0.35 to 3.0.37 by @dependabot in #103
- Bump symfony/var-dumper from 5.4.35 to 5.4.36 by @dependabot in #102
- Bump vimeo/psalm from 5.21.1 to 5.22.2 by @dependabot in #101
- Bump phpunit/phpunit from 9.6.16 to 9.6.17 by @dependabot in #100
- Bump php-amqplib/php-amqplib from 3.6.0 to 3.6.1 by @dependabot in #97
- Bump phpstan/phpstan from 1.10.57 to 1.10.59 by @dependabot in #99
- Bump vimeo/psalm from 5.22.2 to 5.23.0 by @dependabot in #105
- Bump phpstan/phpstan from 1.10.59 to 1.10.60 by @dependabot in #104
- Bump phpstan/phpstan from 1.10.60 to 1.10.65 by @dependabot in #110
- Bump phpunit/phpunit from 9.6.17 to 9.6.18 by @dependabot in #109
- Bump vimeo/psalm from 5.23.0 to 5.23.1 by @dependabot in #108
- Bump psalm/plugin-phpunit from 0.18.4 to 0.19.0 by @dependabot in #106
- Bump php-amqplib/php-amqplib from 3.6.1 to 3.6.2 by @dependabot in #115
- Bump phpstan/phpstan from 1.10.65 to 1.10.67 by @dependabot in #114
- Bump symfony/var-dumper from 5.4.36 to 5.4.38 by @dependabot in #113
- Bump phpunit/phpunit from 9.6.18 to 9.6.19 by @dependabot in #112
- Bump symfony/var-dumper from 5.4.38 to 5.4.39 by @dependabot in #116
- Bump vimeo/psalm from 5.23.1 to 5.24.0 by @dependabot in #117
- Bump symfony/var-dumper from 5.4.39 to 5.4.40 by @dependabot in #121
- Bump phpstan/phpstan from 1.10.67 to 1.11.3 by @dependabot in #120
- Bump phpstan/phpstan from 1.11.3 to 1.11.5 by @dependabot in #124
- Bump vimeo/psalm from 5.24.0 to 5.25.0 by @dependabot in #123
- Bump php-amqplib/php-amqplib from 3.6.2 to 3.7.0 by @dependabot in #126
- Bump phpstan/phpstan from 1.11.5 to 1.11.7 by @dependabot in #125
- Bump phpstan/phpstan from 1.11.7 to 1.11.8 by @dependabot in #127
Full Changelog: v2.3.0...v2.4.0
v2.3.0 parseRequest function logs errors to /tmp/consumer_error.log
What's Changed
- Bump phpstan/phpstan from 1.9.4 to 1.9.8 by @dependabot in #39
- Bump symfony/var-dumper from 5.4.14 to 5.4.17 by @dependabot in #38
- Doctrine annotations update by @zapan in #37
The following changes have been made to the src/Interfaces/Consumer/GoAssistedConsumer.php class:
- A try-catch block has been added around the existing code in the parseRequest function.
- Within the catch block, some error information is being logged to a file in /tmp/consumer_error.log and the caught exception is being re-thrown.
New Contributors
Full Changelog: v2.2.1...v2.3.0
v2.2.1 Update doctrine/annotations to 2.0
What's Changed
Full Changelog: v2.2.0...v2.2.1
v2.2.0 Update deps
What's Changed
- Bump symfony/var-dumper from 5.4.13 to 5.4.14 by @dependabot in #16
- Bump phpstan/phpstan from 1.8.8 to 1.8.9 by @dependabot in #17
- Bump vimeo/psalm from 4.28.0 to 4.29.0 by @dependabot in #14
- Bump friendsofphp/php-cs-fixer from 3.11.0 to 3.12.0 by @dependabot in #15
- Bump php-amqplib/php-amqplib from 3.3.1 to 3.4.0 by @dependabot in #18
- Bump phpstan/phpstan from 1.8.9 to 1.8.10 by @dependabot in #19
- Bump friendsofphp/php-cs-fixer from 3.12.0 to 3.13.0 by @dependabot in #25
- Bump vimeo/psalm from 4.29.0 to 4.30.0 by @dependabot in #24
- Bump psalm/plugin-phpunit from 0.17.0 to 0.18.3 by @dependabot in #22
- Bump phpstan/phpstan from 1.8.10 to 1.9.1 by @dependabot in #23
- Bump phpunit/phpunit from 9.5.25 to 9.5.26 by @dependabot in #21
- Bump phpstan/phpstan from 1.9.1 to 1.9.2 by @dependabot in #26
- Remove doctrine annotations by @tomasvts in #34
Full Changelog: v2.1.0...v2.2.0
v2.1.0 Add more info on exceptions
What's Changed
- Bump symfony/var-dumper from 5.4.11 to 5.4.13 by @dependabot in #8
- Bump vimeo/psalm from 4.27.0 to 4.28.0 by @dependabot in #13
- Bump php-amqplib/php-amqplib from 3.2.0 to 3.3.1 by @dependabot in #12
- Bump phpstan/phpstan from 1.8.6 to 1.8.8 by @dependabot in #11
- 9 simplify goassistedconsumer and autoloadereventmapgenerator by @tomasvts in #10
New Contributors
Full Changelog: v2.0.1...v2.1.0
v2.0.1 Notify when generating an invalid EventMap
Full Changelog: v2.0.0...v2.0.1
v2.0.0 Major version update
- Change method init to initializeConsumer to support Yii framework
What's Changed
- Bump phpunit/phpunit from 9.5.24 to 9.5.25 by @dependabot in #6
- Bump phpstan/phpstan from 1.8.5 to 1.8.6 by @dependabot in #7
Full Changelog: v1.3.3...v2.0.0
v1.3.3 New env variables
Full Changelog: v1.3.2...v1.3.3
v1.3.2 PublishedAt fix
Full Changelog: v1.3.1...v1.3.2