JSON Viewer v0.20.0 - Enhanced with Auto Dark Mode
🎉 New Features
🌙 Automatic Dark Mode Detection
- Smart theme selection: Automatically detects your system's dark/light mode preference
- Default theme is now "auto": New users get automatic theme switching out of the box
- Cobalt theme for dark mode: Beautiful dark theme automatically applied in dark mode
- User choice preserved: Manual theme selection always overrides auto-detection
📄 JSONL (JSON Lines) Support
- Complete JSONL format support: Now handles
.jsonlfiles and JSON Lines format - Automatic detection: Seamlessly detects and parses JSONL content
- Array conversion: Converts JSONL to array format for easy viewing
📋 Enhanced Copy Functionality
- Multiple export formats: JSON, Formatted JSON, Compact JSON, CSV, URL Parameters
- Smart menu positioning: Copy menu intelligently positions to stay on-screen
- Improved user experience: Click the copy button to see all available formats
🔧 Technical Improvements
🛡️ Chrome Manifest V3 Migration
- Modern extension architecture: Fully migrated to Manifest V3
- Service worker implementation: Background scripts now use service workers
- Enhanced security: Improved permissions and security model
🔒 Security & Compliance
- CSP violations fixed: All Content Security Policy issues resolved
- No inline scripts: Replaced all inline event handlers with addEventListener
- Secure CSS injection: Improved CSS loading mechanism
- Chrome storage API: Proper storage handling for Manifest V3
🏠 Local File Access
- Helpful guidance: Clear instructions when file access permissions are needed
- Automatic detection: Detects when local file access isn't enabled
- User-friendly messaging: Step-by-step instructions for enabling file access
🐛 Bug Fixes
- Fixed theme persistence issues
- Resolved options page loading problems
- Fixed deprecated API usage (chrome.extension.getURL → chrome.runtime.getURL)
- Improved error handling and logging
- Better build system compatibility
🚀 Performance
- Cleaner build process
- Reduced debug output
- Improved CSS loading
- Better memory management
Installation: Download the zip file and load as unpacked extension in Chrome
Full Changelog: v0.18.1...v0.20.0