File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 5.10.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.10.0 ) - 2026-03-14
9+
10+ ### Changed
11+
12+ - ** releases/socket-btm** : Refactored ` downloadSocketBtmRelease() ` API for caller-controlled download paths
13+ - Tool name moved from config object to required first parameter
14+ - Config object is now optional second parameter (was required)
15+ - Removed automatic ` /${toolName}/${platformArch} ` directory nesting - callers now have full control over download directory structure
16+ - All optional parameters in config types now explicitly typed as ` | undefined `
17+ - Migration example:
18+ - Before: ` downloadSocketBtmRelease({ tool: 'lief', downloadDir: 'build' }) `
19+ - After: ` downloadSocketBtmRelease('lief', { downloadDir: 'build' }) `
20+ - Rationale: Previous automatic path nesting created unexpected directory structures (e.g., ` build/downloaded/lief/darwin-arm64/lief/assets/ ` ) making it impossible for callers to predict exact file locations
21+
822## [ 5.9.1] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.9.1 ) - 2026-03-14
923
1024### Fixed
Original file line number Diff line number Diff line change 11{
22 "name" : " @socketsecurity/lib" ,
3- "version" : " 5.9.1 " ,
3+ "version" : " 5.10.0 " ,
44 "packageManager" : " pnpm@10.32.1" ,
55 "license" : " MIT" ,
66 "description" : " Core utilities and infrastructure for Socket.dev security tools" ,
You can’t perform that action at this time.
0 commit comments