Skip to content

chore(deps): update module github.com/influxdata/influxdb-client-go to v2

This MR contains the following updates:

Package Type Update Change
github.com/influxdata/influxdb-client-go require major v1.2.0 -> v2.9.2

Release Notes

influxdata/influxdb-client-go

v2.9.2

Compare Source

Bug fixes
  • #​341 Changing logging level of messages about discarding batch to Error.
  • #​344 WriteAPI.Flush() writes also batches from the retry queue.
Test
  • #​345 Added makefile for simplifying testing from the command line.

v2.9.1

Compare Source

Bug fixes
  • #​332 Retry strategy drops expired batches as soon as they expire.
  • #​335 Retry strategy keeps max retry delay for new batches.

v2.9.0

Compare Source

Features
  • #​323 Added TasksAPI.CreateTaskByFlux to allow full control of task script.
  • #​328 Added Client.SetupWithToken allowing to specify a custom token.
Bug fixes
  • #​324 Non-empty error channel will not block writes

v2.8.2

Compare Source

Bug fixes
  • #​319 Synchronized WriteAPIImpl.Close to prevent panic when closing client by multiple go-routines.

v2.8.1

Compare Source

Bug fixes
  • #​311 Correctly unwrapping http.Error from Server API calls
  • #​315 Masking authorization token in log

v2.8.0

Compare Source

Features
  • #​304 Added public constructor for QueryTableResult
  • #​307 Synced generated server API with the latest oss.yml.
  • #​308 Added Flux query parameters. Supported by InfluxDB Cloud only now.
  • #​308 Go 1.17 is required

v2.7.0

Compare Source

Features
Bug fixes
  • #​294 WritePoint and WriteRecord of WriteAPIBlocking returns always full error information.
  • #​300 Closing the response body after write batch.
  • #​302 FluxRecord.Table() returns value of the table column.

v2.6.0

Compare Source

Features
  • #​285 Added Client.Ping() function as the only validation method available in both OSS and Cloud.
  • #​286 Synced generated server API with the latest oss.yml.
  • #​287 Added FluxRecord.Result() function as a convenient way to retrieve the Flux result name of data.
Bug fixes
  • #​285 Functions Client.Health() and Client.Ready() correctly report an error when called against InfluxDB Cloud.
Breaking change
  • #​285 Function Client.Ready() now returns *domain.Ready with full uptime info.

v2.5.1

Compare Source

Bug fixes
  • #​276 Synchronized logging methods of log.Logger.

v2.5.0

Compare Source

Features
  • #​264 Synced generated server API with the latest oss.yml.
  • #​271 Use exponential random retry strategy
  • #​273 Added WriteFailedCallback for WriteAPI allowing to be synchronously notified about failed writes and decide on further batch processing.
Bug fixes
  • #​269 Synchronized setters of log.Logger to allow concurrent usage
  • #​270 Fixed duplicate Content-Type header in requests to managemet API
Documentation
  • #​261 Update Line Protocol document link to v2.0
  • #​274 Documenting proxy configuration and HTTP redirects handling

v2.4.0

Compare Source

Features
  • #​256 Allowing 'Doer' interface for HTTP requests
Bug fixes
  • #​259 Fixed leaking connection in case of not reading whole query result on TLS connection

v2.3.0

Compare Source

Breaking change

#​253 Interface log.Logger extended with LogLevel() uint getter.

Features

#​241,#​248 Synced with InfluxDB 2.0.5 swagger:

  • Setup (onboarding) now sends correctly retentionDuration if specified
  • RetentionRule used in Bucket now contains ShardGroupDurationSeconds to specify the shard group duration.
Documentation
  1. #​242 Documentation improvements:
  2. #​251 Fixed Readme.md formatting
Bug fixes
  1. #​252 Fixed panic when reading not present standard Flux columns from FluxRecord
  2. #​253 Conditional debug logging of buffers
  3. #​254 Fixed golint issues

v2.2.3

Compare Source

Bug fixes
  1. #​236 Setting MaxRetries to zero value disables retry strategy.
  2. #​239 Blocking write client doesn't use retry handling.

v2.2.2

Compare Source

Bug fixes
  1. #​229 Connection errors are also subject for retrying.

v2.2.1

Compare Source

Bug fixes
  1. #​220 Fixed runtime error occurring when calling v2 API on v1 server.
Documentation
  1. #​218, #​221, #​222 Changed links leading to sources to point to API docs in Readme, fixed broken links to InfluxDB docs.

v2.2.0

Compare Source

Features
  1. #​206 Adding TasksAPI for managing tasks and associated logs and runs.
Bug fixes
  1. #​209 Synchronizing access to the write service in WriteAPIBlocking.

v2.1.0

Compare Source

Features
  1. #​193 Added authentication using username and password. See UsersAPI.SignIn() and UsersAPI.SignOut()
  2. #​204 Synced with InfluxDB 2 RC0 swagger. Added pagination to Organizations API and After paging param to Buckets API.
Bug fixes
  1. #​191 Fixed QueryTableResult.Next() failed to parse boolean datatype.
  2. #​192 Client.Close() closes idle connections of internally created HTTP client
Documentation
  1. #​189 Added clarification that server URL has to be the InfluxDB server base URL to API docs and all examples.
  2. #​196 Changed default server port 9999 to 8086 in docs and examples
  3. #​200 Fix example code in the Readme

v2.0.1

Compare Source

Bug fixes
  1. #​187 Properly updated library path for new major version. Use import path github.com/influxdata/influxdb-client-go/v2.

v2.0.0

Compare Source

Breaking changes
  1. #​173 Removed previously deprecated API.
  2. #​174 Removed orgs labels API cause it has been removed from the server API
  3. #​175 Removed WriteAPI.Close() as it's managed by client
Features
  1. #​165 Allow overriding the http.Client for the http.Service.
  2. #​179 Unifying retry strategy among InfluxDB 2 clients: added exponential backoff.
  3. #​180 Provided public logger API to enable overriding logging. It is also possible to disable logging.
  4. #​181 Exposed HTTP service to allow custom server API calls. Added example.
Bug fixes
  1. #​175 Fixed WriteAPIs management. Keeping a single instance for each org and bucket pair.
Documentation
  1. #​185 DeleteAPI and sample WriteAPIBlocking wrapper for implicit batching

v1.4.0

Compare Source

Breaking changes
  1. #​156 Fixing Go naming and code style violations:
  • Introducing new *API interfaces with proper name of types, methods and arguments.
  • This also affects the Client interface and the Options type.
  • Affected types and methods have been deprecated and they will be removed in the next release.
Bug fixes
  1. #​152 Allow connecting to server on a URL path
  2. #​154 Use idiomatic go style for write channels (internal)
  3. #​155 Fix panic in FindOrganizationByName in case of no permissions

v1.3.0

Compare Source

Features
  1. #​131 Labels API
  2. #​136 Possibility to specify default tags
Bug fixes
  1. #​132 Handle unsupported write type as string instead of generating panic
  2. #​134 FluxQueryResult: support reordering of annotations

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by jonas

Merge request reports

Loading