This repository was archived by the owner on Mar 11, 2022. It is now read-only.
Releases: cloudant/java-cloudant
Releases · cloudant/java-cloudant
2.13.1 (2018-09-05)
- [FIXED] Regression that prevented
keysbeing included as part of aViewMultipleRequest.
2.13.0 (2018-06-06)
- [NEW] Add
CloudantClient.metaInformation()to get meta information from the welcome page. - [NEW] Add methods for interacting with the replicator
_schedulerendpoint: -CloudantClient.schedulerJobs(), -CloudantClient.schedulerDocs(), -CloudantClient.schedulerDoc(docId). - [NEW] Add
ComplexKey.addHighSentinel()to allow matching of all values as part of a complex key range. - [NEW] Support IAM authentication in replication documents.
- [NEW] Add support for
stableandupdateparameters in views. - [FIXED] Issues retrieving deleted documents using an
AllDocsRequest. - [FIXED] An issue where
getReason()returned an incorrect value forResponseobjects returned byDatabase.bulk(). - [FIXED] Added missing
_deletedfield toDocumentmodel class. - [BREAKING CHANGE] The fix which adds
_deletedtoDocumentmodel class will break (de)serialisation for classes which sub-classDocumentand themselves declare a field which implicitly or explicitly has the serialised name of_deleted. The suggested work-around is to remove this field from classes which sub-classDocument. For more details, see the javadoc forDocument. - [DEPRECATED] OAuth authentication API
targetOauthon theReplicationclass. - [DEPRECATED]
staleparameter in views. - [IMPROVED] Added support for IAM API key in the client builder
bluemixmethod. - [IMPROVED] When making view requests (including
_all_docs), setkeysin thePOSTbody rather than inGETquery parameters. This is because a large number of keys could previously exceed the maximum URL length, causing errors.
2.12.0 (2018-02-08)
- [NEW] Index creation APIs and builders including support for text and partial indexes.
- [NEW] Support for query bookmarks and execution stats.
- [NEW] Utilities for generating selectors for queries and partial indexes.
- [IMPROVED] Throw an
IllegalArgumentExceptionwith a better message if trying to build the client with anullURL instead of aNullPointerException. - [FIXED] Updated default IBM Cloud Identity and Access Management token URL.
- [FIXED] An issue where a row was truncated from an
_all_docsresponse including deleted docs for a request usingkeyswhere the server returns atotal_rowscount only for undeleted docs. - [DEPRECATED] Old index creation and listing APIs:
com.cloudant.client.api.model.Indexcom.cloudant.client.api.model.IndexFieldcom.cloudant.client.api.Database.createIndex(java.lang.String, java.lang.String, java.lang.String, com.cloudant.client.api.model.IndexField[])com.cloudant.client.api.Database.listIndices
2.11.0 (2017-11-21)
- [NEW] Added an extra bluemix method to the client builder allowing a custom service name to be
used with the VCAP_SERVICES environment variable content. - [FIXED] An issue where
Changes.hasNext()never returns on receipt oflast_seqfor continuous
changes feeds.
2.10.0 (2017-11-07)
- [NEW] Added API for upcoming IBM Cloud Identity and Access Management support for Cloudant on IBM
Cloud. Note: IAM API key support is not yet enabled in the service. - [IMPROVED] Updated documentation by replacing deprecated Cloudant links with the latest bluemix.net
links. - [IMPROVED] Clarified documentation for search indexes.
- [IMPROVED] Added
Row#getErrorandAllDocsResponse#getErrorsfor returning any error messages
from aviewor_all_docsrequest. - [FIXED] Connection leaks in some session renewal error scenarios.
- [FIXED] IllegalStateException now correctly thrown for additional case of calling
MultipleRequestBuilder#build()beforeadd()was called. - [UPGRADED] Optional OkHttp dependency to version 3.8.1.
- [DEPRECATED] The
dbCopysetter and getter on theMapReduceclass.
2.9.0 (2017-04-26)
- [NEW] Add faceted search variable argument to
drillDownmethod allowing multiple drill down
values to be specified for a single field name. - [DEPRECATED] The
drillDown(String, String)method. Use newdrillDown(String, String...)which
allows multiple drill down values.
2.8.0 (2017-02-15)
- [NEW] Added
bluemixmethod to the client builder allowing service credentials to be passed using
the CloudFoundry VCAP_SERVICES environment variable. - [NEW] Add additional method to
GETstandalone attachments. - [IMPROVED] Faster shutdown when using the optional OkHttp client.
- [IMPROVED] Add URL to
CouchDbExceptionexception message (where applicable) for easier debugging. - [FIXED] Issue with "+" (plus) not being regarded as a reserved character in URI path components.
- [FIXED] Issue with double encoding of restricted URL characters in credentials when using
ClientBuilder.url().
2.7.0 (2016-11-21)
- [UPGRADED] Optional okhttp dependency to version 3.4.2.
- [FIXED]
NullPointerExceptionwhen callingAllDocsResponse.getIdsAndRevsfor a request with
multiple non-existent keys (IDs). - [IMPROVED] Preserved path elements from
URLs used to construct aClientBuilder.
This allows, for example, aCloudantClientconnection to use a gateway with a
URLlikehttps://testproxy.example.net:443/cloudant/mydb. - [FIXED] Issue where DesignDocumentManager did not close a
FileInputStream.
2.6.2 (2016-09-20)
- [FIX]
NoClassDefFoundError: com.squareup.okhttp.Authenticatorfor version 2.6.1 if the optional
okhttp dependency was not included.
2.6.1 (2016-09-15)
- [FIX]
NoClassDefFoundError: com.squareup.okhttp.Authenticatorfor version 2.6.0 if the optional
okhttp dependency was not included.