Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.26 KB

CHANGELOG.md

File metadata and controls

36 lines (28 loc) · 1.26 KB

Changelog

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

  • 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)

1.0.1 - 2017-06-24

Fixed

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

1.0.0 - 2017-06-16

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.