Skip to content

Releases: influxdata/influxdb-client-go

2.14.0

12 Aug 08:34
Compare
Choose a tag to compare

Features

  • #404 Expose HTTP response headers in the Error type to aid analysis and debugging of error results. Add selected response headers to the error log.

Also, unified errors returned by WriteAPI, which now always returns http.Error

Fixes

  • #403 Custom checks de/serialization to allow calling server Check API

2.13.0

05 Dec 09:12
52afd67
Compare
Choose a tag to compare

Features

  • #394 Add DataToPoint utility to convert a struct to a write.Point

Dependencies

  • #393 Replace deprecated io/ioutil
  • #392 Upgrade deepmap/oapi-codegen to new major version

v2.12.4

03 Nov 08:42
e7581a2
Compare
Choose a tag to compare

2.12.4 [2023-11-03]

Bug fixes

  • #386 Remove deprecated pkg/errors
  • #387 Upgrade deepmap/oapi-codegen

v2.12.3

29 Mar 20:07
c33f0ed
Compare
Choose a tag to compare

2.12.3 [2023-03-29]

Bug fixes

  • Update golang.org/x/net from 0.0.0-20210119194325-5f4716e94777 to 0.7.0

v2.12.2

26 Jan 18:06
3a8dacf
Compare
Choose a tag to compare

2.12.2 [2023-01-26]

Bug fixes

  • #368 Allowing proxy from environment variable

v2.12.1

01 Dec 17:14
539f088
Compare
Choose a tag to compare

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

27 Oct 22:00
Compare
Choose a tag to compare

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
    • Added example how to fully override User-Agent header using Doer interface

Bug fixes

  • #359 WriteAPIBlocking.Flush() correctly returns nil error.

v2.11.0

29 Sep 15:11
Compare
Choose a tag to compare

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 with APIClient() function.
    • The generated client API changed:
      • Function names are simplified (was PostDBRPWithResponse, now PostDBRP)
      • 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

v2.10.0

25 Aug 15:11
781e059
Compare
Choose a tag to compare

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 by EnableBatching().

Bug fixes

  • #349 Skip retrying on specific write errors (mostly partial write error).

Breaking change

  • #350 Interface WriteAPIBlocking is extend with EnableBatching() and Flush().

v2.9.2

29 Jul 14:36
Compare
Choose a tag to compare

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.