Release v2.3: Internal Code Refactoring
🔧 Version 2.3 - Internal Code Refactoring
This release focuses on internal code improvements to make the codebase more maintainable and prepare for v3.0 features. No user-facing changes - the extension works exactly the same as v2.2!
🏗️ Architecture Improvements
Refactored monolithic analyzer.js (350+ lines) into modular architecture:
-
src/core/- Core functionalityconfig.js- Centralized configuration and scoring weightsanalyzer.js- Main orchestrator coordinating all detectorsscoring.js- Classification and confidence calculation
-
src/detectors/- Specialized detection modulescontent-detector.js- HTML content structure analysisframework-detector.js- Framework and hydration detectionmeta-detector.js- Meta tags and SEO analysisperformance-detector.js- Performance metrics analysis
-
src/ui/components/- UI renderingresults-renderer.js- Results display and formatting
All modules are bundled into src/analyzer-bundle.js for deployment.
🐛 Bug Fixes
- Fixed script injection guard to prevent redeclaration errors on repeated injections
- Improved error handling in module loading
📝 Version Updates
- Bumped version to 2.3 in
manifest.json - Updated popup footer to show v2.3
- Updated README.md version badge
- Added comprehensive CHANGELOG.md entry
🎯 Benefits
- Better maintainability - Each module has a single, clear responsibility
- Easier testing - Modules can be tested independently
- Faster feature development - Clean architecture for v3.0 features
- Better code organization - Easy to find and modify specific functionality
🚀 What's Next?
This refactoring prepares the codebase for v3.0 which will include:
- Settings page with customization options
- Dark mode support
- Export functionality (JSON, CSV, Markdown)
- Framework version detection (e.g., "React 18.2.0")
- Web Vitals metrics and recommendations
📦 Installation
Chrome Web Store: CSR vs SSR Detector
For Developers: Download chrome-ssr-csr-v2.3.zip and load unpacked in Chrome
🙏 Thank You
Thank you to everyone using this extension! Feedback and contributions are always welcome.
Full Changelog: https://github.com/dzienisz/chrome-ssr-csr/blob/main/CHANGELOG.md