This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
Releases: cloudant/java-cloudant
Releases · cloudant/java-cloudant
2.20.1 (2021-09-10)
2.20.0 (2021-08-26)
- [FIXED] Type of
sinceSeq
can be also aString
besides anInteger
. - [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)
- [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)
- [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)
- [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 withsizes
object ifdisk_size
is unavailable. - [FIXED]
ViewMultipleRequest
updated to preferentially use viewqueries
format URL instead of deprecated format.
2.18.0 (2019-10-02)
- [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)
- [NEW] Added
com.cloudant.client.api.model.DbInfo#getDocDelCountLong()
to return deleted document count as along
instead of aString
. - [DEPRECATED]
com.cloudant.client.api.model.DbInfo#getDocDelCount()
.
2.16.0 (2019-04-01)
- [NEW] Added database partition metadata fields for partitioned index count/limit.
- [NEW] Added replication selector support.
2.15.0 (2019-02-12)
- [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)
- [NEW] Add
purge_seq
getter onDbInfo
class that returns sequence value asString
. - [DEPRECATED]
com.cloudant.client.api.model.DbInfo#getPurgeSeq()
.