All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
2.0.0 - 2018-05-02
- Added support for PHP 7.2(should have been already working)
- Moved to PHP-DI 6
- Removed support for PHP 5.6 and 5.5(consequence of moving to PHP-DI 6)
1.0.1 - 2017-06-24
OverridenParameter
exception was not thrown if overridden parameters were nulls.
- 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
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.