Releases: IBM/cloudant-node-sdk
Releases · IBM/cloudant-node-sdk
Release list
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
Note: APIs may be subject to change.
Breaking Changes:
- Corrected mapping level of faceted search ranges API model. The existing model was incorrect and resulted in unsuccessful requests. As such this API change should have no impact.
- Corrected sort direction values in explain map reduce options model. This is unlikely to break callers as the string value is returned.
Changes:
- Added
GET/{db}/_design/{ddoc}/_search_disk_size/{index}operation. - Added
POST_replicatoroperation. - Updated dependencies.
- Updated documentation.
0.11.0
Note: APIs may be subject to change.
Breaking changes:
- For
*AsStreamAPIs the JSON response bodies on errors are now automatically converted to objects. This change does not impact successful responses (resolve) cases where the type of theresultproperty remains aReadablestream. For error (reject) cases the type ofresultchanges from aReadableto anObjectcontaining the JSON response. This avoids the need for callers to detect and deserialize the errorresultcontent and aligns the errors from*AsStreamcalls with other errors in the SDK. It also allows an error from an*AsStreamresponse to produce a useful message and benefit from the other error message improvements in this release. Other properties on an error in a*AsStreamrejectremain unchanged.
Changes:
- Added new allow fallback option to find query options models.
- Improved error message output and added trace ID to error responses.
- Updated dependencies.
- Updated documentation.
0.10.3
0.10.2
0.10.1
0.10.0
Note: APIs may be subject to change.
Breaking Changes:
- The default service URL changed from
http://localhost:5984tohttps://~replace-with-cloudant-host~.cloudantnosqldb.appdomain.cloud. This change is only breaking for users that do not configure the client with a URL and connect to a local server running on port5984(for example a test CouchDB server). - Attachments included inline in model responses (for example by setting
attachments: truewhen retrieving a document) are now automatically decoded from a Base64 string into aBuffer. This does not impact attachments retrieved directly (for example usinggetAttachment) and it does not impact*AsStreamraw IO responses.
Changes:
- Add missing
ownerfield for replication documents. - Allow retrieval of additional vendor properties from server information model.
- Update dependencies (including
ibm-cloud-sdk-core@5.0.0that reduces the package footprint by removing test dependencies). - Update documentation.