From 2c24f4317f479bd9c936a391efbcce4a92b12af9 Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Fri, 31 Jul 2026 11:20:15 +0530 Subject: [PATCH 1/2] chore: bump version to 1.5.0 and update changelog Bundles the three DX-9991 fixes: timeout classification, default retry for transient network errors, and default keep-alive connection agents. DX-9991 --- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4877437..ad6d639 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Change log +### Version: 1.5.0 +#### Date: July-31-2026 + - Fix: Classify request timeouts (`ECONNABORTED`) distinctly instead of a generic `UNKNOWN_ERROR`, preserving the real error code and message + - Fix: Retry transient network-level errors (`ECONNABORTED`, `ETIMEDOUT`, `ECONNRESET`, `EPIPE`, `EAI_AGAIN`) by default when there is no HTTP response + - Enhancement: Default `httpAgent`/`httpsAgent` to `keepAlive: true` connection agents in Node environments, reducing connection-setup overhead under concurrent request load + ### Version: 1.4.1 #### Date: June-29-2026 - Fix: upgrade dependencies diff --git a/package-lock.json b/package-lock.json index 540d1f7..3d441c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@contentstack/core", - "version": "1.4.1", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@contentstack/core", - "version": "1.4.1", + "version": "1.5.0", "license": "MIT", "dependencies": { "axios": "^1.18.1", diff --git a/package.json b/package.json index 5da096f..e4d282b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/core", - "version": "1.4.1", + "version": "1.5.0", "type": "commonjs", "main": "./dist/cjs/src/index.js", "types": "./dist/cjs/src/index.d.ts", From ffd153d10e46d0b24125f2357cba7b6b9b39410f Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Fri, 31 Jul 2026 11:22:32 +0530 Subject: [PATCH 2/2] chore: update changelog for version 1.5.0 with correct release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad6d639..4bf7f74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## Change log ### Version: 1.5.0 -#### Date: July-31-2026 +#### Date: August-03-2026 - Fix: Classify request timeouts (`ECONNABORTED`) distinctly instead of a generic `UNKNOWN_ERROR`, preserving the real error code and message - Fix: Retry transient network-level errors (`ECONNABORTED`, `ETIMEDOUT`, `ECONNRESET`, `EPIPE`, `EAI_AGAIN`) by default when there is no HTTP response - Enhancement: Default `httpAgent`/`httpsAgent` to `keepAlive: true` connection agents in Node environments, reducing connection-setup overhead under concurrent request load