All Versions
10
Latest Version
Avg Release Cycle
57 days
Latest Release
2673 days ago
Changelog History
Changelog History
-
v3.21.1 Changes
September 28, 2017- ๐ Fixed bug in clientIp when the default headers are not initialized #83
-
v3.21.0 Changes
August 27, 2017- โ Added an option to prepend namespaces to override middlewares #78
- ๐ Fixed phpunit tests #82
- ๐ Improved FormatNegotiator #80 #81:
- Fixed the behaviour of the default format in some circunstances
- Allow to disable the default format returning a 406 response if no format has been found
- Allow to customize the list of available formats
-
v3.20.0 Changes
March 23, 2017 -
v3.19.0 Changes
January 04, 2017- Robots : Use
Content-Type: text/plain
for robots.txt #47 - ๐ Fixed a conflict with the version of fast-route and league/route #53
- New JsonValidator middleware, to validate the json scheme of the request's body. It's like the JsonSchema middleware but without the router functionality. #46 #58
BasicAuthentication::checkUserPassword()
is protected, allowing to override it. #60- ๐ New option
Cors::logger()
to provide a psr-3 logger instance to debugging #61 - ๐ Fixed Csrf in php 5 #62
- ๐ New option
Payload::override()
to override the previous parsed body if exists.
- Robots : Use
-
v3.18.0 Changes
November 05, 2016- New middleware JsonSchema by @abacaphiliac #44 to validate
application/json
request - ๐ฐ Payload Added an argument to provide an array of parsing options (thanks @abacaphiliac )
- Added the missing documentation for IncludeResponse
- New middleware JsonSchema by @abacaphiliac #44 to validate
-
v3.17.0 Changes
October 12, 2016- Https: New option
Https::checkHttpsForward()
to check the headersX-Forwarded-Proto: https
orX-Forwarded-Port: 443
- Https: Adds automatically the
https
protocol to theLocation
header in redirect responses to avoid infinite redirections #41 - The stream factory receives a third argument with the stream object to replace #42
- Https: New option
-
v3.16.2 Changes
September 02, 2016- Cache: Fixed support for
micheh/psr-7cache ^0.5
#38
- Cache: Fixed support for
-
v3.16.1 Changes
June 10, 2016ErrorHandler: added a
statusCode
option to filter the status code handled by the middleware. Example:Middleware::errorHandler('myHandler')-\>statusCode(function ($code) {return $code === 500; });
-
v3.16.0 Changes
May 29, 2016๐ New middlewares
- IncludeResponse
๐ Fixes
- ๐พ SaveResponse: do not save responses with the header
location
- ๐ FormatNegotiator: removed duplicated code that inserts the
Content-Type
header twice - ๐ DebugBar: removed unnecesary FormatNegotiator dependency
- ๐ Fixed some bugs reported by @ircmaxell in this post
- ErrorHandler: created an empty body before execute the callback #35
-
v3.15.1 Changes
May 06, 2016- ๐ฐ Payload support also the methods PATCH, COPY, LOCK and UNLOCK. (#33 thanks @jpkleemans)