Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the conflicts of PR https://github.com/influxdata/influxdb-java/pull/321 #1

Merged
merged 181 commits into from
May 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
f9f88bb
update nexus-staging plugin from 1.6.7 -> 1.6.8, qualify all used mav…
majst01 Jun 13, 2017
de8a9b5
Update documentation, closes #337
majst01 Jun 15, 2017
38fb2f6
Silent all remaining javadoc warnings
majst01 Jun 15, 2017
ff5b57d
propagate IOExceptions to consumer
Jun 15, 2017
677fc3e
Update okhttp from 3.8.0 -> 3.8.1
majst01 Jun 18, 2017
6f9b4b1
update mockito from 2.8.9 -> 2.8.47
majst01 Jun 18, 2017
e94070f
Do not sysout.println in production code
majst01 Jun 19, 2017
205fc1d
Update guava from 21.0 -> 22.0 used for tests, remove unneeded slf4j …
majst01 Jun 19, 2017
87bf4da
QueryResult to Object mapper added #340
Jun 21, 2017
907d3c0
Moved influxdb-pojomapper classes to parent package #340
Jun 23, 2017
76b3bee
Moved influxdb-pojomapper exception to parent package #340
Jun 23, 2017
c79770e
README.md updated with details about influxdb-pojomapper
Jun 23, 2017
dd67c7d
Merge pull request #341 from fmachado/master
majst01 Jun 23, 2017
da240f0
Run tests againts influxdb 1.3 as well
majst01 Jun 24, 2017
bf43c1e
Fixed NPE when no series is present in QueryResult object
Jun 26, 2017
4425da8
Merge pull request #342 from fmachado/npe-when-no-result-received-fro…
majst01 Jun 26, 2017
3c624b2
add ChunkingExceptionTest
Jun 26, 2017
03f39ff
ChunkingExceptionTest: deleteDatabase
Jun 26, 2017
976ddd8
remove deleteDatabase
Jun 26, 2017
4e3425c
Merge pull request #338 from andyflury/master
majst01 Jun 26, 2017
3f0d8d9
release 2.7
majst01 Jun 27, 2017
3a8624a
Added support to map QueryResult created using the GROUP BY clause.
Jun 27, 2017
8f601cc
Start 2.8 development cycle
majst01 Jun 28, 2017
eff316f
Merge remote-tracking branch 'upstream/master' into added-support-map…
Jun 28, 2017
a48e981
Merge pull request #345 from fmachado/added-support-map-queryresult-g…
majst01 Jun 28, 2017
f9aa9c8
Updated README.md, section QueryResult mapper limitations
Jun 28, 2017
26e0148
Updated README.md and CHANGELOG.md, section QueryResult mapper limita…
Jun 28, 2017
3529af0
Fixed conflict on README.md
Jun 28, 2017
a236c3a
Merge pull request #346 from fmachado/added-support-map-queryresult-g…
majst01 Jun 28, 2017
e41c209
Let InfluxDB handle the timestamp if none provided. Fixes #349
wasnertobias Jul 5, 2017
17cdd58
Update CHANGELOG.md
wasnertobias Jul 5, 2017
6215070
Update CHANGELOG.md
wasnertobias Jul 5, 2017
7d94535
Merge pull request #350 from wasnertobias/master
majst01 Jul 5, 2017
f87797f
feature: #295 Create and Drop retention policies
ashamanur Jul 6, 2017
82776bc
Merge branch 'master' of https://github.com/influxdata/influxdb-java …
ashamanur Jul 7, 2017
b8ad9de
Updating Changelog and Readme
ashamanur Jul 7, 2017
d3e532a
Merge pull request #351 from gurlWhoCodes/feature/create-drop-rp
majst01 Jul 7, 2017
ee64454
Expand test suite to use jdk8 and jdk9 for unit and integration tests
majst01 Jul 29, 2017
d4c74ee
Fixed DateTimeFormatterBuilder to properly parse nanoseconds
Aug 17, 2017
f13d10d
Merge pull request #364 from fmachado/origin/fixed-nanosecond-parser
majst01 Aug 22, 2017
03be128
Update guava used in tests from 22.0 -> 23.0
majst01 Aug 22, 2017
a28d681
InfluxDB: Add Query with Callbacks
shanielh Aug 26, 2017
debbe29
Added changelog and readme entries about query callback support
shanielh Aug 29, 2017
47e7689
Merge pull request #369 from shanielh/feature/query-callbacks
majst01 Aug 29, 2017
7c67599
Update mockite from 2.8.47 -> 2.9.0
majst01 Aug 30, 2017
d311654
silent 3 javadoc warnings
majst01 Aug 30, 2017
af84523
add a format sources helper for later reformatting according google c…
majst01 Aug 31, 2017
4f9e0b4
Update okhttp from 3.8.1 -> 3.9.0
majst01 Sep 5, 2017
e864c41
update mockito from 2.9.0 -> 2.10.0
majst01 Sep 15, 2017
2b75c03
Add proper license dates, fixes #374
majst01 Sep 25, 2017
93af77e
Update README.md
aurabhi Oct 12, 2017
237e28b
Merge pull request #377 from aurabhi/patch-1
majst01 Oct 12, 2017
0129cf7
Update mockito from 2.10 -> 2.11
majst01 Oct 18, 2017
401a094
Merge branch 'master' of https://github.com/influxdata/influxdb-java
majst01 Oct 18, 2017
f946909
Update guava from 23.0 to 23.3-jre
majst01 Oct 29, 2017
a382ad6
Add influxdb-1.4 to tests, use smaller maven images
majst01 Nov 14, 2017
074ccb3
Update test dependencies guava from 23.3 -> 23.4, mockito from 2.11 -…
majst01 Nov 14, 2017
525efb6
Update findbugs from 3.0.4 -> 3.0.5
majst01 Nov 15, 2017
e852a6a
Update maven compile plugin from 3.6.1 -> 3.7.0, maven javadoc plugin…
majst01 Nov 17, 2017
8098e1e
Update okhttp from 3.9.0 -> 3.9.1
majst01 Nov 20, 2017
619af34
Migrate to JUnit5
majst01 Nov 20, 2017
bde2b4d
Run all test with JUnitPlatform
majst01 Nov 20, 2017
0710fa3
Add Changelog entry, fix markdownlint issues in CHANGELOG.md
majst01 Nov 21, 2017
0df2b2c
assertEquals first argument is expected, second actual
majst01 Nov 21, 2017
31b9c39
Merge pull request #384 from influxdata/junit5-migration
majst01 Nov 22, 2017
6f7181a
Fix single test which was failing on travis because it relied on orde…
majst01 Nov 22, 2017
df4af45
Get rid of guava even for tests
majst01 Nov 23, 2017
ca76250
release 2.8
ivankudibal Dec 5, 2017
563c29d
ready for 2.9-SNAPSHOT
ivankudibal Dec 5, 2017
707b37d
Merge pull request #393 from influxdata/release-2.8
majst01 Dec 6, 2017
70430d6
Mention released version
majst01 Dec 7, 2017
9f379e2
Mention released version
majst01 Dec 7, 2017
7605a84
Added 'deprecated' annotations to javadoc and methods
Jan 3, 2018
e6bc0a2
Added missing deprecated annotation.
Jan 3, 2018
eefd2ab
added "removed in 3.0" to deprecated annotations
Jan 4, 2018
ee25dda
Merge pull request #407 from fmachado/origin/deprecate-helper-methods…
majst01 Jan 5, 2018
4c67574
Add convenience method to Pong for checking ping status. (#403)
egoebelbecker Jan 8, 2018
2c63292
added consistency configuration for batch processing (#385)
rbkasat Jan 8, 2018
c7d9455
separating InfluxDB initialization into TestUtils
dubsky Dec 13, 2017
f61ae41
fix #396
dubsky Dec 13, 2017
a0b227b
fix #397
dubsky Dec 13, 2017
8c2f2e6
implementing cluster consistency setting into batch options
dubsky Jan 9, 2018
e3f3db5
separating InfluxDB initialization into TestUtils
dubsky Dec 13, 2017
92a5887
fix #396
dubsky Dec 13, 2017
d5155e0
fix #397
dubsky Dec 13, 2017
7bdd5e5
Adding analysis of error returned by InfluxDB for further use
dubsky Jan 3, 2018
3fe6a1a
implementing retry buffer for failed writes due to occupancy of the
dubsky Jan 8, 2018
ce90c44
implementing cluster consistency setting into batch options
dubsky Jan 9, 2018
3218ac0
fixing checkstyle after rebase
dubsky Jan 9, 2018
d0411b7
fixing after a wrong merge after rebase
dubsky Jan 9, 2018
c640568
various maven plugin and dependency updates
majst01 Jan 10, 2018
a10840b
fix one small javadoc nit
majst01 Jan 10, 2018
feef80c
Merge pull request #412 from influxdata/dependency-updates
fmachado Jan 10, 2018
00367da
adding test for retry writer
dubsky Jan 12, 2018
59a787b
adding test for retry writer
dubsky Jan 12, 2018
aa74fc4
implementing code review
dubsky Jan 12, 2018
a3eae95
add test for flushDuration, jitterDuration, bufferLimit
lxhoan Jan 17, 2018
9e6809e
fixing checkstyle
lxhoan Jan 18, 2018
7e6741b
add test for threadFactory, exceptionHandler, consistency
lxhoan Jan 19, 2018
7b92104
fix test for flushDuration
lxhoan Jan 19, 2018
4c66865
uncomment Test annotation
lxhoan Jan 19, 2018
b7a2306
improve test
lxhoan Jan 19, 2018
ded8b48
fix failures of testNegativeJitterDuration, testNegativeBufferLimit, …
lxhoan Jan 19, 2018
15ae56c
fixing automatic BatchWriter retry
dubsky Jan 22, 2018
2cd63ad
merging changes from batch-iterval-jittering branch
dubsky Jan 12, 2018
4d25472
fix testHandlerOnRetryImpossible - increase waiting time
lxhoan Jan 23, 2018
03ebb44
code review comments inside
dubsky Jan 23, 2018
2e14460
Documentation for enableBatch(BatchOptions). Changed the documentation
dubsky Jan 24, 2018
5b6d246
renaming BatchOptions.setConsistency to BatchOptions.consistency
dubsky Jan 30, 2018
028faff
Adding test for parameters setting
dubsky Jan 30, 2018
7478124
prevent lost writes when client closes before flush interval
dubsky Jan 30, 2018
042b337
removing dependency on org.json, using moshi,
dubsky Jan 31, 2018
93fd32f
+ fix BatchOptionsTest
lxhoan Feb 1, 2018
21e3350
add testRetryingKeepChronologicalOrder, test RetryCapableBatchWriterT…
lxhoan Feb 1, 2018
b664dd0
adding very basic jitter interval test
dubsky Feb 1, 2018
a189aad
making the jitter duration test more durable for Travis CI
dubsky Feb 1, 2018
a686b89
fixing 'write compare udp performance';
dubsky Feb 1, 2018
7748052
Merge pull request #409 from influxdata/feature/batching-interval-jitter
majst01 Feb 4, 2018
87afdb6
Merge branch 'master' into features/error-handling
lxhoan Feb 7, 2018
6374a5b
fix testJitterDuration - increase waiting time
lxhoan Feb 7, 2018
b703db4
PR #409 changes documented
dubsky Feb 7, 2018
7dd226e
Merge branch 'master' into features/error-handling
dubsky Feb 7, 2018
513c176
updating documentation for PR#410
dubsky Feb 7, 2018
d2ff824
fixing wrong exception name
dubsky Feb 7, 2018
3562a1a
add test for batch writing and retry
lxhoan Feb 20, 2018
4b5d23b
Merge pull request #410 from influxdata/features/error-handling
majst01 Feb 20, 2018
7d045c1
Update junit from 5.0.2 -> 5.1.0, update mockito from 2.13.0 -> 2.15.0
majst01 Feb 20, 2018
48c075d
Merge pull request #420 from influxdata/dependency-updates
majst01 Feb 24, 2018
3af477a
release preparation
tomklapka Feb 26, 2018
b9a7959
influxdb run script
tomklapka Feb 26, 2018
9b200f0
final solution for running the release
tomklapka Feb 27, 2018
d54d4fc
Merge pull request #421 from tomklapka/master
ivankudibal Feb 27, 2018
0e78b6c
changing line indents
tomklapka Feb 27, 2018
d744bc9
[maven-release-plugin] prepare release influxdb-java-2.9
tomklapka Feb 27, 2018
84235c8
[maven-release-plugin] prepare for next development iteration
tomklapka Feb 27, 2018
da1a23d
set release date
ivankudibal Feb 27, 2018
f53a7e7
Revert "set release date"
ivankudibal Feb 27, 2018
be3b8b6
set release date
ivankudibal Feb 27, 2018
30589f7
#371 Support dynamic measurement name in InfluxDBResultMapper
Mar 1, 2018
a00cd83
indentation changed, added requireNonNull instead of if
Mar 2, 2018
17b2f24
Performance: Escape fields and keys more efficiently than using Strin…
Mar 9, 2018
e2169b3
fix travis errors
Mar 9, 2018
85707c5
run tests against influxdb 1.5 as well
majst01 Mar 10, 2018
f1520cc
Update release informations in README.md
majst01 Mar 10, 2018
6d610fc
Update dependencies
majst01 Mar 10, 2018
458d4ea
revert wrong formatting as requested
Mar 10, 2018
8297494
Performance improvement: use chained StringBuilder calls instead of s…
majst01 Mar 10, 2018
cc2ffe7
Merge pull request #426 from influxdata/chainedstringbuilder
fmachado Mar 10, 2018
90f02ea
Merge pull request #424 from mschaefers/master
majst01 Mar 10, 2018
2ea9ec6
First simple implementation of "prepared statements"
hampelratte Mar 15, 2018
658fa1d
Added another test for BoundParameterQuery
hampelratte Mar 15, 2018
d71f316
Implemented Builder mechanism for BoundParameterQuery
hampelratte Mar 16, 2018
929cfde
Removed unnecessary method
hampelratte Mar 17, 2018
7eb0b5a
Added test for the different parameter types
hampelratte Mar 17, 2018
f03fa37
Added equals and hashcode
hampelratte Mar 17, 2018
966d781
Code cleanup
hampelratte Mar 17, 2018
be08bcd
Added test for BoundParameterQuery
hampelratte Mar 17, 2018
58cd9eb
Improved test coverage for BoundParameterQuery
hampelratte Mar 17, 2018
f761e61
Removed unnecessary placeholder checks
hampelratte Mar 18, 2018
70f8c14
Fixed setAccessible modif. on POJOs and changes are not reversed anymore
Mar 20, 2018
2fc928e
Added paragraph for parameter binding in queries in README
hampelratte Mar 20, 2018
aca3701
Merge pull request #429 from hampelratte/parameterbinding
majst01 Mar 21, 2018
9e16b5c
Update retrofit from 2.3.0 -> 2.4.0
majst01 Mar 22, 2018
c41b589
Use java10 instead of java9 because this will superseed it, jacoco up…
majst01 Mar 22, 2018
77b5f37
Merge pull request #432 from fmachado/master
fmachado Mar 22, 2018
8721f99
Speed up tracis ci build be creating a matrix of java version and inf…
majst01 Mar 24, 2018
23776a8
Further speed up, only test the most recent influx with the old java8
majst01 Mar 24, 2018
6953795
Reduce the amount of points written in the performance test by factor…
majst01 Mar 24, 2018
39d7707
Do not execute any java commands in the build
majst01 Mar 24, 2018
a5abe45
Update surefire plugin from 2.20.0 -> 2.21.0
majst01 Mar 24, 2018
997992e
allow to figure out, whether the Point.Builder has any fields
Mar 23, 2018
b25c197
Merge pull request #434 from kub/builder-access-fields
majst01 Mar 26, 2018
e5aed8b
Merge pull request #435 from influxdata/speedup-travis-build
majst01 Apr 3, 2018
06416c3
Update junit from 5.1.0 -> 5.1.0
majst01 Apr 9, 2018
76ba5c7
Merge pull request #441 from influxdata/update-dependecies
majst01 Apr 9, 2018
40c63d4
changing docker image for tests in main pom
tomklapka Apr 26, 2018
55e159a
[maven-release-plugin] prepare release influxdb-java-2.10
tomklapka Apr 26, 2018
4a6d3ce
[maven-release-plugin] prepare for next development iteration
tomklapka Apr 26, 2018
d374d6d
Merge pull request #423 from ikercrg/master
fmachado Apr 28, 2018
6c13ff2
Merge branch 'master' into influxdb-java-182
lxhoan May 4, 2018
f5634ce
fix build javadocs failed + fix unit test
lxhoan May 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
language: java
sudo: required

jdk:
- oraclejdk8

addons:
apt:
packages:
- oracle-java8-installer # Updates JDK 8 to the latest available.

services:
- docker

# We test against all influxdb versions with the most actual JDK.
# Test only the most recent influxdb version with JDK8 which will be legacy soon.
env:
- MAVEN_JAVA_VERSION=3-jdk-10-slim INFLUXDB_VERSION=1.5
- MAVEN_JAVA_VERSION=3-jdk-10-slim INFLUXDB_VERSION=1.4
- MAVEN_JAVA_VERSION=3-jdk-10-slim INFLUXDB_VERSION=1.3
- MAVEN_JAVA_VERSION=3-jdk-10-slim INFLUXDB_VERSION=1.2
- MAVEN_JAVA_VERSION=3-jdk-10-slim INFLUXDB_VERSION=1.1
- MAVEN_JAVA_VERSION=3-jdk-8-slim INFLUXDB_VERSION=1.5

script: ./compile-and-test.sh

after_success:
Expand Down
157 changes: 97 additions & 60 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,98 +1,135 @@
## v2.7 [unreleased]
# Changelog

#### Features
## 2.10 [unreleased]

- Simplify write() methods for use cases writing all points to same database and retention policy [PR #327](https://github.com/influxdata/influxdb-java/pull/327)
### Features

#### Fixes
- Support for parameter binding in queries ("prepared statements") [PR #429](https://github.com/influxdata/influxdb-java/pull/429)

- Replace RuntimeException with InfluxDBException [Issue #323](https://github.com/influxdata/influxdb-java/issues/323)
## 2.9 [2018-02-27]

#### Improvements
### Features

- Significant (~35%) performance improvements for write speed with less memory footprint. [PR #330](https://github.com/influxdata/influxdb-java/pull/330)
- Drop guava runtime dependency which reduces jar size from 1MB -> 49KB [PR #322](https://github.com/influxdata/influxdb-java/pull/322)
- New extensible API to configure batching properties. [PR #409]
- New configuration property 'jitter interval' to avoid multiple clients hit the server periodically at the same time. [PR #409]
- New strategy on handling errors, client performs retries writes when server gets overloaded [PR #410]
- New exceptions give the client user easier way to classify errors reported by the server. [PR #410]

## v2.6 [2017.06-08]
## 2.8 [2017-12-06]

#### Features
### Fixes

- Switch to Java 1.8
- Support chunking
- Add a databaseExists method to InfluxDB interface
- [Issue #289](https://github.com/influxdata/influxdb-java/issues/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](https://github.com/influxdata/influxdb-java/pull/318).
- InfluxDBResultMapper now is able to process QueryResult created when a GROUP BY clause was used [PR #345](https://github.com/influxdata/influxdb-java/pull/345)
- InfluxDB will now handle the timestamp on its own if none is provided [PR#350](https://github.com/influxdata/influxdb-java/pull/350)

#### Fixes
### Features

- [Issue #263](https://github.com/influxdata/influxdb-java/issues/263) Add databaseExists method to InfluxDB interface.
- API: add InfluxDB#createRetentionPolicy and InfluxDB#dropRetentionPolicy to be able to create and drop Retention Policies [PR #351](https://github.com/influxdata/influxdb-java/pull/351)
- API: add InfluxDB#query that uses callbacks

#### Improvements
### 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](https://github.com/influxdata/influxdb-java/pull/282)
- Build: all unit and integration test are now running with jdk8 and jdk9.
- Test: migration to junit5

## v2.7 [2017-06-26]

### Features

- Simplify write() methods for use cases writing all points to same database and retention policy [PR #327](https://github.com/influxdata/influxdb-java/pull/327)
- QueryResult to Object mapper added [PR #341](https://github.com/influxdata/influxdb-java/pull/341)

### Fixes

- Replace RuntimeException with InfluxDBException [Issue #323](https://github.com/influxdata/influxdb-java/issues/323)

### Improvements

- Significant (~35%) performance improvements for write speed with less memory footprint. [PR #330](https://github.com/influxdata/influxdb-java/pull/330)
- Drop guava runtime dependency which reduces jar size from 1MB -> 49KB [PR #322](https://github.com/influxdata/influxdb-java/pull/322)

## v2.6 [2017-06-08]

### Features

- Switch to Java 1.8
- Support chunking
- Add a databaseExists method to InfluxDB interface
- [Issue #289](https://github.com/influxdata/influxdb-java/issues/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](https://github.com/influxdata/influxdb-java/pull/318).

### Fixes

- [Issue #263](https://github.com/influxdata/influxdb-java/issues/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](https://github.com/influxdata/influxdb-java/pull/282)

## v2.5 [2016-12-05]

#### Features
### Features

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

#### Fixes
### Fixes

- [Issue #162](https://github.com/influxdb/influxdb-java/issues/162) Write point using async batch mode with different rp will use same rp.
- [Issue #214](https://github.com/influxdb/influxdb-java/issues/214) Send multiple queries in one query statement will get only one result.
- Write can't be always async if batch is enabled.
- [Issue #162](https://github.com/influxdb/influxdb-java/issues/162) Write point using async batch mode with different rp will use same rp.
- [Issue #214](https://github.com/influxdb/influxdb-java/issues/214) Send multiple queries in one query statement will get only one result.
- Write can't be always async if batch is enabled.

#### Improvements
### 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.
- 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).
### 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
### Features

- Allow writing of pre-constructed line protocol strings

- Allow writing of pre-constructed line protocol strings
### Fixes

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

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

#### Other
- Deprecated `field()` method in preference for `addField()` methods.
- Deprecated `field()` method in preference for `addField()` methods.

## v2.1 [2015-12-05]

#### Features
### Features

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

#### Fixes
### Fixes

- Fixed escaping of tag and field values
- Always uses nanosecond precision for time
- Uses NumberFormat class for safer formatting of large numbers.
- 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
### Features

- Compatible with InfluxDB version 0.9+
- Support for lineprotocol
Expand All @@ -104,7 +141,7 @@ No major functional changes or improvements. Mainly library updates and code str

## v1.3 [2014-10-22]

#### Features
### 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.
Expand All @@ -117,12 +154,12 @@ No major functional changes or improvements. Mainly library updates and code str

## v1.2 [2014-06-28]

#### Features
### Features

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

#### Tasks
### Tasks

- [Issue #8](https://github.com/influxdb/influxdb-java/issues/8) Use com.github.docker-java which replaces com.kpelykh for Integration tests.
- [Issue #6](https://github.com/influxdb/influxdb-java/issues/6) Update Retrofit to 1.6.0
Expand All @@ -131,12 +168,12 @@ No major functional changes or improvements. Mainly library updates and code str

## v1.1 [2014-05-31]

#### Features
### Features

- Add InfluxDB#version() to get the InfluxDB Server version information.
- Changed InfluxDB#createDatabase() to match [Issue #489](https://github.com/influxdb/influxdb/issues/489) without replicationFactor.
- Updated Retrofit from 1.5.0 -> 1.5.1

## v1.0 [2014-05-6]

* Initial Release
- Initial Release
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) {{{year}}} {{{fullname}}}
Copyright (c) 2014-2017 Stefan Majer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading