Skip to content

Latest commit

 

History

History
168 lines (136 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

168 lines (136 loc) · 11.6 KB

Changelog

3.13.2 [2024-06-04]

Fixes

  • 236 - Fix compilation problem on ESP32 Core 3.0.0

3.13.1 [2023-03-08]

Fixes

  • 210 - Allow setting of options without previously set connection params
  • 211 - Fixed ESP32 builds using unofficial Arduino Cores

3.13.0 [2022-10-14]

Features

  • 202 - Added option to specify timestamp precision and do not send timestamp. Set using WriteOption::useServerTimestamptrue).

Fixes

  • 200 - Backward compatible compilation. Solves marked 'override', but does not override errors.

3.12.2 [2022-09-30]

Fixes

  • 198 - Effective passing Point by value

3.12.1 [2022-08-29]

Fixes

  • 193 - Automatically adjusting point timestamp according to the setting of write precision.

3.12.0 [2022-03-21]

Features

  • 185 - Added diagnostic server connection state getter bool InfluxDBClient::isConnected()

3.11.0 [2022-02-18]

Features

  • 174,181 - All API methods with a string param allow specifying string by all basic types:
  • Arduino String class
  • C char * or char[]
  • Flash string using F,PSTR or FPSTR macros

Fixes

  • 176 - Cleared all compiler warnings

3.10.0 [2022-01-20]

Features

  • 167 - Added InfluxDBClient::writeRecord(const char *record).
  • 167 - Added possibility to disable retrying by setting maxRetryAttempts to zero: client.setWriteOptions(WriteOptions().maxRetryAttempts(0));
  • 172 - Added directly streaming batch for write. It can be enabled by InfluxDBClient::setStreamWrite(bool enable = true). Writing by streaming lines of batch saves RAM as it sends data without allocating a buffer. On the other hand, this way of writing is about half times slower than the classic way, when allocating the buffer for writing the whole batch.
  • 172 - Allowing larger batch size, > 255.
  • 173 - Added Flux query parameters. Now supported by InfluxDB Cloud only.

3.9.0 [2021-09-17]

Features

  • #147 - Updated InfluxDB 2 Cloud CA root certificate to ISRG Root X1.
    Current InfluxDB 2 Cloud CA root certificate DST Root CA X3 expires on September 30th 2021!
  • #157 - Added Buckets sub-client for managing buckets in InfluxDB 2.

Fixes

  • #150 - HTTPOptions::httpReadTimeout is also set as the connect timeout for HTTP connection on ESP32. It also works for HTTPS connection since ESP32 Arduino Core 2.0.0.
  • #156 - Correctly rounding writeBufferSize, when bufferSize/batchSize >= 256.
  • #162 - Fixed flushing of not full buffer after the flush timeout.

Documentation

  • #163 - More precise description of supported devices.

3.8.0 [2021-04-01]

Features

  • #143 - InfluxDBClient::setInsecure now works also for ESP32. Requires Arduino ESP32 SDK 1.0.5 or higher

Documentation

  • #134:
    • Added untrusted connection (skipping certificate validation) info to Readme
    • SecureWrite and SecureBatchWrite demos enhanced with example about using untrusted connection
    • Various fixes of typos

Fixes

  • #137 - Fixed parsing Flux response with unexpected annotations

3.7.0 [2020-12-24]

Features

Fixes

  • #129 - Updated InfluxDB 2 Cloud CA certificate to trust servers from all cloud providers (AWS, Azure, GCP)

3.6.1 [2020-11-30]

Features

Fixes

  • #121 - Fixed compile error in case of warning is treated as an error
  • #122 - Deleting WiFiClient instance to avoid memory leaking when the InfluxDBClient is reinitialized
  • #124 - Fixed compilation warnings

Doc

  • #120 - Improved language wording in the Readme

3.6.0 [2020-11-10]

Features

  • #117 - Added InfluxDBClient::pointToLineProtocol(const Point& point) for simple creation of InfluxDB line-protocol string with respect to default tags

Fixes

  • #114 - Renamed getRemaingRetryTime()->getRemainingRetryTime()
  • #115 - Restored writing capability after a connection failure
  • #118 - Added escaping of URL params (org, bucker, V1 username and pass)

