Oct 14, 2018
Version 1.1.5
- Uploaded files are normalized as per the PSR-7 spec.
- If the superglobal
$_COOKIE
is empty, then cookie header is parsed if one exists (as per RFC 6265 spec). - Added
BitFrame\Factory\createUploadedFile()
- Added
BitFrame\Factory\normalizeUploadedFiles()
- Added
BitFrame\Factory\parseCookieHeader()
- Added
BitFrame\Factory\HttpMessageFactory::createUploadedFile()
- Added
BitFrame\Factory\HttpMessageFactory::setUploadedFileFactory()
Aug 01, 2018
Version 1.1.3
- Updated factories to reflect latest changes introduced in the accepted PSR-17 http-factory standard
Jul 22, 2018
Version 1.1.1
- Made micro-optimizations in code
- Updated
HttpMessageFactory
to reflect latest changes introduced in PSR-17 http-factory v0.4 - Added
BitFrame\Factory\marshalMethodFromSapi()
- Removed
ServerRequestFactory::stripQueryString()
- Removed
ServerRequestFactory::marshalRequestUri()
- Removed
ServerRequestFactory::getHeader()
- Removed
ServerRequestFactory::marshalHostAndPortFromHeaders()
- Removed
HttpMessageFactory::get()
- Deprecated
ServerRequestFactory::marshalHeaders()
; should instead useBitFrame\Factory\marshalHeadersFromSapi()
- Deprecated
ServerRequestFactory::marshalProtocolVersion()
; should instead useBitFrame\Factory\marshalProtocolVersionFromSapi()
- Deprecated
ServerRequestFactory::marshalUriFromServer()
; should instead useBitFrame\Factory\marshalUriFromSapi()
Jul 18, 2018
Version 1.1.0
- Methods defined in a route configuration array (that's passed to
RoutesDelegate::fromConfig()
) can now be case-insensitive
Jul 18, 2018
Version 1.0.9
- Added
\BitFrame\Delegate\RoutesDelegate
class to allow loading routes from a configuration array - Added tests for
\BitFrame\Delegate\RoutesDelegate
Jun 30, 2018
Version 1.0.8
- Fixed
RequestTrait::getNormalizedUriPath()
method to replace document root only once - Added test for
RequestTrait::getNormalizedUriPath()
Jun 29, 2018
Version 1.0.6
- Added url normalization support which fixes the document root when the document root directive has not been explicitly declared for the project folder (such as by using the
DOCUMENT_ROOT
directive in apache) - Removed url normalization from
\BitFrame\Factory\HttpMessageFactory
- Added url normalization to
\BitFrame\Message\RequestTrait
Jun 08, 2018
Version 1.0.5
- Instance of
\BitFrame\Router\RouteGroup
is now bound to the route group callback - Routes in a route group can now be setup using the
$this
keyword inside the route group callback - Added a new test for route group using
$this
keyword to setup routes in the route group callback
Jun 07, 2018
Version 1.0.4
- Middleware dispatcher now skips
null
and[]
in a middleware queue - Added the ability to conditionally add middleware by using
null
or[]
- Added new tests for middleware dispatcher and application
May 29, 2018
Version 1.0.3
- Added workaround for using subfolders as the root folder
- Folder containing the main 'index.php' is considered the root folder
May 17, 2018
Version 1.0.2
- Added JSONP support to
withJson
method inResponseTrait
- Added test for JSONP in
ResponseTraitTest
May 02, 2018
Version 1.0.1
- Fixed
hasEndpoint()
method in\BitFrame\Message\RequestTrait
to match each uri path wholly - Added more tests to
RequestTraitTest
Feb 14, 2018
Version 1.0.0
- Added Middleware Dispatcher
- Added PSR-5 Event Manager
- Added support for Router, Error Handler, Response Emitter & Template Renderer
- Added Factory classes for custom using components
- Allow backward compatibility with PSR-7 based middleware