Skip to content

Latest commit

 

History

History
296 lines (199 loc) · 13.3 KB

CHANGELOG.md

File metadata and controls

296 lines (199 loc) · 13.3 KB

3.6.0 [unreleased]

3.5.0 [2024-04-16]

Bug Fixes

  1. #146: Try to convert non-string-tags to strings, generate a warning if a value cannot be converted

3.4.0 [2023-07-28]

Bug Fixes

  1. #144: Corrects closing the UdpWriter

3.3.0 [2023-03-29]

Others

  1. #140: fixes strings to prevent PHP 8.2 notices
  2. #136: add PHP 8.2 do CI build
  3. #135: freeze xdebug version to 3.1.6 which also supports PHP 7.2

3.2.0 [2022-12-01]

Others

  1. #134: Update generated PingService

3.1.0 [2022-10-27]

Features

  1. #131: Add FluxRecord.row which stores response data in a array

3.0.0 [2022-09-30]

⚠️ This release drops strong couple to Guzzle HTTP client. 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 ConfigService to retrieve InfluxDB's runtime configuration
  • Add DebugService to retrieve debug and performance data from runtime
  • Add MetricsService to deal with exposed prometheus metrics
  • Add RemoteConnectionsService to deal with registered remote InfluxDB connections
  • Add ResourcesService to manage InfluxDB resources
  • Add ReplicationService to manage InfluxDB replications
  • Add ReplicationService to manage InfluxDB replications
  • Update TemplatesService to deal with Stack and Template API
  • Update RestoreService to deal with new restore functions of InfluxDB

Breaking Changes

  • Remove asynchronous operation based on GuzzleHttp\Message\FutureResponse
  • Remove DocumentService in favour of InfluxDB Community Templates. For more info see - influxdb#19300, openapi#192
  • Remove DefaultSerive:
    • PostSignin operation is moved to SigninService
    • PostSignout operation is moved to SignoutService

Features

  1. #129: Use generic PSR-18 as an HTTP client

2.9.0 [2022-07-29]

Features

  1. #125: Add logging for HTTP requests

2.8.0 [2022-05-20]

Breaking Changes

  1. #121: Rename InvocableScripts to InvokableScripts

2.7.0 [2022-04-19]

Features

  1. #119: Add InvokableScriptsApi to create, update, list, delete and invoke scripts by seamless way

CI

  1. #118: Use new Codecov uploader for reporting code coverage

2.6.0 [2022-02-18]

Features

  1. #114: Minimal supported version of PHP is 7.2
  2. #117: Using DateTimeInterface to be more compatible with all DateTime objects (like DateTimeImmutable) in Point

Bug Fixes

  1. #115: Add missing PermissionResources from Cloud API definition

2.5.0 [2022-01-20]

Features

  1. #105: Add support for latest guzzlehttp/psr7"
  2. #107: Add support for Parameterized Queries
  3. #111: Using ArrayAccess in FluxRecord

Bug Fixes

  1. #109: PHP 8.1 deprecation warnings

Documentation

  1. #111: Added new examples

2.4.0 [2021-11-26]

Features

  1. #102: Use async HTTP calls to achieve better performance in a multithreading environment.

Bug Fixes

  1. #101: Fix parsing Query response with contains new lines in field values

2.3.0 [2021-10-22]

Features

  1. #97: Add ping() to check status of OSS and Cloud instance

Bug Fixes

  1. #95: Fix file descriptor leaks in WriteApi
  2. #96: Fix nanosecond datetime string convertor

CI

  1. #93: Switch the PHP 7.1 image to next-gen CircleCI's convenience images

2.2.0 [2021-09-17]

Features

  1. #86: Add configuration option for proxy and redirects
  2. #92: Add configuration option for ipVersion [UDP Writer]

CI

  1. #90: Switch to next-gen CircleCI's convenience images

2.1.0 [2021-08-20]

Bug Fixes

  1. #84: Parsing infinite numbers

2.0.0 [2021-07-09]

Breaking Changes

