Skip to content

Releases: InfluxCommunity/influxdb3-go

v2.8.0

18 Jun 12:06
Compare
Choose a tag to compare

Features

  1. #159: Support fast writes without waiting for WAL
    persistence:
    • New write option (WriteOptions.NoSync) added: true value means faster write but without the confirmation that
      the data was persisted. Default value: false.
    • Supported by self-managed InfluxDB 3 Core and Enterprise servers only!
    • Also configurable via connection string query parameter (writeNoSync).
    • Also configurable via environment variable (INFLUX_WRITE_NO_SYNC).
    • Long precision string values added from v3 HTTP API: "nanosecond", "microsecond", "millisecond", "second" (
      in addition to the existing "ns", "us", "ms", "s").

Bug Fixes

  1. #164: Updates
    • Go version to 1.23.9
    • golang.org/x/net to v0.38.0
  2. #166: Upgrades dependency apache/arrow/go to apache/arrow-go v18.

v2.7.0

15 May 08:56
Compare
Choose a tag to compare

Bug Fixes

  1. #158: Refactor Batcher and LPBatcher:
    • Fields and methods using capacity renamed to initialCapacity.
    • Log messages when buffer data is not being emitted are simplified.
    • SetCapacity methods on both structures are now deprecated.
    • WithCapacity and WithBufferCapacity options are now deprecated.

v2.6.0

15 Apr 08:20
Compare
Choose a tag to compare

Features

  1. #155: Batcher warnings when buffer data is not being automatically emitted changed to level Debug in slog.

2.5.0

10 Apr 10:17
Compare
Choose a tag to compare

Features

  1. #146: Add error field to QueryIterator to hold first possible error encountered when retrieving records from the flight Reader.
  2. #147: Ability to pass grpc.CallOption functions to the underlying flight Client.
  3. #149: Add default configuration for the built-in HTTP
    client and expose new configurable parameters:
    • Timeout - The overall time limit for requests made by the Client. A negative value means no timeout. Default
      value: 10 seconds.
    • IdleConnectionTimeout - Maximum time an idle connection will remain idle before closing itself. A negative value
      means no timeout. Default value: 90 seconds.
    • MaxIdleConnections - Maximum number of idle connections. It sets both transport.MaxIdleConn and
      transport.MaxIdleConnsPerHost to the same value. A negative value means no limit. Default value: 100.
  4. #154: Export functions NewQueryIterator and
    NewPointValueIterator to simplify testing.

v2.4.0

26 Mar 09:23
Compare
Choose a tag to compare

Features

  1. #141: Add proxy and custom SSL root certificate support.

v2.3.0

20 Feb 14:06
Compare
Choose a tag to compare

Features

  1. #131: Add new PointValueIterator based on google
    guidelines Guidelines

2.2.0

03 Feb 12:53
Compare
Choose a tag to compare

Bug fixes

  1. #134: Reduce minimal Go version to 1.22, remove unnecessary toolchain constraints.

2.1.0

16 Jan 12:08
Compare
Choose a tag to compare

Bug fixes

  1. #127: LPBatcher now returns first line of the internal buffer when the line length exceeds the batch size.

2.0.0

13 Dec 07:47
Compare
Choose a tag to compare

2.0.0 [2024-12-13]

Breaking Changes

⚠️ This is a breaking change release.

Previously, the Query API did not respect the metadata type for columns returned from InfluxDB v3. This release fixes this issue. As a result, the type of some columns may differ from previous versions. For example, the timestamp column will now be time.Time instead of arrow.Timestamp.

Update steps:

  1. Update library: go get github.com/InfluxCommunity/influxdb3-go/v2/influxdb3
  2. Update import path in Go files to github.com/InfluxCommunity/influxdb3-go/v2/influxdb3.

Features

  1. #114: Query API respects metadata types for columns returned from InfluxDB v3.
    Tags are mapped as a "string", timestamp as "time.Time", and fields as their respective types:
    • iox::column_type::field::integer: => int64
    • iox::column_type::field::uinteger: => uint64
    • iox::column_type::field::float: => float64
    • iox::column_type::field::string: => string
    • iox::column_type::field::boolean: => bool

v1.0.0

15 Nov 08:32
Compare
Choose a tag to compare

⚠️ The v1.0.0 release had a malformed module path regarding the Go Module Requirements. For a Go Module project, you need to use version 2 of the client.

Breaking Changes

⚠️ This is a breaking change release.

Previously, the Query API did not respect the metadata type for columns returned from InfluxDB v3. This release fixes this issue. As a result, the type of some columns may differ from previous versions. For example, the timestamp column will now be time.Time instead of arrow.Timestamp.

Features

  1. #114: Query API respects metadata types for columns returned from InfluxDB v3.
    Tags are mapped as a "string", timestamp as "time.Time", and fields as their respective types:
    • iox::column_type::field::integer: => int64
    • iox::column_type::field::uinteger: => uint64
    • iox::column_type::field::float: => float64
    • iox::column_type::field::string: => string
    • iox::column_type::field::boolean: => bool