Features
- #745: New example
WriteHttpExceptionHandled.java
showing how to make use ofInfluxException.headers()
when HTTP Errors are returned from server. Also, now writes selected headers to client log. - #719:
InfluxQLQueryService
header changes.Accept
header can now be defined when makingInfluxQLQuery
calls. Supoorted MIME types:application/csv
application/json
- The value
application/csv
remains the default. ⚠️ Side effects of these changes:- When using
application/json
, timestamp fields are returned in the RFC3339 format unlessInfluxQLQuery.setPrecision()
has been previously called, in which case they are returned in the POSIX epoch format. - When using
application/csv
, timestamp fields are returned in the POSIX epoch format.
- When using
- Convenience methods have been added to
InfluxQLQueryAPI
to simplify expressly specifying JSON or CSV calls. - Epoch timestamps can also be ensured by calling
InfluxQLQuery.setPrecision()
before executing a query call. - An
AcceptHeader
field has also been added to theInfluxQLQuery
class and can be set withInfluxQLQuery.setAcceptHeader()
. - More information from the server side:
- See the updated InfluxQLExample
Bug Fixes
- #744 following an
InfluxQLQueryAPI.query()
call, empty results from the server no longer result in anull
result value.
Dependencies
Update dependencies:
Build:
- #753:
spring-boot
to3.3.2
- #726:
kotlin
to2.0.0
- #752:
micrometer-registry-influx
to1.13.2
- #749:
kotlin-coroutines
to1.8.1
- #735:
scala-collection-compat_2.12
to2.12.0
- #740:
pekko
to1.0.3
- #741:
commons-csv
to1.11.0
- #743:
gson
to2.11.0
Maven:
- #721:
build-helper-maven-plugin
to3.6.0
- #728:
maven-source-plugin
to3.3.1
- #729:
maven-enforcer-plugin
to3.5.0
- #730:
scala-maven-plugin
to4.9.1
- #734:
maven-compiler-plugin
to3.13.0
- #736:
jacoco-maven-plugin
to0.8.12
- #748:
maven-surefire-plugin
,maven-failsafe-plugin
to3.3.1
- #746:
maven-jar-plugin
to3.4.2
- #747:
maven-project-info-reports-plugin
to3.6.2
- #751:
license-maven-plugin
to4.5
Test:
- #724:
assertj
to3.26.0
- #725:
assertk-jvm
to0.28.1
- #750:
assertj-core
to3.26.3
- #737:
junit-jupiter
to5.10.3
- #754:
hamcrest
to3.0