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

Releases: cloudant/nodejs-cloudant

4.5.1 (2021-09-16)

Choose a tag to compare

@ricellis ricellis released this 16 Sep 11:18
23d9374
  • [FIXED] Issue where new session cookies from pre-emptive renewal would not persist beyond the original session lifetime.

4.5.0 (2021-08-26)

Choose a tag to compare

@ricellis ricellis released this 26 Aug 10:32
1b146f6
  • [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)

Choose a tag to compare

@ricellis ricellis released this 02 Aug 14:41
d721df0
  • [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)

Choose a tag to compare

@ricellis ricellis released this 18 Jun 12:59
8930a2a
  • [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)

Choose a tag to compare

@ricellis ricellis released this 17 Mar 18:32
89fe37f
  • [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)

Choose a tag to compare

@ricellis ricellis released this 17 Aug 15:09
  • [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)

Choose a tag to compare

@ricellis ricellis released this 02 Mar 15:59
466ae8e
  • [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)

Choose a tag to compare

@ricellis ricellis released this 05 Dec 09:24
c32bac2
  • [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)

Choose a tag to compare

@ricellis ricellis released this 23 Oct 11:44
44facc1
  • [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)

Choose a tag to compare

@ricellis ricellis released this 29 Aug 10:31
8d17719
  • [FIXED] Include all built-in plugin modules in webpack bundle.