Skip to content

Releases: influxdata/influxdb-client-java

4.0.0

26 Nov 07:17
Compare
Choose a tag to compare

Breaking Changes

The Arguments helper moved from package com.influxdb to package com.influxdb.utils.

Management API

This release uses the latest InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi, QueryApi, BucketsApi, OrganizationsApi...

  • Add LegacyAuthorizationsService to deal with legacy authorizations
  • Add ResourceService to retrieve all knows resources
  • Move postSignin operation from DefaultService to SigninService
  • Move postSignout operation from DefaultService to SignoutService
  • Remove TemplateApi in favour of InfluxDB Community Templates. For more info see - influxdb#19300, openapi#192

Deprecates

  • InfluxDBClient.health(): instead use InfluxDBClient.ping()
  • InfluxDBClientKotlin.health(): instead use InfluxDBClientKotlin.ping()
  • InfluxDBClientScala.health(): instead use InfluxDBClientScala.ping()
  • SecretsService.postOrgsIDSecrets(): instead use SecretsService.deleteOrgsIDSecretsID()

Features

  1. #272: Add PingService to check status of OSS and Cloud instance
  2. #278: Add query method with all params for BucketsApi, OrganizationApi and TasksApi
  3. #280: Use async HTTP calls in the Batching writer
  4. #251: Client uses Reactive Streams in public API, WriteReactiveApi is cold Publisher [influxdb-client-reactive]

Bug Fixes

  1. #279: Session authentication for InfluxDB 2.1
  2. #276: influxdb-client-utils uses different package then influxdb-client-core[java module system]

API

  1. #281: Update to the latest InfluxDB OSS API

CI

  1. #275: Deploy influxdb-client-test package into Maven repository

3.4.0

22 Oct 06:28
Compare
Choose a tag to compare

Features

  1. #269: Add possibility to use dynamic measurement in mapping from/to POJO

CI

  1. #267: Add JDK 17 (LTS) to CI pipeline instead of JDK 16

3.3.0

17 Sep 06:24
Compare
Choose a tag to compare

Bug Fixes

  1. #258: Avoid requirements to jdk.unsupported module
  2. #263: Fix dependency structure for flux-dsl module

Dependencies

  1. #258: Update dependencies:
    • Gson to 2.8.8

3.2.0

20 Aug 05:51
Compare
Choose a tag to compare

Bug Fixes

  1. #252: Spring auto-configuration works even without influxdb-client-reactive [spring]
  2. #254: Avoid reading entire query response into bytes array

Deprecates

  1. #255: InfluxDBClient#getWriteApi() instead use InfluxDBClient#makeWriteApi()

Documentation

  1. #257: How to configure proxy

3.1.0

27 Jul 08:56
Compare
Choose a tag to compare

Breaking Changes

influxdb-spring:

Change configuration prefix from spring.influx2 to influx according to Spring Docs - for more info see README.md.

Features

  1. #244: Add support for auto-configure the reactive client - InfluxDBClientReactive [spring]

Bug Fixes

  1. #246: Parsing infinite numbers
  2. #241: Set default HTTP protocol to HTTP 1.1

3.0.1

16 Jul 05:54
Compare
Choose a tag to compare

Features

  1. #242: Add Spring Boot configuration metadata that helps the IDE understand the application.properties [spring]

Bug Fixes

  1. #248: Remove not supported autoconfiguration [spring]

3.0.0

09 Jul 05:50
Compare
Choose a tag to compare

Breaking Changes

influxdb-spring:

The micrometer v1.7.0 brings support for InfluxDB 2.
That is a reason why the influxdb-spring no longer needs provide a custom Micrometer metrics exporter.
Now you are able to use micrometer-registry-influx, for more info see our docs.

Management API

This release introduces a support for new InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi, QueryApi, BucketsApi, OrganizationsApi...

  • UsersService uses PostUser to create User
  • AuthorizationsService uses AuthorizationPostRequest to create Authorization
  • BucketsService uses PatchBucketRequest to update Bucket
  • OrganizationsService uses PostOrganizationRequest to create Organization
  • OrganizationsService uses PatchOrganizationRequest to update Organization
  • DashboardsService uses PatchDashboardRequest to update Dashboard
  • DeleteService is used to delete time series data instead of DefaultService
  • Run contains list of LogEvent in Log property
  • DBRPs contains list of DBRP in Content property
  • DbrPsService uses DBRPCreate to create DBRP
  • Inheritance structure:
    • Check <- CheckDiscriminator <- CheckBase
    • NotificationEndpoint <- NotificationEndpointDiscriminator <- NotificationEndpointBase
    • NotificationRule <- NotificationRuleDiscriminator <- NNotificationRuleBase
  • Flux AST literals extends the AST Expression object

FluxDSL

The shift() function renamed to timeShift().

Features

  1. #231: Add support for Spring Boot 2.4 [spring]
  2. #229: Support translating column name from some_col to someCol [query]

Bug Fixes

  1. #227: Connection URL with custom base path
  2. #236: Rename shift() to timeShift() [FluxDSL]

Dependencies

  1. #227: Update dependencies:
    • Kotlin to 1.5.10

API

  1. #233: Use InfluxDB OSS API definitions to generated APIs

2.3.0

04 Jun 05:08
Compare
Choose a tag to compare

Features

  1. #223: Exponential random backoff retry strategy

2.2.0

30 Apr 05:32
Compare
Choose a tag to compare

Breaking Changes

This release introduces a support to cross-built Scala Client against Scala 2.12 and 2.13.
You have to replace your dependency from: influxdb-client-scala to:

  • influxdb-client-scala_2.12 or
  • influxdb-client-scala_2.13

Features

  1. #211: Add supports for Scala cross versioning [2.12, 2.13]
  2. #213: Supports empty logic operator [FluxDSL]
  3. #216: Allow to specify a name of column in last function [FluxDSL]
  4. #218: Supports enum types in mapping into POJO
  5. #220: Create client supporting OSGi environments
  6. #221: Add feature definition and documentation for Apache Karaf support
  7. #222: Add Kotlin WriteApi

Dependencies

  1. #222: Update dependencies:
    • Kotlin to 1.4.32
  2. #222: Update plugins:
    • dokka-maven-plugin to 1.4.30

2.1.0

01 Apr 06:08
Compare
Choose a tag to compare

Bug Fixes

  1. #205: Fix GZIP issue for query executed from all clients see issue comments

API

  1. #206: Updated swagger to the latest version