- #193 Added authentication using username and password. See
UsersAPI.SignIn()
andUsersAPI.SignOut()
- #191 Fixed QueryTableResult.Next() failed to parse boolean datatype.
- #192 Client.Close() closes idle connections of internally created HTTP client
- #189 Added clarification that server URL has to be the InfluxDB server base URL to API docs and all examples.
- #187 Properly updated library for new major version.
- #173 Removed deprecated API.
- #174 Removed orgs labels API cause it has been removed from the server API
- #175 Removed WriteAPI.Close()
- #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.
- #175 Fixed WriteAPIs management. Keeping single instance for each org and bucket pair.
- #185 DeleteAPI and sample WriteAPIBlocking wrapper for implicit batching
- #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.
- #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
- #131 Labels API
- #136 Possibility to specify default tags
- #138 Fix errors from InfluxDB 1.8 being empty
- #132 Handle unsupported write type as string instead of generating panic
- #134 FluxQueryResult: support reordering of annotations
- #107 Renamed
InfluxDBClient
interface toClient
, so the full nameinfluxdb2.Client
suits better to Go naming conventions - #125
WriteApi
,WriteApiBlocking
,QueryApi
interfaces and related objects likePoint
,FluxTableMetadata
,FluxTableColumn
,FluxRecord
, moved to theapi
( andapi/write
,api/query
) packages to provide consistent interface
- #112 Clarify how to use client with InfluxDB 1.8+
- #115 Doc and examples for reading write api errors
- #100 HTTP request timeout made configurable
- #99 Organizations API and Users API
- #96 Authorization API
- #101 Added examples to API docs
- initial release of new client version
- initial release of new client version