All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
-
#1 updates the psr/event-dispatcher dependency to
^1.0
. -
#1 updates the fig/event-dispatcher-util dependency to
^1.0
.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Moves
EventDispatcherFactory
to the source root, instead of under itsListenerProvider
subdirectory, ensuring it can be used.
- Nothing.
- Removes the ListenerShouldQueue interface. Queueing is always based on the combination of the queue/task runner in use by the application, and the listener provider to which the listener attaches. As such, no interface is needed.
-
Fixes a typo in
LazyListener::getListener()
where the method was using an undeclared variable, instead of an instance property. -
Fixes an
instanceof
check inErrorEmittingDispatcher::handleCaughtThrowable()
, preventing an infinite recursion condition. -
Fixes a typo in the
ErrorEvent
constructor during an assigment. -
Fixes a typo of a function name in
ReflectionBasedListenerProvider::getProvider()
. -
Fixes two errors in
ListenerProviderAggregate::getListenersForEvent()
that prevented it from working at all.
-
Adds documentation of all capabilities.
-
Adds
EventDispatcherFactory
, which also requires the second$serviceName
argument during invocation. The argument is assumed to be the class name of anEventDispatcherInterface
implementation, and this class is instantiated using the value of theListenerProviderInterface
service. -
Adds
ListenerShouldQueue
, a marker interface indicating that the listener can be safely deferred for asynchronous invocation.
- Registers all listener providers and all event dispatchers as container services.
- Nothing.
- Nothing.
- Nothing.
- Adds support for the 0.7.0 version of the PSR-14 specification.
-
ErrorTaskProcessor
was renamed toErrorEmittingDispatcher
. -
TaskProcessor
was renamed toEventDispatcher
. -
The various
ListenerProviderInterface
implementations were updated to useobject
typehints, instead ofEventInterface
(as the latter is no longer part of the spec).
- Nothing.
-
Notifier
was removed, as it is no longer part of the specification. -
StoppableTaskTrait
was removed, as it is now part of fig/event-dispatcher-util.
- Nothing.
- Adds support for the 0.3.0 version of the PSR-14 specification.
- Nothing.
- Nothing.
- Nothing.
- Nothing.