psr/log
v1, 2 and 3 to fix the dependency with elasticsearch/elasticsearch
.
a413687
Finally, the 8.0.0 GA.
Added the TransportException
to extends the Throwable
interface.
This RC3 release introduces the OnSuccessInterface
and OnFailureInterface
for manage the async code with the execution of a custom function during the
return of OnSuccess
and during the execution of OnFailure
. As default behaviour
the OnSuccessDefault
and OnFailureDefault
does not perform any operations.
This RC2 release uses httplug
v2.3.0 to provide a full retry async mechanism
thanks to PR https://github.com/php-http/httplug/pull/168.
This is the first release candidate for 8.0.0 containing some new features and changes compared with the previous 7.x Elastic transport.
ConnectionPool
namespace has been renamed in NodePool
,
consequently all the Connection
classes has been renamed in Node
HttpAsyncClient
interface using Promise.Trasnport::sendAsyncRequest(RequestInterface $request): Promise
to send a PSR-7 request using asynchronous requestTransport::setAsyncClient(HttpAsyncClient $asyncClient)
and Transport::getAsyncClient()
functions. If the PSR-18
client already implements the HttpAsyncClient
interface you
don't need to use the setAsyncClient()
function, it will discovered
automaticallyTransport::setRetries()
function to specify the number
of HTTP request retries to apply. If the HTTP failures exceed the
number of retries the client generates a NoNodeAvailableException
Release created to be compatible with 7.14 Elastic clients
Release created to be compatible with 7.13 Elastic clients