·
10 commits
to master
since this release
๐ CSS & JS Minifier v1.1.0 - Major Release
โจ Key Features
๐ Internationalization Support
- 7 languages fully supported: English, Spanish, French, German, Portuguese, Japanese, Chinese Simplified
- Custom l10n fallback system for maximum reliability
- 30+ translated messages covering all user interactions
- Automatic language detection based on VS Code settings
๐ Size Reduction Statistics
- Real-time statistics showing original vs minified file sizes
- Percentage reduction display with human-readable format (KB/B)
- Configurable display via
showSizeReductionsetting - Works with both in-place and new file minification
๐ฆ Package Size Optimization
- 96.8% size reduction: From ~1.46 MB to 47.65 KB
- Ultra-fast installation for better user experience
- Icon optimization with oxipng (41KB โ 22KB, 46% reduction)
- Smart asset exclusion while preserving all functionality
๐ง Technical Improvements
๐๏ธ Architecture Enhancements
- Modular architecture with clear separation of concerns
- Enhanced error handling with detailed user feedback
- Custom l10n fallback when VS Code native l10n fails
- Notification system optimization preventing duplicate messages
๐งช Testing & Quality
- Comprehensive test suite with 29 tests covering all scenarios
- i18n test coverage with 20+ internationalization tests
- Automatic test cleanup with improved reliability
- VS Code tasks for efficient development workflows
๐ Bug Fixes
โ CSS nth-child Selector Minification - FULLY RESOLVED
- 41% size reduction confirmed on complex nth-child patterns
- Mathematical expressions work perfectly
- Selector filtering and complex combinations supported
- Comprehensive test coverage for all edge cases
๐ Notification System
- Fixed double notifications in manual minification commands
- Suppressed auto-save notifications while preserving manual feedback
- Parameter interpolation working correctly in all languages
๐ What's Included
๐ Supported Languages
- ๐บ๐ธ English (default)
- ๐ช๐ธ Spanish (Espaรฑol)
- ๐ซ๐ท French (Franรงais)
- ๐ฉ๐ช German (Deutsch)
- ๐ง๐ท Portuguese (Portuguรชs)
- ๐ฏ๐ต Japanese (ๆฅๆฌ่ช)
- ๐จ๐ณ Chinese Simplified (็ฎไฝไธญๆ)
โ๏ธ New Configuration Options
showSizeReduction- Toggle size statistics display (default: true)- Enhanced
autoOpenNewFile- Control file opening behavior - All existing configurations maintained and improved
๐ฆ Package Optimization Details
- Extension size: 47.65 KB (24 files included)
- Webpack bundle: 12.04 KB optimized code
- Optimized icon: 22.22 KB with transparency preserved
- Complete i18n: 16.79 KB for 7 languages
- Essential docs: README, CHANGELOG, LICENSE included
๐ Installation & Usage
Install from VS Code Marketplace or run:
code --install-extension miguel-colmenares.css-js-minifierQuick Start:
- Right-click any .css or .js file โ
Minify this File - Keyboard shortcut:
Ctrl+Alt+M(Windows/Linux) orCmd+Alt+M(macOS) - Auto-minify: Enable
minifyOnSavein settings - Language: Automatically uses your VS Code display language
๐ Performance Benefits
- 96.8% smaller package = 30x faster installation
- Optimized API calls with 5-second timeout handling
- Enhanced error messages in your preferred language
- Real-time feedback on file size optimization
๐ Migration from v1.0.0
โ
Fully backward compatible - no configuration changes needed
โ
Automatic language detection - works immediately
โ
All existing features preserved and enhanced
โ
New features enabled by default with smart defaults
๐ Acknowledgments
Special thanks to all users who reported issues and provided feedback to make this release possible. Your input helped us create a truly international and optimized extension.
Full changelog: CHANGELOG.md
Documentation: README.md
Issues & Support: GitHub Issues