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
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Breaking 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,
GuzzleConnectionandCurlMultiConnectionhave 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)
-
customparameters are now part of theclientoptions (e.g.['client' => ['custom' => 'abc'] ]) -
Exception ignoring is now now part of the
clientoptions (e.g.['client' => ['ignore' => 404] ])