This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
Releases: cloudant/nodejs-cloudant
Releases · cloudant/nodejs-cloudant
4.5.1 (2021-09-16)
4.5.0 (2021-08-26)
- [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.
4.4.1 (2021-08-02)
- [FIXED] Hang caused by plugins (i.e. retry plugin) preventing callback execution by attempting to retry on errors received after starting to return the response body.
- [DEPRECATED] This library is now deprecated and will be EOL on Dec 31 2021.
4.4.0 (2021-06-18)
- [FIXED] Parsing of max-age from Set-Cookie headers.
- [FIXED] Double callback if plugin errors when updating state.
- [NOTE] Updated engines to remove EOL Node.js versions (minimum is now Node.js 12).
4.3.1 (2021-03-17)
- [NEW] Add migration guide to the newly supported cloudant-node-sdk (package: @ibm-cloud/cloudant).
- [FIXED] Update README to prefer url to account.
4.3.0 (2020-08-17)
- [FIXED] Stopped constant token auto renewal in the absence of a cookie header Max-Age.
- [UPGRADED] Upgrade package: @types/request@^2.48.4.
- [UPGRADED] Upgrade package: nano@~8.2.2.
4.2.4 (2020-03-02)
- [FIXED] Pinned Nano to version 8.1 to resolve issue with extending upstream TypeScript changes in Nano version 8.2.0.
4.2.3 (2019-12-05)
- [FIXED] Expose BasePlugin.
- [FIXED] Prevent double encoding of credentials passed in URL user information when using the
cookieauth
plugin. - [IMPROVED] Documented the characters that are required to be encoded in URL user information.
- [IMPROVED] Documented the legacy compatibility behaviour that always adds the
cookieauth
plugin when using the initialization callback functionality.
4.2.2 (2019-10-23)
- [FIXED] Stopped disabling the IAM auth plugin after failed IAM authentications. Subsequent requests will re-request authorization, potentially failing again if the original authentication failure was not temporary.
- [FIXED] Ensure IAM API key can be correctly changed.
- [FIXED] Callback with an error when a user cannot be authenticated using IAM.
- [FIXED] Ensure authorization tokens are not unnecessarily requested.
- [IMPROVED] Do not apply cookie authentication by default in the case that no credentials are provided.
- [IMPROVED] Preemptively renew authorization tokens that are due to expire.
4.2.1 (2019-08-29)
- [FIXED] Include all built-in plugin modules in webpack bundle.