File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,24 @@ 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+ ## [ 2.5.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v2.5.0 ) - 2025-10-28
9+
10+ ### Added
11+
12+ - ** Process locking utilities** : Added ` ProcessLockManager ` class providing cross-platform inter-process synchronization using file-system based locks
13+ - Atomic lock acquisition via ` mkdir() ` for thread-safe operations
14+ - Stale lock detection with automatic cleanup (default 10 seconds, aligned with npm's npx strategy)
15+ - Exponential backoff with jitter for retry attempts
16+ - Process exit handlers for guaranteed cleanup even on abnormal termination
17+ - Three main APIs: ` acquire() ` , ` release() ` , and ` withLock() ` (recommended)
18+ - Comprehensive test suite with ` describe.sequential ` for proper isolation
19+ - Export: ` @socketsecurity/lib/process-lock `
20+
21+ ### Changed
22+
23+ - ** Script refactoring** : Renamed ` spinner.succeed() ` to ` spinner.success() ` for consistency
24+ - ** Script cleanup** : Removed redundant spinner cleanup in interactive-runner
25+
826## [ 2.4.0] ( https://github.com/SocketDev/socket-lib/releases/tag/v2.4.0 ) - 2025-10-28
927
1028### Changed
Original file line number Diff line number Diff line change 11{
22 "name" : " @socketsecurity/lib" ,
3- "version" : " 2.4 .0" ,
3+ "version" : " 2.5 .0" ,
44 "license" : " MIT" ,
55 "description" : " Core utilities and infrastructure for Socket.dev security tools" ,
66 "keywords" : [
You can’t perform that action at this time.
0 commit comments