Skip to content

Commit 318b392

Browse files
authored
chore(release): bump to v4.0.1 (#582)
1 parent f0baad0 commit 318b392

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [4.0.1](https://github.com/SocketDev/socket-sdk-js/releases/tag/v4.0.1) - 2026-04-14
8+
9+
### Changed — build
10+
11+
- Bundle `@socketsecurity/lib` and `form-data` into dist output, making the SDK a zero-runtime-dependency package
12+
- Stub heavy `@socketsecurity/lib` internals (npm-pack.js 2.5MB, pico-pack.js 260KB) and replace `mime-db` (212KB) with a minimal 3-entry lookup
13+
- dist/index.js: 3,897KB → 712KB (82% reduction)
14+
15+
### Fixed
16+
17+
- Strip `Authorization` header (case-insensitive) from public firewall API endpoint requests
18+
719
## [4.0.0](https://github.com/SocketDev/socket-sdk-js/releases/tag/v4.0.0) - 2026-04-06
820

921
### Breaking Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/sdk",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "SDK for the Socket API client",
55
"homepage": "https://github.com/SocketDev/socket-sdk-js",
66
"license": "MIT",

0 commit comments

Comments
 (0)