From c8c2c653dcf4d0be51c189e1e343d09a81fa8ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Fri, 2 Feb 2018 09:24:12 +0100 Subject: [PATCH] Bump version --- CHANGELOG.md | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26de5a0..eeedab9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ REMOVED: FIXED: -## 5.0.0 - unreleased +## 5.0.0 - 2018-02-02 ADDED: @@ -19,6 +19,7 @@ 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: diff --git a/README.md b/README.md index e03a8fd..edd8204 100644 --- a/README.md +++ b/README.md @@ -436,7 +436,7 @@ You only had to check the current URI inside the middleware and the problem was that `AuthenticationMiddleware` and all its dependencies are instantiated for each request even though authentication is not needed at all! This can be a major inconvenience if you depend on a big object graph. -In Harmony 3, however, you are able to use conditions in order to optimize the number of objects created. In this case +In Harmony 3+, however, you are able to use conditions in order to optimize the number of objects created. In this case you can utilize the built-in `PathPrefixCondition`. You only have to attach it to Harmony: ```php