This release introduces a support for new 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, BucketsApi, OrganizationsApi...

  • UsersService uses PostUser to create User
  • AuthorizationsService uses AuthorizationPostRequest to create Authorization
  • BucketsService uses PatchBucketRequest to update Bucket
  • OrganizationsService uses PostOrganizationRequest to create Organization
  • OrganizationsService uses PatchOrganizationRequest to update Organization
  • DashboardsService uses PatchDashboardRequest to update Dashboard
  • DeleteService is used to delete time series data instead of DefaultService
  • Run contains list of LogEvent in Log property
  • DBRPs contains list of DBRP in Content property
  • DBRPsService uses DBRPCreate to create DBRP
  • Inheritance structure:
    • Check <- CheckDiscriminator <- CheckBase
    • NotificationEndpoint <- NotificationEndpointDiscriminator <- NotificationEndpointBase
    • NotificationRule <- NotificationRuleDiscriminator <- NNotificationRuleBase
  • Flux AST literals extends the AST Expression object

API

  1. #79: Use InfluxDB OSS API definitions to generated APIs

Bug Fixes

  1. #81: Compatibility with PHP 7.1 and 7.2

1.13.0 [2021-06-04]

Features

  1. #76: Exponential random backoff retry strategy

1.12.0 [2021-04-01]

Features

  1. #74: Allow to change GuzzleHTTP timeout

API

  1. #71: Update swagger to the latest version

1.11.0 [2021-03-05]

Features

  1. #65: FluxRecord uses descriptive message for column that doesn't exists
  2. #68: Moved classes to their own file

Documentation

  1. #65: Documentation for the client is located at GitHub: https://influxdata.github.io/influxdb-client-php/

CI

  1. #67: Updated stable image to influxdb:latest and nightly to quay.io/influxdb/influxdb:nightly

1.10.0 [2021-01-29]

Features

  1. #53: Ability to write via UDP protocol
  2. #57: Added possibility to disable verification of SSL certificate

Bug Fixes

  1. #60: Compatibility with PHP 7.1 and 7.2

CI

  1. #58: Updated default docker image to v2.0.3
  2. #60: Added PHP 8 to CI, Added code style checking to CI

Documentation

  1. #63: Updated docs and examples about deleting data

1.9.0 [2020-12-04]

Features

  1. #49: Added support for Guzzle 7
  2. #51: CSV parser is able to parse export from UI

CI

  1. #54: Updated default docker image to v2.0.2

Documentation

  1. #46: Adding info about how to get the query in JSON format

1.8.0 [2020-10-30]

Features

  1. #44: Added generated APIs from swagger for InfluxDB 2.0 management, buckets, organizations, authorizations...
  2. #45: Improved logging message for retries

1.7.0 [2020-10-02]

Features

  1. #38: Added jitterInterval to WriteApi

API

  1. #39: Default port changed from 9999 -> 8086

1.6.0 [2020-08-14]

Features

  1. #32: Added retryInterval, maxRetries and maxRetryDelay to WriteOptions in WriteApi
  2. #36: Added exponentialBase to WriteApi
  3. #34: Retry strategy now work also for connection errors
  4. #17: Implemented default tags
  5. #37: Api generator moved to influxdb-clients-apigen module

Bug Fixes

  1. #33: Removed unused flushInterval from WriteApi

1.5.0 [2020-07-17]

Features

  1. #29: Prevent invalid array access when no write options are passed to the WriteApi.

Bug Fixes

  1. #27: Fixed serialization of \n, \r and \t to Line Protocol, = is valid sign for measurement name

1.4.0 [2020-06-19]

API

  1. #27: Updated swagger to latest version

1.3.0 [2020-05-15]

Bug Fixes

  1. #25: Fixes a typo in timeout Guzzle option

Documentation

  1. #24: Improved documentation about batching

1.2.0 [2020-04-17]

Features

  1. #14: Checks the health of a running InfluxDB instance by querying the /health

Documentation

  1. #22: Clarify how to use a client with InfluxDB 1.8

Bug Fixes

  1. #19: Fixed parsing QueryResponse on Windows

1.1.0 [2020-03-13]

Bug Fixes

  1. #13: Fixed throwing of InvalidArgumentException some option is empty
  2. #13: FluxCsvParser: fixed throwing FluxQueryException with no reference, default value is 0
  3. #13: Fixed error when querying empty data, now returns null

1.0.0 [2020-03-06]

Features

  1. #4: Use Makefile Targets Instead of scripts dir
  2. #7: Set User-Agent to influxdb-client-php/VERSION for all requests
  3. #5: Added WriteApi
  4. #8: Added QueryApi
  5. #12: Implemented query stream