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

Releases: cloudant/java-cloudant

2.13.1 (2018-09-05)

05 Sep 09:46
9818542

Choose a tag to compare

  • [FIXED] Regression that prevented keys being included as part of a ViewMultipleRequest.

2.13.0 (2018-06-06)

08 Jun 15:04

Choose a tag to compare

  • [NEW] Add CloudantClient.metaInformation() to get meta information from the welcome page.
  • [NEW] Add methods for interacting with the replicator _scheduler endpoint: - 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 stable and update parameters in views.
  • [FIXED] Issues retrieving deleted documents using an AllDocsRequest.
  • [FIXED] An issue where getReason() returned an incorrect value for Response objects returned by Database.bulk().
  • [FIXED] Added missing _deleted field to Document model class.
  • [BREAKING CHANGE] The fix which adds _deleted to Document model class will break (de)serialisation for classes which sub-class Document and 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-class Document. For more details, see the javadoc for Document.
  • [DEPRECATED] OAuth authentication API targetOauth on the Replication class.
  • [DEPRECATED] stale parameter in views.
  • [IMPROVED] Added support for IAM API key in the client builder bluemix method.
  • [IMPROVED] When making view requests (including _all_docs), set keys in the POST body rather than in GET query parameters. This is because a large number of keys could previously exceed the maximum URL length, causing errors.

2.12.0 (2018-02-08)

08 Feb 09:43
0afc984

Choose a tag to compare

  • [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 IllegalArgumentException with a better message if trying to build the client with a null URL instead of a NullPointerException.
  • [FIXED] Updated default IBM Cloud Identity and Access Management token URL.
  • [FIXED] An issue where a row was truncated from an _all_docs response including deleted docs for a request using keys where the server returns a total_rows count only for undeleted docs.
  • [DEPRECATED] Old index creation and listing APIs:
    • com.cloudant.client.api.model.Index
    • com.cloudant.client.api.model.IndexField
    • com.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)

21 Nov 11:36
80bb3ed

Choose a tag to compare

  • [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 of last_seq for continuous
    changes feeds.

2.10.0 (2017-11-07)

07 Nov 11:01
249eab6

Choose a tag to compare

  • [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#getError and AllDocsResponse#getErrors for returning any error messages
    from a view or _all_docs request.
  • [FIXED] Connection leaks in some session renewal error scenarios.
  • [FIXED] IllegalStateException now correctly thrown for additional case of calling
    MultipleRequestBuilder#build() before add() was called.
  • [UPGRADED] Optional OkHttp dependency to version 3.8.1.
  • [DEPRECATED] The dbCopy setter and getter on the MapReduce class.

2.9.0 (2017-04-26)

26 Apr 14:44

Choose a tag to compare

  • [NEW] Add faceted search variable argument to drillDown method allowing multiple drill down
    values to be specified for a single field name.
  • [DEPRECATED] The drillDown(String, String) method. Use new drillDown(String, String...) which
    allows multiple drill down values.

2.8.0 (2017-02-15)

15 Feb 15:37

Choose a tag to compare

  • [NEW] Added bluemix method to the client builder allowing service credentials to be passed using
    the CloudFoundry VCAP_SERVICES environment variable.
  • [NEW] Add additional method to GET standalone attachments.
  • [IMPROVED] Faster shutdown when using the optional OkHttp client.
  • [IMPROVED] Add URL to CouchDbException exception 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)

21 Nov 10:28

Choose a tag to compare

  • [UPGRADED] Optional okhttp dependency to version 3.4.2.
  • [FIXED] NullPointerException when calling AllDocsResponse.getIdsAndRevs for a request with
    multiple non-existent keys (IDs).
  • [IMPROVED] Preserved path elements from URLs used to construct a ClientBuilder.
    This allows, for example, a CloudantClientconnection to use a gateway with a
    URL like https://testproxy.example.net:443/cloudant/mydb.
  • [FIXED] Issue where DesignDocumentManager did not close a FileInputStream.

2.6.2 (2016-09-20)

20 Sep 12:39

Choose a tag to compare

  • [FIX] NoClassDefFoundError: com.squareup.okhttp.Authenticator for version 2.6.1 if the optional
    okhttp dependency was not included.

2.6.1 (2016-09-15)

15 Sep 11:16

Choose a tag to compare

  • [FIX] NoClassDefFoundError: com.squareup.okhttp.Authenticator for version 2.6.0 if the optional
    okhttp dependency was not included.