Skip to content

Commit 061b00d

Browse files
committed
chore: release v3.0.0
- Theme system with AsyncLocalStorage - Remove deprecated APIs (pushTheme/popTheme, logger/spinner exports) - Rename promise retry options for clarity - DLX cross-platform enhancements
1 parent 9ed6865 commit 061b00d

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

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.0.0](https://github.com/SocketDev/socket-lib/releases/tag/v3.0.0) - 2025-11-01
9+
10+
### Added
11+
12+
- Theme system with 5 built-in themes: `socket`, `coana`, `socket-firewall`, `socket-cli-python`, `ultra`
13+
- `setTheme()`, `getTheme()`, `withTheme()`, `withThemeSync()` for theme management
14+
- `createTheme()`, `extendTheme()`, `resolveColor()` helper functions
15+
- `onThemeChange()` event listener for theme reactivity
16+
- `link()` function for themed terminal hyperlinks in `@socketsecurity/lib/links`
17+
- Logger and spinner now inherit theme colors automatically
18+
- Spinner methods: `enableShimmer()`, `disableShimmer()`, `setShimmer()`, `updateShimmer()`
19+
- DLX cross-platform binary resolution (`.cmd`, `.bat`, `.ps1` on Windows)
20+
- DLX CLI-style option names (`--save-metadata`, `--force`)
21+
22+
### Changed
23+
24+
- Theme context uses AsyncLocalStorage instead of manual stack management
25+
- Promise retry options renamed: `factor``backoffFactor`, `minTimeout``baseDelayMs`, `maxTimeout``maxDelayMs`
26+
27+
### Removed
28+
29+
**BREAKING CHANGES:**
30+
31+
- `pushTheme()` and `popTheme()` - use `withTheme()` or `withThemeSync()` instead
32+
- `logger` export - use `getDefaultLogger()` instead
33+
- `spinner` export - use `getDefaultSpinner()` instead
34+
- `download-lock.ts` - use `process-lock.ts` instead
35+
- Promise option aliases: `factor`, `minTimeout`, `maxTimeout`
36+
37+
---
38+
839
## [2.10.4](https://github.com/SocketDev/socket-lib/releases/tag/v2.10.4) - 2025-10-31
940

1041
### Added

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

0 commit comments

Comments
 (0)