Skip to content

Releases: woohoolabs/harmony

6.1.0

06 Jun 11:27
6.1.0
a7f918a
Compare
Choose a tag to compare

DEPRECATED:

  • Harmony::__invoke(): use Harmony::run() instead

6.0.2

11 Jan 10:49
6.0.2
b904719
Compare
Choose a tag to compare

FIXED:

  • Instead of a fatal error, an exception is thrown when the FastRouteMiddleware::$fastRoute property is null

6.0.1

21 Dec 09:41
6.0.1
8748a7b
Compare
Choose a tag to compare

CHANGED:

  • Apply the Woohoo Labs. Coding Standard

6.0.0

18 Oct 07:49
6.0.0
b39dc36
Compare
Choose a tag to compare

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

30 Jul 19:55
5.1.0
d56c1c4
Compare
Choose a tag to compare

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 use HttpHandlerRunnerMiddleware instead.

5.0.0

02 Feb 08:29
5.0.0
c8c2c65
Compare
Choose a tag to compare

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

04 Nov 22:10
4.1.1
41bd034
Compare
Choose a tag to compare

CHANGED:

  • Routing logic was put into FastRouteMiddleware::routeRequest() template method

FIXED

  • Included Docker image now has PHP 7.1

4.1.0

05 Sep 11:09
4.1.0
144dacc
Compare
Choose a tag to compare

CHANGED:

  • Increased minimum PHP version requirement to 7.1
  • Added more type declarations

4.0.0

14 Feb 20:40
Compare
Choose a tag to compare

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

18 Oct 10:42
Compare
Choose a tag to compare

ADDED:

  • Docker Compose file to run tests more easily

CHANGED:

  • Updated minimum PHP version requirement to 7.0
  • Fixed stylistic errors in the documentation