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
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
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
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
Bug fixes
-
#319 Synchronized
WriteAPIImpl.Close
to prevent panic when closing client by multiple go-routines.
v2.8.1
Bug fixes
-
#311 Correctly unwrapping
http.Error
from Server API calls - #315 Masking authorization token in log
v2.8.0
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
Features
-
#297,#298 Optimized
WriteRecord
of WriteAPIBlocking. Custom batch can be easily written by a single argument.
Bug fixes
-
#294
WritePoint
andWriteRecord
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
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
Bug fixes
- #276 Synchronized logging methods of log.Logger.
v2.5.0
Features
- #264 Synced generated server API with the latest oss.yml.
- #271 Use exponential random retry strategy
-
#273 Added
WriteFailedCallback
forWriteAPI
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
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
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 inBucket
now containsShardGroupDurationSeconds
to specify the shard group duration.
Documentation
-
#242 Documentation improvements:
- Custom server API example now shows how to create DBRP mapping
- Improved documentation about concurrency
- #251 Fixed Readme.md formatting
Bug fixes
-
#252 Fixed panic when reading not present standard Flux columns from
FluxRecord
- #253 Conditional debug logging of buffers
- #254 Fixed golint issues
v2.2.3
Bug fixes
- #236 Setting MaxRetries to zero value disables retry strategy.
- #239 Blocking write client doesn't use retry handling.
v2.2.2
Bug fixes
- #229 Connection errors are also subject for retrying.
v2.2.1
Bug fixes
- #220 Fixed runtime error occurring when calling v2 API on v1 server.
Documentation
- #218, #221, #222 Changed links leading to sources to point to API docs in Readme, fixed broken links to InfluxDB docs.
v2.2.0
Features
- #206 Adding TasksAPI for managing tasks and associated logs and runs.
Bug fixes
- #209 Synchronizing access to the write service in WriteAPIBlocking.
v2.1.0
Features
-
#193 Added authentication using username and password. See
UsersAPI.SignIn()
andUsersAPI.SignOut()
-
#204 Synced with InfluxDB 2 RC0 swagger. Added pagination to Organizations API and
After
paging param to Buckets API.
Bug fixes
-
#191 Fixed
QueryTableResult.Next()
failed to parse boolean datatype. -
#192
Client.Close()
closes idle connections of internally created HTTP client
Documentation
- #189 Added clarification that server URL has to be the InfluxDB server base URL to API docs and all examples.
- #196 Changed default server port 9999 to 8086 in docs and examples
- #200 Fix example code in the Readme
v2.0.1
Bug fixes
-
#187 Properly updated library path for new major version. Use import path
github.com/influxdata/influxdb-client-go/v2
.
v2.0.0
Breaking changes
- #173 Removed previously deprecated API.
- #174 Removed orgs labels API cause it has been removed from the server API
- #175 Removed WriteAPI.Close() as it's managed by client
Features
- #165 Allow overriding the http.Client for the http.Service.
- #179 Unifying retry strategy among InfluxDB 2 clients: added exponential backoff.
- #180 Provided public logger API to enable overriding logging. It is also possible to disable logging.
- #181 Exposed HTTP service to allow custom server API calls. Added example.
Bug fixes
- #175 Fixed WriteAPIs management. Keeping a single instance for each org and bucket pair.
Documentation
- #185 DeleteAPI and sample WriteAPIBlocking wrapper for implicit batching
v1.4.0
Breaking changes
- #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 theOptions
type. - Affected types and methods have been deprecated and they will be removed in the next release.
Bug fixes
- #152 Allow connecting to server on a URL path
- #154 Use idiomatic go style for write channels (internal)
- #155 Fix panic in FindOrganizationByName in case of no permissions
v1.3.0
Features
Bug fixes
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by jonas