IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Breaking changes from 1.x
editBreaking changes from 1.x
edit- The client now requires PHP version 5.4 or higher
- The entire client configuration and initialization system has changed to a builder pattern. Please see Configuration for more details
-
Notably,
GuzzleConnection
andCurlMultiConnection
have been removed. If your code relied on these classes specifically, or configured cURL options explicitly, please see the docs about how the new HTTP handler functions - The client no longer ships with a default logger, and Monolog has been moved to "suggest". Please see Enabling the Logger for details on how to use Monolog (or equivalent PSR/Log implementation)
-
custom
parameters are now part of theclient
options (e.g.['client' => ['custom' => 'abc'] ]
) -
Exception ignoring is now now part of the
client
options (e.g.['client' => ['ignore' => 404] ]
)