Skip to content

Latest commit

 

History

History
158 lines (100 loc) · 5.84 KB

CHANGELOG.md

File metadata and controls

158 lines (100 loc) · 5.84 KB

2.8 [unreleased]

Fixes

  • InfluxDBResultMapper now is able to process QueryResult created when a GROUP BY clause was used PR #345
  • InfluxDB will now handle the timestamp on its own if none is provided PR#350

Features

  • API: add InfluxDB#createRetentionPolicy and InfluxDB#dropRetentionPolicy to be able to create and drop Retention Policies PR #351

Improvements

  • Build: all unit and integration test are now running with jdk8 and jdk9.

v2.7 [2017-06-26]

Features

  • Simplify write() methods for use cases writing all points to same database and retention policy PR #327
  • QueryResult to Object mapper added PR #341

Fixes

  • Replace RuntimeException with InfluxDBException Issue #323

Improvements

  • Significant (~35%) performance improvements for write speed with less memory footprint. PR #330
  • Drop guava runtime dependency which reduces jar size from 1MB -> 49KB PR #322

v2.6 [2017-06-08]

Features

  • Switch to Java 1.8
  • Support chunking
  • Add a databaseExists method to InfluxDB interface
  • Issue #289 Batching enhancements: Pending asynchronous writes can be explicitly flushed via InfluxDB.flush().
  • Add a listener to notify asynchronous errors during batch flushes PR #318.

Fixes

  • Issue #263 Add databaseExists method to InfluxDB interface.

Improvements

  • Update retrofit from 2.1 to 2.2
  • Update slf4j from 1.7.22 to 1.7.24
  • Update okhttp3 from 3.5 to 3.6
  • automatically adjust batch processor capacity PR #282

v2.5 [2016-12-05]

Features

  • Support writing by UDP protocal.
  • Support gzip compress for http request body.
  • Support setting thread factory for batch processor.
  • Support chunking

Fixes

  • Issue #162 Write point using async batch mode with different rp will use same rp.
  • Issue #214 Send multiple queries in one query statement will get only one result.
  • Write can't be always async if batch is enabled.

Improvements

  • Remove the limit for database name: not contain '-'.
  • Support creating influxdb instance without username and password.
  • Add time related util methods for converting influxdb timestamp or unix epoch time.
  • correct exception type when disable batch twice.

v2.4 [2016-10-24]

Features

  • now uses okhttp3 and retrofit2. As a result, you can now pass an OkHttpClient.Builder to the InfluxDBFactory.connect if you wish to add more interceptors, etc, to OkHttp.
  • in InfluxDB 1.0.0, some queries now require a POST instead of GET. There is a flag on Query that allow this to be specified (default is still GET).

v2.2 [2016-04-11]

Features

  • Allow writing of pre-constructed line protocol strings

Fixes

  • Correct escaping of database names for create and delete database actions
  • Many bug fixes / improvements in general

Other

  • Deprecated field() method in preference for addField() methods.

v2.1 [2015-12-05]

Features

  • Extensions to fluent builder classes
  • Convenience methods for building Points
  • Allow integer types as field values

Fixes

  • Fixed escaping of tag and field values
  • Always uses nanosecond precision for time
  • Uses NumberFormat class for safer formatting of large numbers.

v2.0 [2015-07-17]

Features

  • Compatible with InfluxDB version 0.9+
  • Support for lineprotocol
  • Batched write support

v1.4 [2014-11-11] / v1.5 [2014-11-14]

No major functional changes or improvements. Mainly library updates and code structure

v1.3 [2014-10-22]

Features

  • Compatible with InfluxDB Version up to 0.8
  • API: add a InfluxDB#createDatabase(DatabaseConfiguration) to be able to create a new Database with ShardSpaces defined.
  • API: introduction of InfluxDB#createShardSpare, InfluxDB#getShardSpace and InfluxDB#dropShardSpace
  • API: deprecated InfluxDB#createShard, InfluxDB#getShards and InfluxDB#dropShard, this is replaced with shardSpaces in InfluxDB >= 0.8.0
  • API: renamed InfluxDB#deletePoints to InfluxDB#deleteSeries because this is what it actually does.
  • [Issue #14] update docker-java for tests to 0.10.0
  • Update retrofit from 1.6.0 -> 1.6.1
  • Use ms instead of m for millisecond timeprecision.

v1.2 [2014-06-28]

Features

  • Issue #2 Implement the last missing api calls ( interfaces, sync, forceCompaction, servers, shards)
  • use (http:https://square.github.io/okhttp/, okhttp) instead of java builtin httpconnection to get failover for the http endpoint.

Tasks

  • Issue #8 Use com.github.docker-java which replaces com.kpelykh for Integration tests.
  • Issue #6 Update Retrofit to 1.6.0
  • Issue #7 Update Guava to 17.0
  • fix dependency to guava.

v1.1 [2014-05-31]

Features

  • Add InfluxDB#version() to get the InfluxDB Server version information.
  • Changed InfluxDB#createDatabase() to match Issue #489 without replicationFactor.
  • Updated Retrofit from 1.5.0 -> 1.5.1

v1.0 [2014-05-6]

  • Initial Release