All Versions
10
Latest Version
Avg Release Cycle
57 days
Latest Release
1484 days ago

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
    • โž• Added support for proxies in ClientIp. This changes the default behaviour of this middleware. More info #65
    • โž• Added an argument to Https to invert the behaviour of the middleware #73
  • 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.
  • 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
  • v3.17.0 Changes

    October 12, 2016
    • Https: New option Https::checkHttpsForward() to check the headers X-Forwarded-Proto: https or X-Forwarded-Port: 443
    • Https: Adds automatically the https protocol to the Location header in redirect responses to avoid infinite redirections #41
    • The stream factory receives a third argument with the stream object to replace #42
  • v3.16.2 Changes

    September 02, 2016
    • Cache: Fixed support for micheh/psr-7cache ^0.5 #38
  • v3.16.1 Changes

    June 10, 2016

    ErrorHandler: 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)