Releases: IBM/cloudant-node-sdk
Releases · IBM/cloudant-node-sdk
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.
0.9.2
0.9.1
0.9.0
Note: APIs may be subject to change.
Breaking Changes:
- For the full list of code changes needed for this version see
0.9.0API changes. - Unify parameter and property name case conventions across models.
- Preserve leading
_metadata names in models that also accept user-defined properties (i.e. documents) to eliminate the risk of clashing e.g._idand a user-definedid.
Changes:
- Fix unexpected
401responses from infrequent requests occuring close to an IAM token expiry time (via updated core dependency). - Updated dependencies.