Releases
v3.0.0
dg
released this
28 Feb 16:14
Features
requires PHP 7.1
uses declare(strict_types=1)
uses PHP 7.1 scalar and return type hints
added support for SameSite cookie
Request, HttpExtension: added sameSite protection (enabled by default)
Session: by default uses sameSite: Lax (BC break)
Session: enabled PHP option use_strict_mode
FileUpload: added IMAGE_MIME_TYPES
FileUpload: Added Webp content type to isImage (#132 )
added UrlImmutable
UrlScript: added getRelativePath() [Closes #45 ]
Changes
UrlScript extends from UrlImmutable (BC break)
Request: removed unused second parameter $query (BC break)
IRequest, IResponse, Url: parameters $default are deprecated (BC break)
HttpExtension: uses interfaces IRequest & IResponse instead of Request & Response (BC break) [Closes #90 ]
some classes & members marked as final (BC break)
HttpExtension: default value of secureCookie is auto (BC break)
Session: default values for cookie_path, cookie_domain & cookie_secure are taken from Response
Session::getCookieParameters() is deprecated
Url::parseQuery() - correctly decodes spaces and dots in keys (BC break)
Url: is not ignoring user & password (BC break) [Closes #63 ]
RequestFactory: removed user & password from Url (BC break)
Request::getReferer() returns UrlImmutable (BC break)
You can’t perform that action at this time.