Skip to content

Commit b4d7186

Browse files
Nolin NaidooNolin Naidoo
authored andcommitted
Initial release v1.7.0 - Zero-hassle secrets detection and sanitization
- Version updated to 1.7.0 (from 0.1.0) - Updated CHANGELOG for initial release with comprehensive feature documentation - Updated README to match paths-le structure exactly - Added build badge before vulnerabilities badge - Removed false claims (optimized for speed, time saved metrics) - Added real metrics: 17 unit tests across 1 test file - Fixed vitest config to include spec files - Updated performance section with factual statements - Fixed GitHub token example in README (marked as example pattern) - Added --allow-package-secrets flag to package script - All checks passing: lint ✅ typecheck ✅ tests ✅ package ✅
1 parent 6f9d6ed commit b4d7186

34 files changed

Lines changed: 2064 additions & 3065 deletions

.vscode/launch.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"args": [
9+
"--extensionDevelopmentPath=${workspaceFolder}"
10+
],
11+
"outFiles": [
12+
"${workspaceFolder}/dist/**/*.js"
13+
],
14+
"preLaunchTask": "${defaultBuildTask}",
15+
"sourceMaps": true
16+
},
17+
{
18+
"name": "Extension Tests",
19+
"type": "extensionHost",
20+
"request": "launch",
21+
"args": [
22+
"--extensionDevelopmentPath=${workspaceFolder}",
23+
"--extensionTestsPath=${workspaceFolder}/dist/test/suite/index"
24+
],
25+
"outFiles": [
26+
"${workspaceFolder}/dist/**/*.js"
27+
],
28+
"preLaunchTask": "${defaultBuildTask}"
29+
}
30+
]
31+
}
32+

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "shell",
6+
"command": "bun run build",
7+
"group": {
8+
"kind": "build",
9+
"isDefault": true
10+
},
11+
"problemMatcher": "$tsc",
12+
"label": "bun: build",
13+
"detail": "bun run build"
14+
}
15+
]
16+
}
17+

CHANGELOG.md

Lines changed: 85 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,107 @@
11
# Changelog
22

3-
All notable changes to this extension will be documented here.
3+
All notable changes to Secrets-LE will be documented here.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.1.0] - YYYY-MM-DD
8+
## [1.7.0] - 2025-11-02
99

10-
### Initial Release
10+
### Initial Public Release
1111

12-
First version of {{DisplayName}}-LE.
12+
Secrets-LE brings zero-hassle secrets detection and sanitization to VS Code. Simple, reliable, focused.
1313

14-
#### Features
14+
#### Core Features
1515

16-
- Core extraction functionality
17-
- Safety checks for large files
18-
- Performance monitoring
19-
- Localization support (13+ languages)
20-
- Enterprise-grade error handling
21-
- Status bar integration
22-
- Configurable settings
16+
- **Automatic Secret Detection** - Detects 15+ types of secrets automatically:
17+
- AWS Access Keys (`AKIA...`)
18+
- AWS Secret Keys
19+
- Azure keys and connection strings
20+
- GCP service account keys
21+
- GitHub Personal Access Tokens (`ghp_...`)
22+
- JWT tokens
23+
- OAuth tokens
24+
- Bearer tokens
25+
- Plaintext passwords
26+
- Database connection strings
27+
- Private keys (RSA, ED25519, PGP)
28+
- Generic API keys
29+
- And more
30+
- **Sanitization** - Replace detected secrets with safe placeholders:
31+
- Configurable replacement text
32+
- Preserves file structure
33+
- Side-by-side or clipboard copy output
34+
- **Configurable Sensitivity** - Adjust detection levels:
35+
- Low, Medium, High sensitivity
36+
- Enable/disable specific secret types
37+
- Reduce false positives
38+
39+
#### Supported File Types
40+
41+
Secrets-LE works universally on any text file format:
42+
- **Programming Languages**: JavaScript, TypeScript, Python, Ruby, Go, Rust, Java, C/C++, C#, PHP, Swift, Kotlin
43+
- **Data Formats**: JSON, YAML, TOML, XML, CSV
44+
- **Web**: HTML, CSS, SCSS, LESS, Sass
45+
- **Configuration**: .env, .ini, .cfg, .conf
46+
- **Documentation**: Markdown, Plain Text, Log Files
47+
- **Shell Scripts**: Bash, Zsh, PowerShell, Batch
48+
49+
#### Advanced Features
50+
51+
- **Security-First Design**:
52+
- 100% local processing (no data leaves your machine)
53+
- GitGuardian-level detection without cloud dependency
54+
- Pre-commit check support
55+
- Security audit capabilities
56+
- **Performance**:
57+
- Fast scanning with regex-based detection
58+
- Efficient processing of large files
59+
- Memory-optimized operations
60+
- **Safety Features**:
61+
- Binary file detection
62+
- File size warnings (configurable thresholds)
63+
- Output limits to prevent excessive memory usage
64+
- Automatic safety checks
65+
66+
#### Commands
67+
68+
- **Detect Secrets** (`Cmd/Ctrl+Alt+S`) - Scan for secrets in current document
69+
- **Sanitize Secrets** - Replace detected secrets with safe placeholders
70+
- **Open Settings** - Quick access to configuration
71+
- **Help & Troubleshooting** - In-editor documentation
72+
- **Export/Import/Reset Settings** - Manage extension configuration
73+
74+
#### Configuration
75+
76+
- Detection sensitivity (low, medium, high)
77+
- Secret type filters (API keys, passwords, tokens, private keys)
78+
- Sanitization replacement text
79+
- Deduplication options
80+
- Output preferences (side-by-side, clipboard copy)
81+
- Safety thresholds (file size, output limits)
82+
- Notification levels (silent, important, all)
83+
- Status bar visibility
84+
- Local telemetry logging
2385

2486
#### Infrastructure
2587

26-
- TypeScript strict mode
27-
- Comprehensive testing with Vitest
28-
- Code quality with Biome
29-
- Full i18n support
30-
- Factory-based service architecture
31-
- Immutable data structures
88+
- **TypeScript** - Strict mode with comprehensive type safety
89+
- **Testing** - Unit tests with Vitest
90+
- **Code Quality** - Biome for linting and formatting
91+
- **Localization** - English language support (13 languages coming in v1.8.0)
92+
- **Factory-based Architecture** - Dependency injection and service factories
93+
- **Immutable Data Structures** - All exports frozen with `Object.freeze()`
94+
- **Error Handling** - Enterprise-grade error categorization and recovery
3295

3396
#### Performance
3497

35-
- Efficient processing of large files
98+
- Built-in performance monitoring
99+
- Configurable thresholds
100+
- Efficient secret detection
36101
- Memory-optimized operations
37-
- Built-in performance thresholds
38102

39103
#### Privacy
40104

41105
- 100% local processing
42106
- No data collection
43-
- Optional local-only telemetry logging
107+
- Optional local-only telemetry logging to Output panel

0 commit comments

Comments
 (0)