3.0.0
Now you are able to use any implementation of PSR-18 compliant HTTP client - https://packagist.org/providers/psr/http-client-implementation.
The client has to be installed together with HTTP client:
composer require influxdata/influxdb-client-php guzzlehttp/guzzle
Management API
This release also uses a new version of InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi, QueryApi, HealthApi, ...
- Add
ConfigServiceto retrieve InfluxDB's runtime configuration - Add
DebugServiceto retrieve debug and performance data from runtime - Add
MetricsServiceto deal with exposed prometheus metrics - Add
RemoteConnectionsServiceto deal with registered remote InfluxDB connections - Add
ResourcesServiceto manage InfluxDB resources - Add
ReplicationServiceto manage InfluxDB replications - Add
ReplicationServiceto manage InfluxDB replications - Update
TemplatesServiceto deal withStackandTemplateAPI - Update
RestoreServiceto deal with new restore functions of InfluxDB
Breaking Changes
- Remove asynchronous operation based on
GuzzleHttp\Message\FutureResponse - Remove
DocumentServicein favour of InfluxDB Community Templates. For more info see - influxdb#19300, openapi#192 - Remove
DefaultSerive:PostSigninoperation is moved toSigninServicePostSignoutoperation is moved toSignoutService