Releases: influxdata/influxdb-client-go
Releases · influxdata/influxdb-client-go
2.13.0
v2.12.4
v2.12.3
v2.12.2
v2.12.1
2.12.1 [2022-12-01]
Bug fixes
- #363 Generated server stubs return also error message from InfluxDB 1.x forward compatible API.
- #364 Fixed panic when retrying over a long period without a server connection.
Documentation
- #366 Readme improvements:
- Added GOPATH installation description
- Added error handling to Basic Example.
v2.12.0
2.12.0 [2022-10-27]
Features
- #358:
- Added possibility to set an application name, which will be part of the User-Agent HTTP header:
- Set using
Options.SetApplicationName
- Warning message is written to log if an application name is not set
- This may change to be logged as an error in a future release
- Set using
- Added example how to fully override
User-Agent
header usingDoer
interface
- Added possibility to set an application name, which will be part of the User-Agent HTTP header:
Bug fixes
- #359
WriteAPIBlocking.Flush()
correctly returns nil error.
v2.11.0
2.11.0 [2022-09-29]
Features
- #353 Simplify generated code.
- #353 Regenerate code from swagger.
- #355 Upgrade of lib gopkg.in/yaml from v2 to v3
Bug fixes
- #354 More efficient synchronization in WriteAPIBlocking.
Breaking change
- #353:
- Interface
Client
has been extended withAPIClient()
function. - The generated client API changed:
- Function names are simplified (was
PostDBRPWithResponse
, nowPostDBRP
) - All functions now accept a context and a single wrapper structure with request body and HTTP parameters
- The functions return deserialized response body or an error (it was a response wrapper with a status code that had to be then validated
- Function names are simplified (was
- Interface
v2.10.0
Features
- #348 Added
write.Options.Consitency
parameter to support InfluxDB Enterprise. - #350 Added support for implicit batching to
WriteAPIBlocking
. It's off by default, enabled byEnableBatching()
.
Bug fixes
- #349 Skip retrying on specific write errors (mostly partial write error).
Breaking change
- #350 Interface
WriteAPIBlocking
is extend withEnableBatching()
andFlush()
.