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.
- Support for PHP < 7.2 (#6).
- No longer relying on
dhii/event dispatcher
, but usingpsr/event-dispatcher
instead (#6).
- Support for PHP 8.0 (#6).
- Missing typehints that have now become possible (#6).
- Doc improvements (#6).
- Upgraded tooling and configs (#6).
Stable release.
This release is very BC-breaking. It takes advantage of the fact that the new accepted PSR-14 standard already declares an event dispatcher and an interface for events which can have their propagation stopped. The aim of this release is to remove all extras, and only provide an event standard, complementary to PSR-14.
A secondary objective of this release is to move away from legacy standards, and update the project with current development practices. Consequently, PHP 5.x support has been dropped, and the project has been updated to use newer versions of testing tools, while being refactored accordingly.
EventManagerInterface
, its factory, and tests.- Dependency on legacy PSR-14 mirror.
- Dependency on legacy standards and testing tools.
EventInterface
re-worked. It is modelled against the previous PSR draft version, but made immutable, and with extras removed.- Event factory no longer uses legacy factory standard, and now is specific to the definition of event interface.
- The package root namespace is changed from
Dhii\Event
toDhii\Events
. This is to match the structure ofdhii/event-dispatcher
.
- Docker environment configuration.
Stable release.
- Project now a Dhii project.
- Namespaces converted to proprietary.
- Broke BC for
EventManagerInterface
: no longer extends PSR interface, but is forward-compatible.
- Tests.
- Documentation.
- Code standards.
Initial version.