Skip to content

Commit 8304fec

Browse files
committed
v5.9.0
1 parent e73775e commit 8304fec

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.9.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.9.0) - 2026-03-14
9+
10+
### Changed
11+
12+
- **releases/socket-btm**: `getPlatformArch()` now normalizes Windows platform to `win` instead of `win32`
13+
- Returns `win-x64`, `win-arm64` instead of `win32-x64`, `win32-arm64`
14+
- Consistent with `getBinaryAssetName()` which already uses `win` for Windows assets
15+
- Aligns with socket-btm and Node.js convention: use `win` for file/folder names, `win32` for platform checks (`process.platform`)
16+
- Added `PLATFORM_MAP` for explicit platform name mapping (darwin, linux, win32 → win)
17+
- Now throws `Error: Unsupported platform` for unknown platform values
18+
819
## [5.8.2](https://github.com/SocketDev/socket-lib/releases/tag/v5.8.2) - 2026-03-13
920

1021
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/lib",
3-
"version": "5.8.2",
3+
"version": "5.9.0",
44
"packageManager": "pnpm@10.32.1",
55
"license": "MIT",
66
"description": "Core utilities and infrastructure for Socket.dev security tools",

0 commit comments

Comments
 (0)