From 40381dc0c650c6baf5c5bffb7accfc9ec3a26c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Fri, 2 Feb 2018 10:20:14 +0100 Subject: [PATCH] Add more breaking change notices --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9f405c..7828c86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,10 +16,10 @@ ADDED: CHANGED: -- `JsonApiErrorHandlerMiddleware` was renamed to `JsonApiExceptionHandlerMiddleware` -- `JsonApiExceptionHandlerMiddleware` expects a `ResponseInterface` instance as the first constructor parameter to use it as an error response prototype -- `JsonApiExceptionHandlerMiddleware` catches and handles `Throwable`s by default -- `JsonApiDispatcherMiddleware` throws an exception instead of responding with an error 404 response if it can not find any dispatchable action +- `JsonApiErrorHandlerMiddleware` was renamed to `JsonApiExceptionHandlerMiddleware` (**breaking change**) +- `JsonApiExceptionHandlerMiddleware` expects a `ResponseInterface` instance as the first constructor parameter to use it as an error response prototype (**breaking change**) +- `JsonApiExceptionHandlerMiddleware` catches and handles `Throwable`s by default (**breaking change**) +- `JsonApiDispatcherMiddleware` throws an exception instead of responding with an error 404 response if it can not find any dispatchable action (**breaking change**) - PHPUnit 7 is minimally required to run tests ## 2.2.0 - 2017-11-21