Skip to content

Commit 619c4f0

Browse files
chore: merge master into feature/comprehensive-integration-tests
Brings in SDK v3.27.0 changes: - fix: handle connection drops (UND_ERR_SOCKET/UND_ERR_ABORTED) with retry logic in request.js - refactor: remove unused variables (environment, api_key) from request.js - chore: version bump 3.26.4 → 3.27.0 - chore: dependency updates in package-lock.json - ci: update sca-scan.yml All comprehensive integration test files retained unchanged. Updated .talismanrc checksums for package-lock.json and request.js.
2 parents 31c41a4 + 1143032 commit 619c4f0

6 files changed

Lines changed: 662 additions & 702 deletions

File tree

.github/workflows/sca-scan.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ jobs:
1313
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1414
with:
1515
args: --all-projects --fail-on=all
16+
json: true
17+
continue-on-error: true
18+
- uses: contentstack/sca-policy@main

.talismanrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fileignoreconfig:
2222
- filename: .github/workflows/secrets-scan.yml
2323
checksum: d79ec3f3288964f7d117b9ad319a54c0ebc152e35f69be8fde95522034fdfb2a
2424
- filename: package-lock.json
25-
checksum: c7c4feda727fae78c6fa03665b1d8f2a6363060631dd57b475f09307991ad305
25+
checksum: 3d18d543ed9c7b87bcfca8f7af99bb3058ffa67b84a1ff888623686a84d06672
2626
- filename: src/core/modules/assets.js
2727
checksum: 00f19d659b830b0f145b4db0ccf3211a4048d9488f30a224fe3c31cacca6dcd2
2828
- filename: .husky/pre-commit
@@ -40,7 +40,7 @@ fileignoreconfig:
4040
- filename: test/live-preview/live-preview-test.js
4141
checksum: d742465789e00a17092a7e9664adda4342a13bc4975553371a26df658f109952
4242
- filename: src/core/lib/request.js
43-
checksum: 0404fd184a96c57d0eb9e7134ae6ff65f8e9039c38c852c9a0f00825b4c69f1
43+
checksum: 775c2e74b4135747600a3f34535f97f7dcbf822e4d2dc68568f5b227d499fdbb
4444
- filename: test/sync/sync-testcases.js
4545
checksum: 391b557a147c658a50256b49dcdd20fd053eb32966e9244d98c93142e4dcbf2e
4646
- filename: src/core/modules/taxonomy.js

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
## Change log
2+
3+
### Version: 3.27.0
4+
#### Date: Mar-23-2026
5+
##### Fix:
6+
- Handle connection drops and socket closures so they no longer cause unhandled rejections and process crashes. The SDK now:
7+
- Catches body-read failures by adding `.catch()` on the `response.json()` promise in both 200 and non-200 response branches.
8+
- Applies the same catch-and-retry behavior for fetch-level rejections (e.g. connection closed before or during response).
9+
- Rejects the Request promise with the actual error when retries are exhausted, so callers can handle or log failures without the Node process crashing.
10+
211
### Version: 3.26.4
312
#### Date: Jan-27-2026
413
##### Feat:

0 commit comments

Comments
 (0)