All Versions
11
Latest Version
Avg Release Cycle
228 days
Latest Release
1494 days ago

Changelog History
Page 1

  • v3.0.0 Changes

    September 29, 2020
    • 👍 PSR-14 is now supported.
    • Classes and interfaces renamed to match PSR terminology.
  • v2.2.0 Changes

    November 26, 2018
    • Buffered event emitter was added.
  • v2.1.2 Changes

    May 21, 2015

    🛠 Fixed

    • Event emitting now respects the order in which the listeners were added in addition to priority.
  • v2.1.1

    March 30, 2015
  • v2.1.0 Changes

    February 12, 2015

    ➕ Added

    • EmitterAwareInterface: an interface to be EmitterInterface aware.
    • 0️⃣ EmitterAwareTrait: a default implementation to EmitterAwareInterface

    🔄 Changed

    • EmitterTrait: The EmitterAware interface was extracted from this, which it now uses.
  • v2.0.0 Changes

    December 09, 2014

    ➕ Added

    • EventInterface: an interface is derived from the AbstractEvent class to allow more flexible type hinting and custom implementations. All the code expecting an AbstractEvent now expect an EventInterface implementation, however AbstractEvent covers the most use cases.
    • Event::named: named construtor to create string based events
    • CallbackListener::fromCallable: create a callback listener from a callable.
    • ListenerAcceptorInterface: An interface (distilled from the EmitterInterface) to only focus on accepting listeners.
    • ListenerProviderInterface: An interface to focus on providing the Emitter with new listeners.
    • EmitterInterface::useListenerProvider: Allows you to use an implementation of the ListenerProviderInterface to add listeners.
    • 🚀 EmitterInterface::releaseGeneratedEvents: Eases the way events are released from GeneratorInterface implementations.

    Altered

    • All event typehints have been changed from AbstractEvent to EventInterface

    ✂ Removed

    • PriorityEmitter: this functionality is now part of the standard emitter.
  • v1.0.1

    October 11, 2014
  • v1.0.0 Changes

    September 09, 2014

    Altered

    • The Emitter now checks if propagation has been stopped before invoking the first listener.
    • 📇 Renamed ListenerAbstract to AbstractListener
  • v0.3.1 Changes

    September 06, 2014

    ➕ Added

    • Wildcard listeners: When specifying * as the event name to listen to it will listen to all events. Wildcard listeners will be invoked AFTER named event listeners.

    🛠 Fixed

    • 💅 Various code style fixes.
    • Corrected priority emitter sorting.

    Altered

    • Listener invocation is now responsible for retrieving the events attached to an event name. [internal]
  • v0.3.0 Changes

    August 24, 2014

    ➕ Added

    • EmitterInterface: an interface is derived from the Emitter class to allow more flexible type hinting and custom implementations. All the code expecting an Emitter now expect an EmitterInterface implementation.