Skip to content

Commit a26005a

Browse files
committed
chore(release): Release v5.2.0
1 parent 8bf9c1c commit a26005a

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ 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.2.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.2.0) - 2026-01-06
9+
10+
### Added
11+
12+
- **releases**: Added GitHub release download utilities for cross-project use
13+
- Added `downloadGitHubRelease()` for downloading releases from any GitHub repository
14+
- Added `downloadSocketBtmRelease()` specialized wrapper for socket-btm releases
15+
- Features version caching with `.version` files to avoid redundant downloads
16+
- Supports cross-platform binary downloads (darwin, linux, win32) with automatic platform/arch detection
17+
- Includes Linux musl/glibc support with musl as default for broader compatibility
18+
- Automatically removes macOS quarantine attributes from downloaded binaries
19+
- Supports generic asset downloads (WASM files, models, etc.)
20+
- API inspired by industry tools: `brew`, `cargo`, `gh` for intuitive usage
21+
- Package exports: `@socketsecurity/lib/releases/github` and `@socketsecurity/lib/releases/socket-btm`
22+
823
## [5.1.4](https://github.com/SocketDev/socket-lib/releases/tag/v5.1.4) - 2025-12-30
924

1025
### Fixed

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/lib",
3-
"version": "5.1.4",
3+
"version": "5.2.0",
44
"packageManager": "pnpm@10.26.2",
55
"license": "MIT",
66
"description": "Core utilities and infrastructure for Socket.dev security tools",
@@ -523,6 +523,14 @@
523523
"types": "./dist/regexps.d.ts",
524524
"default": "./dist/regexps.js"
525525
},
526+
"./releases/github": {
527+
"types": "./dist/releases/github.d.ts",
528+
"default": "./dist/releases/github.js"
529+
},
530+
"./releases/socket-btm": {
531+
"types": "./dist/releases/socket-btm.d.ts",
532+
"default": "./dist/releases/socket-btm.js"
533+
},
526534
"./sea": {
527535
"types": "./dist/sea.d.ts",
528536
"default": "./dist/sea.js"

0 commit comments

Comments
 (0)