@@ -5,6 +5,30 @@ 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.8.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.8.0 ) - 2026-03-10
9+
10+ ### Added
11+
12+ - ** archives** : Added secure archive extraction utilities with support for ZIP, TAR, TAR.GZ, and TGZ formats
13+ - Configurable limits: ` maxFileSize ` (default 100MB), ` maxTotalSize ` (default 1GB)
14+ - Cross-platform path normalization
15+ - External dependencies: adm-zip@0.5.16, tar-fs@3.1.2 (bundled, +212KB)
16+ - Security features: path traversal protection, file size limits, total size limits, symlink blocking
17+ - Strip option to remove leading path components (like tar ` --strip-components ` )
18+ - ` detectArchiveFormat() ` - Detect archive type from file extension
19+ - ` extractArchive() ` - Generic extraction with auto-format detection
20+ - ` extractTar() ` , ` extractTarGz() ` , ` extractZip() ` - Format-specific extractors
21+
22+ - ** releases/github** : Added archive extraction support for GitHub releases
23+ - Auto-detects format from asset filename
24+ - Enhanced ` downloadAndExtractZip() ` to use generic archive helpers
25+ - Supports ZIP, TAR, TAR.GZ, and TGZ assets
26+ - ` downloadAndExtractArchive() ` - Generic archive download and extraction
27+
28+ ### Changed
29+
30+ - ** dependencies** : Deduplicated 14 external bundle packages to single versions using pnpm overrides and patches
31+
832## [ 5.7.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v5.7.0 ) - 2026-02-12
933
1034### Added
0 commit comments