Skip to content

Commit 2ee5669

Browse files
committed
docs: update v3.0.5 changelog with comprehensive release notes
Reorganized changelog entry with proper Keep a Changelog sections: ### Fixed - Critical prompts API restoration ### Added - Theme integration for prompts (automatic styling) - Theme parameter support for Logger, Prompts, and text effects - createInquirerTheme() export for testing ### Removed - Unused index entrypoint (breaking change with migration path) ### Changed - Lazy require cleanup (hoisted theme imports) All changes clearly documented with examples and migration instructions.
1 parent cbaa839 commit 2ee5669

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
- Answers and highlights styled with `colors.primary`
2525
- Error messages styled with `colors.error`
2626
- Success indicators styled with `colors.success`
27-
- Consistent visual experience with Logger and Spinner theme integration
2827
- Exported `createInquirerTheme()` function for converting Socket themes to @inquirer format
28+
- Consistent visual experience with Logger and Spinner theme integration
2929

30-
- **Theme parameter support**: Logger, Spinner, Prompts, and text effects now accept `theme` parameter
30+
- **Theme parameter support**: Logger, Prompts, and text effects now accept optional `theme` parameter
3131
- Pass theme names (`'socket'`, `'sunset'`, `'terracotta'`, `'lush'`, `'ultra'`) or Theme objects
32-
- Logger: `new Logger({ theme: 'sunset' })` - uses theme-specific symbols
33-
- Spinner: `new Spinner({ theme: 'lush' })` - uses theme colors for spinner and text
34-
- Prompts: `await input({ message: 'Name:', theme: 'ultra' })` - uses theme for prompt styling
35-
- Text effects: `applyShimmer(text, state, { theme: 'terracotta' })` - uses theme for shimmer colors
36-
- Instance-specific themes override global theme context
32+
- **Logger**: `new Logger({ theme: 'sunset' })` - uses theme-specific symbol colors
33+
- **Prompts**: `await input({ message: 'Name:', theme: 'ultra' })` - uses theme for prompt styling
34+
- **Text effects**: `applyShimmer(text, state, { theme: 'terracotta' })` - uses theme for shimmer colors
35+
- Instance-specific themes override global theme context when provided
3736
- Falls back to global theme context when no instance theme specified
37+
- **Note**: Spinner already had theme parameter support in v3.0.0
38+
39+
### Removed
40+
41+
- **Unused index entrypoint**: Removed `src/index.ts` and package exports for `"."` and `"./index"`
42+
- This was a leftover from socket-registry and not needed for this library
43+
- Users should import specific modules directly (e.g., `@socketsecurity/lib/logger`)
44+
- Breaking: `import { getDefaultLogger } from '@socketsecurity/lib'` no longer works
45+
- Use: `import { getDefaultLogger } from '@socketsecurity/lib/logger'` instead
3846

3947
## [3.0.4](https://github.com/SocketDev/socket-lib/releases/tag/v3.0.4) - 2025-11-01
4048

0 commit comments

Comments
 (0)