Skip to content

Commit dbaffa8

Browse files
committed
Release v5.10.0
1 parent 2379fb1 commit dbaffa8

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ 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.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

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.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",

0 commit comments

Comments
 (0)