Skip to content

Releases: Koriit/EventDispatcher

v2.0.0

02 May 13:34
Compare
Choose a tag to compare

EventDispatcher has been upgraded to support PHP-DI 6.

Unfortunately, this lead to compatibility break and hence v2.

Added

  • Added support for PHP 7.2(should have been already working)

Changed

  • Moved to PHP-DI 6

Removed

  • Removed support for PHP 5.6 and 5.5(consequence of moving to PHP-DI 6)

v1.0.1

24 Jun 20:22
Compare
Choose a tag to compare

One fix; integrated scrutinizer and styleci; other improvements of repository.

Fixed

  • OverridenParameter exception was not thrown if overridden parameters were nulls.

v1.0.0

16 Jun 18:29
Compare
Choose a tag to compare

Changed

  • Renamed library and repo from Koriit\PHP-ED to Korrit\EventDispatcher
    to match actual namespaces.
  • Priority can now only be non-negative integer.
  • It is now impossible to pass eventName, eventContext or eventDispatcher
    in additional parameters array. An exception is thrown.

Added

  • Added InvalidPriority exception.
  • Added OverriddenParameter exception.
  • It's now possible to ignore the value returned by listener with context.
  • It's now possible to stop the dispatchment with context.