PHP Curl Class uses semantic versioning with version numbers written as MAJOR.MINOR.PATCH
. You may safely update
MINOR
and PATCH
version changes. It is recommended to review MAJOR
changes prior to upgrade as there may be
backwards-incompatible changes that will affect existing usage.
- Method
Curl::setStop()
for stopping requests early without downloading the full response body #681
- Fixed constructing request url when using
MultiCurl::addPost()
#686
- Method
Url::parseUrl()
is now public
- Fix parsing schemeless urls #679
- Enabled strict types (
declare(strict_types=1);
)
- Fixed
Curl::downloadFileName
not being set correctly
- Method
Curl::diagnose()
for troubleshooting requests
-
Additional Curl::set* and MultiCurl::set* helper methods
Curl::setAutoReferer() Curl::setAutoReferrer() Curl::setFollowLocation() Curl::setForbidReuse() Curl::setMaximumRedirects() MultiCurl::setAutoReferer() MultiCurl::setAutoReferrer() MultiCurl::setFollowLocation() MultiCurl::setForbidReuse() MultiCurl::setMaximumRedirects()
- Support for using relative urls with MultiCurl::add*() methods #628
- Use short array syntax
- Support for PHP 5.3, 5.4, 5.5, and 5.6 #380
A manual review of changes is possible using the
comparison page. For example, visit
7.4.0...8.0.0 to compare the changes for
the MAJOR
upgrade from 7.4.0 to 8.0.0. Comparing against HEAD
is also possible using the tag...HEAD
syntax
(8.3.0...HEAD).
View the log between releases:
$ git fetch --tags
$ git log 7.4.0...8.0.0
View the code changes between releases:
$ git fetch --tags
$ git diff 7.4.0...8.0.0
View only the source log and code changes between releases:
$ git log 7.4.0...8.0.0 "src/"
$ git diff 7.4.0...8.0.0 "src/"
View only the source log and code changes between a release and the current checked-out commit:
$ git log 8.0.0...head "src/"
$ git diff 8.0.0...head "src/"