- Added PHPUnit constraints:
BrowserCookieValueSameandBrowserHasCookie - Added
HttpBrowser, an implementation of a browser with the HttpClient component - Renamed
ClienttoAbstractBrowser - Marked
Responsefinal. - Deprecated
Response::buildHeader() - Deprecated
Response::getStatus(), useResponse::getStatusCode()instead
- The method
Client::submit()will have a new$serverParametersargument in version 5.0, not defining it is deprecated - Added ability to read the "samesite" attribute of cookies using
Cookie::getSameSite()
- [BC BREAK] Client will skip redirects during history navigation (back and forward calls) according to W3C Browsers recommendation
- [BC BREAK] The request method is dropped from POST to GET when the response status code is 301.
- Client HTTP user agent has been changed to 'Symfony BrowserKit'
-
[BC BREAK]
Client::followRedirect()won't redirect responses with a non-3xx Status Code andLocationheader anymore, as per http://tools.ietf.org/html/rfc2616#section-14.30 -
added
Client::getInternalRequest()andClient::getInternalResponse()to have access to the BrowserKit internal request and response objects
- [BC BREAK] The CookieJar internals have changed to allow cookies with the same name on different sub-domains/sub-paths