Releases: Koriit/EventDispatcher
Releases · Koriit/EventDispatcher
v2.0.0
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
v1.0.0
Changed
- Renamed library and repo from
Koriit\PHP-ED
toKorrit\EventDispatcher
to match actual namespaces. - Priority can now only be non-negative integer.
- It is now impossible to pass
eventName
,eventContext
oreventDispatcher
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.