Skip to content

Commit 19bab41

Browse files
committed
chore(release): prepare v3.2.1
Patch release with bug fixes and performance improvements.
1 parent 19460ff commit 19bab41

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,37 @@ 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+
## [3.2.1](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.1) - 2025-11-02
9+
10+
### Changed
11+
12+
- **Logger/Spinner**: Use module-level constants to prevent duplicate and rogue spinner indicators
13+
- Call `getDefaultLogger()` and `getDefaultSpinner()` once at module scope instead of repeated calls
14+
- Prevents multiple spinner instances that can cause duplicate or lingering indicators in terminal output
15+
- Applied in `src/dlx-manifest.ts`, `src/stdio/mask.ts`, and `src/spinner.ts`
16+
- Follows DRY principle and aligns with socket-registry/socket-sdk-js patterns
17+
18+
### Fixed
19+
20+
- **Scripts**: Fixed undefined logger variable in update script
21+
- Replaced undefined `log` references with `_logger` throughout `scripts/update.mjs`
22+
- Resolves ESLint errors that blocked test execution
23+
- **Tests**: Improved stdout test stability by checking call delta instead of absolute counts
24+
- Fixed flaky CI failures where spy call count was 101 instead of expected 100
25+
- More robust approach handles potential state leakage between tests
26+
- **Tests**: Removed unnecessary 10ms delay in cache-with-ttl test
27+
- Cache with memoization enabled updates in-memory storage synchronously
28+
- Delay was insufficient in CI and unnecessary given synchronous behavior
29+
- Resolves flaky CI failures where cached values returned undefined
30+
31+
## [3.2.0](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.0) - 2025-11-02
32+
33+
### Added
34+
35+
- **DLX**: Unified manifest for packages and binaries
36+
- Centralized manifest system for tracking DLX-compatible packages
37+
- Simplifies package and binary lookups for dependency-free execution
38+
839
## [3.1.3](https://github.com/SocketDev/socket-lib/releases/tag/v3.1.3) - 2025-11-02
940

1041
### Changed

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": "3.2.0",
3+
"version": "3.2.1",
44
"license": "MIT",
55
"description": "Core utilities and infrastructure for Socket.dev security tools",
66
"keywords": [

0 commit comments

Comments
 (0)