3.9 KiB
Changelog
8.8.0 (2023-11-08)
8.7.0 (2023-05-23)
- Allow installation of psr/http-message v2.0 #17
8.6.0 (2023-01-12)
8.5.0 (2022-10-14)
- Release created to be compatible with 8.5 Elastic clients
- Fixed the full body message in debug() log for Transport #11
8.4.0 (2022-08-17)
- Release created to be compatible with 8.4 Elastic clients
- Added meta header info for Symfony HTTP client #9
- Added composer-runtime-api v2 for InstalledVersions #10
8.3.0 (2022-06-27)
- Release created to be compatible with 8.3 Elastic clients
8.2.0 (2022-06-22)
- Release created to be compatible with 8.2 Elastic clients
8.1.0 (2022-04-12)
- Release created to be compatible with 8.1 Elastic clients
8.0.1 (2022-03-30)
- Support of
psr/log
v1, 2 and 3 to fix the dependency withelasticsearch/elasticsearch
. a413687
8.0.0 (2022-03-24)
Finally, the 8.0.0 GA.
8.0.0-RC4 (2022-03-08)
Added the TransportException
to extends the Throwable
interface.
8.0.0-RC3 (2022-02-26)
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.
8.0.0-RC2 (2022-02-23)
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.
8.0.0-RC1 (2022-02-17)
This is the first release candidate for 8.0.0 containing some new features and changes compared with the previous 7.x Elastic transport.
Changes
- the
ConnectionPool
namespace has been renamed inNodePool
, consequently all theConnection
classes has been renamed inNode
- the previous Apache 2.0 LICENSE has been changed in MIT
New features
- added the usage of HTTPlug library to
autodiscovery PSR-18 client
and
HttpAsyncClient
interface using Promise. - added the
Trasnport::sendAsyncRequest(RequestInterface $request): Promise
to send a PSR-7 request using asynchronous request - added the
Transport::setAsyncClient(HttpAsyncClient $asyncClient)
andTransport::getAsyncClient()
functions. If the PSR-18 client already implements theHttpAsyncClient
interface you don't need to use thesetAsyncClient()
function, it will discovered automatically - added the
Transport::setRetries()
function to specify the number of HTTP request retries to apply. If the HTTP failures exceed the number of retries the client generates aNoNodeAvailableException
7.16.0 (2021-12-14)
Release created to be compatible with 7.16 Elastic clients
7.15.0 (2021-12-01)
Release created to be compatible with 7.15 Elastic clients
7.14.0 (2021-08-03)
Release created to be compatible with 7.14 Elastic clients
7.13.0 (2021-05-25)
Release created to be compatible with 7.13 Elastic clients