Skip to content

Releases: teamsquad-io/php-event-bus

v2.4.1

02 Aug 11:57
Compare
Choose a tag to compare
  • Fix create_queue true by default

Full Changelog: v2.4.0...v2.4.1

v2.4.0

02 Aug 08:54
Compare
Choose a tag to compare

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

Full Changelog: v2.3.0...v2.4.0

v2.3.0 parseRequest function logs errors to /tmp/consumer_error.log

09 Jan 18:30
15a74e6
Compare
Choose a tag to compare

What's Changed

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

  • @zapan made their first contribution in #37

Full Changelog: v2.2.1...v2.3.0

v2.2.1 Update doctrine/annotations to 2.0

23 Dec 04:40
39760dc
Compare
Choose a tag to compare

What's Changed

  • Remove php-cs-fixer from deps + update doctrine/annotations v2 by @tomasvts in #36

Full Changelog: v2.2.0...v2.2.1

v2.2.0 Update deps

22 Dec 13:46
d0718a3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0 Add more info on exceptions

11 Oct 14:36
63a97c8
Compare
Choose a tag to compare

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

05 Oct 15:52
Compare
Choose a tag to compare

v2.0.0 Major version update

29 Sep 16:24
Compare
Choose a tag to compare
  • Change method init to initializeConsumer to support Yii framework

What's Changed

Full Changelog: v1.3.3...v2.0.0

v1.3.3 New env variables

20 Sep 23:41
Compare
Choose a tag to compare

v1.3.2 PublishedAt fix

19 Sep 04:08
Compare
Choose a tag to compare