3.5.0 [2020-10-30]

Features

  • #107 - Added possibility to set default tags. Use WriteOptions::addDefaultTag() to add a tag that will be added to each written point using the writePoint() function.
  • #109 - Retry strategy improvements:
    • Added canSendRequest() function to check if retry strategy is applied
    • Added getRemaingRetryTime() function to get wait time before another request (write/query) can be sent
    • Removed applying retry wait time in case of network error
    • Better explanatory error message when a request is about to be sent in the retry wait state

Fixes

  • #108 - Added optional param for specifying decimal places of double.: void Point::addField(String name, double value, int decimalPlaces = 2)
  • #111 - Fixed blocked writing after another point reached max retry count (#110)

3.4.0 [2020-10-02]

Features

  • #89 - ESP8266 only - Added Max Fragment Length Negotiation for TLS communication to reduce memory allocation. If server supports MFLN, it saves ~10kB. Standalone InfluxDB OSS server doesn't support MFLN, Cloud yes. To leverage MFLN for standalone OSS, a reverse proxy needs to be used.
  • #91 - Improved API for settings of write and HTTP options:
    • Introduced WriteOptions to wrap the write related options (write precision, batch-size, etc). It offers fluent style API allowing to change only the required options. InfluxDBClient has overloaded setWriteOptions(const WriteOptions& writeOptions) method.
    • Introduced HTTPOptions to wrap the HTTP related options (e.g. reusing connection). It offers fluent style API allowing to change only the required options. InfluxDBClient has setHTTPOptions(const HTTPOptions& httpOptions) method.
    • Added possibility to set HTTP response read timeout (part of the HTTPOptions).
    • Method InfluxDBClient::void setWriteOptions(WritePrecision precision, uint16_t batchSize = 1, uint16_t bufferSize = 5, uint16_t flushInterval = 60, bool preserveConnection = true) is deprecated and it will be removed in the next release.
  • #93 - Write logic improvements
    • Retry on failure logic unification with other InfluxDB clients (exponential retry, max retry count 3, max retry interval)
    • Better write buffer memory management

Documentation

  • #87 - Fixed include file name in the Readme
  • #99 - Changed default InfluxDB 2 port from 9999 to 8086 (default since InfluxDB 2 RC0)

Fixes

  • #90 - Fixed boolean type recognition of InfluxDB Flux
  • #101 - Better memory efficient point line composition

Version 3.3.0 (2020-07-07)

  • [NEW] Added possibility skip server certification validation (setInsecure() method)
  • [NEW] Added possibility to query flux on secured InfluxDB 1.8 using V1 approach
  • [NEW] validateConnection() can be used also for the forward compatibility connection to InfluxDB 1.8
  • [FIX] More precise default timestamp generating, up to microseconds
  • [FIX] Debug compilation error
  • [FIX] SecureBatchWrite compile error

Version 3.2.0 (2020-06-09)

  • [NEW] Added possibility to read data from InfluxDB using Flux queries
  • [NEW] timeSync utility function for synchronous time synchronization using NTP
  • [FIX] Properly initialize member variable (#59)
  • [FIX] ASCII chars & compilation warning fix (#60)
  • [Update] ESP8266 SDK 2.7+ required

Version 3.1.3 (2020-04-27)

  • [FIX] SecureWrite crash (#54)

Version 3.1.2 (2020-04-18)

  • [FIX] Compilation error on fields order (#43)
  • [FIX] Invalid precision constant for microseconds (#49)
  • [FIX] Write error in case point has no tags (#50)

Version 3.1.1 (2020-04-06)

  • [Updated] CA Certificate for SSL (#38)

Version 3.1.0 (2020-03-12)

  • [NEW] Added User-agent header
  • [FIX] status code check when pinging an InfluxDB version 1.x instance

Version 3.0.0 (2020-02-11)

  • New API with similar keywords as other official InfluxDB clients
  • Richer set of data types for fields and timestamp methods
  • Advanced features, such as implicit batching, automatic retrying on server back-pressure and connection failure, along with secured communication over TLS supported for both devices and authentication
  • Special characters escaping
  • Backward support for original API of V1/V2