Releases: woohoolabs/harmony
Releases · woohoolabs/harmony
6.1.0
DEPRECATED:
Harmony::__invoke()
: useHarmony::run()
instead
6.0.2
FIXED:
- Instead of a fatal error, an exception is thrown when the
FastRouteMiddleware::$fastRoute
property isnull
6.0.1
CHANGED:
- Apply the Woohoo Labs. Coding Standard
6.0.0
ADDED:
- Support for Zend Diactoros 2.0
CHANGED:
- Run tests on PHP 7.3
REMOVED:
DiactorosResponderMiddleware
as it has been deprecated since Harmony 5.1.0 (breaking change)
5.1.0
ADDED:
HttpHandlerRunnerMiddleware
in order to be able to easily use Zend's Http Handler Runner package
CHANGED:
- Deprecated
DiactorosResponderMiddleware
because the default HTTP response emitters were deprecated as of Diactoros v1.8.0. You can useHttpHandlerRunnerMiddleware
instead.
5.0.0
ADDED:
- Support for PSR-15 (breaking change)
CHANGED:
- Adapted the PSR-15
MiddlewareInterface
Harmony::__invoke()
accepts no arguments- Condition callables receive the request (
ServerRequestInterface
) as a second parameter - PHPUnit 7 is minimally required to run tests
REMOVED:
HarmonyMiddlewareInterface
(breaking change)Harmony::getResponse()
(breaking change)Harmony::removeMiddleware()
(breaking change)
4.1.1
CHANGED:
- Routing logic was put into
FastRouteMiddleware::routeRequest()
template method
FIXED
- Included Docker image now has PHP 7.1
4.1.0
CHANGED:
- Increased minimum PHP version requirement to 7.1
- Added more type declarations
4.0.0
ADDED:
- Support for PSR-11
CHANGED:
- Better exception message for
DispatcherException
- Tests namespace became
WoohooLabs\Harmony\Tests
REMOVED:
- Support for Container-Interop
FIXED:
DiactorosResponderMiddleware
passes the request and response to the next middleware
3.1.0
ADDED:
- Docker Compose file to run tests more easily
CHANGED:
- Updated minimum PHP version requirement to 7.0
- Fixed stylistic errors in the documentation