Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/sca-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects --fail-on=all
json: true
continue-on-error: true
- uses: contentstack/sca-policy@main
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
## Change log

### Version: 3.27.0
#### Date: Mar-23-2026
##### Fix:
- Handle connection drops and socket closures so they no longer cause unhandled rejections and process crashes. The SDK now:
- Catches body-read failures by adding `.catch()` on the `response.json()` promise in both 200 and non-200 response branches.
- Applies the same catch-and-retry behavior for fetch-level rejections (e.g. connection closed before or during response).
- Rejects the Request promise with the actual error when retries are exhausted, so callers can handle or log failures without the Node process crashing.

### Version: 3.26.4
#### Date: Jan-27-2026
##### Feat:
Expand Down
Loading
Loading