From 8a3c5331cc81684bfa9fe092a07236d9b8a090ca Mon Sep 17 00:00:00 2001 From: Rich Ellis Date: Thu, 26 Aug 2021 10:59:07 +0100 Subject: [PATCH 1/2] Update CHANGES for 4.5.0 --- CHANGES.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 3c14fce9..eb09fe14 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,13 +1,15 @@ -# 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.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. From 5389df47b984161a1870505421c64e6ec53c34ea Mon Sep 17 00:00:00 2001 From: Rich Ellis Date: Thu, 26 Aug 2021 10:59:30 +0100 Subject: [PATCH 2/2] Update version to 4.5.0 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ac573b6a..51c77283 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@cloudant/cloudant", - "version": "4.4.2-SNAPSHOT", + "version": "4.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6e0afd2a..a8bc7b2e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "type": "git", "url": "git@github.com:cloudant/nodejs-cloudant.git" }, - "version": "4.4.2-SNAPSHOT", + "version": "4.5.0", "author": { "name": "IBM Cloudant", "email": "support@cloudant.com"