Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Releases: cloudant/java-cloudant

2.20.1 (2021-09-10)

10 Sep 08:36
2ce2d82
Compare
Choose a tag to compare
  • [FIXED] Enable proxy support for session cookie and IAM authentication.

  • [DEPRECATED] This library is deprecated and will be EOL on Dec 31 2021.

2.20.0 (2021-08-26)

26 Aug 11:02
c298b14
Compare
Choose a tag to compare
  • [FIXED] Type of sinceSeq can be also a String besides an Integer.
  • [DEPRECATED] This library is now deprecated and will be EOL on Dec 31 2021.
  • [IMPROVED] - Document IDs and attachment names are now rejected if they could cause an unexpected Cloudant request. We have seen that some applications pass unsantized document IDs to SDK functions (e.g. direct from user requests). In response to this we have updated many functions to reject obviously invalid paths. However, for complete safety applications must still validate that document IDs and attachment names match expected patterns.

2.19.2 (2021-04-07)

07 Apr 16:17
acd4f7c
Compare
Choose a tag to compare
  • [NEW] Add migration guide to the newly supported cloudant-java-sdk (coordinates: com.ibm.cloud:cloudant).
  • [FIXED] Allow $and, $or, and $nor operator selectors to be used with only one expression selector.

2.19.1 (2020-07-03)

03 Jul 07:45
5e9ef4e
Compare
Choose a tag to compare
  • [FIXED] Connection leak regression introduced in 2.18.0 caused by not closing streams from successful session response bodies.
  • [UPGRADED] Optional OkHttp dependency to version 3.12.12.

2.19.0 (2020-03-02)

02 Mar 12:12
6a07516
Compare
Choose a tag to compare
  • [NEW] Add getter for total row count to AllDocsResponse
  • [NEW] Added DbInfo#getSizes() for access to improved sizes information.
  • [FIXED] Corrected DbInfo#getDiskSize() to work with sizes object if disk_size is unavailable.
  • [FIXED] ViewMultipleRequest updated to preferentially use view queries format URL instead of deprecated format.

2.18.0 (2019-10-02)

02 Oct 08:00
bdd6d97
Compare
Choose a tag to compare
  • [FIXED] Create an array of strings for QueryBuilder.fields() when a single field is provided.
  • [FIXED] Potential NPE creating exception messages.
  • [IMPROVED] Return exceptions directly from IAM token request failures instead of logging and deferring the request to the service with no credentials. The exception type is the same, but the message and cause are more clear and a round trip is avoided.
  • [IMPROVED] Prevent multiple session renewal requests happening simultaneously because some auth types apply limits to the number of requests that can be made.
  • [IMPROVED] Documented that for some database versions a call to get continuous changes may block when there are no changes available immediately.
  • [UPGRADED] Optional OkHttp dependency to version 3.12.5.

2.17.0 (2019-05-23)

23 May 13:15
b17111f
Compare
Choose a tag to compare
  • [NEW] Added com.cloudant.client.api.model.DbInfo#getDocDelCountLong() to return deleted document count as a long instead of a String.
  • [DEPRECATED] com.cloudant.client.api.model.DbInfo#getDocDelCount().

2.16.0 (2019-04-01)

01 Apr 10:08
cff2f46
Compare
Choose a tag to compare
  • [NEW] Added database partition metadata fields for partitioned index count/limit.
  • [NEW] Added replication selector support.

2.15.0 (2019-02-12)

12 Feb 11:26
45a674d
Compare
Choose a tag to compare
  • [NEW] Added option for client to authenticate with IAM token server.
  • [NEW] Added partitioned database support.
  • [FIXED] Updated the default IAM token server URL.

2.14.0 (2018-12-18)

18 Dec 12:05
1ad1059
Compare
Choose a tag to compare
  • [NEW] Add purge_seq getter on DbInfo class that returns sequence value as String.
  • [DEPRECATED] com.cloudant.client.api.model.DbInfo#getPurgeSeq().