Releases: ivg-design/devMirror
Releases · ivg-design/devMirror
DevMirror v0.4.82
Fixed
- Multiple Instance Support: Fixed SingletonLock error preventing multiple DevMirror instances
- Each project now uses a unique Chrome profile directory
- Profile names include project name, path hash, and port for isolation
- Enables running DevMirror in multiple projects simultaneously
- Chrome Profile Errors: Fixed "Something went wrong when opening your profile" dialogs
- Added Chrome flags to disable first-run experience and profile checks
- Clean up stale lock files before launching Chrome
- Disabled unnecessary Chrome features that cause profile conflicts
Added
- Per-Project Profile Isolation: Chrome profiles are now isolated per project
- Profile directory format:
~/.devmirror/profiles/projectname-hash-port/ - Prevents profile conflicts between different projects
- Shows profile name in startup output for transparency
- Profile directory format:
- Stale Profile Cleanup: Added optional cleanup mechanism for unused profiles (disabled by default)
Changed
- Chrome profile directory structure moved from single
chrome-profile/toprofiles/with project isolation
DevMirror v0.4.81
Fixed
- Error Context Missing: Syntax errors now properly display file name and line number (e.g., "TButtonLit.js:8:1")
- Fixed extraction of file/line info from Runtime.exceptionThrown CDP events
- Corrected 0-based to 1-based line number conversion to match browser display
Added
- Configurable Debug Logging: Comprehensive debug system for diagnosing CDP protocol issues
- New debug configuration options: logExceptions, logConsoleAPI, logLogEntries, logRawCDP
- Optional logToFile to save debug output to current.log
- Optional logToConsole (default: true) to control terminal output
- Distinct [DEVMIRROR:DEBUG] prefix to differentiate from application debug messages
Changed
- Debug messages now clearly labeled with [DEVMIRROR:] prefix to distinguish from app debug output
- ConsoleEventHandler includes configurable debug logging methods
- CDPManager adds raw CDP event logging when debug mode is enabled
DevMirror v0.4.80
Fixed
- Package Dependencies: Rebuilt extension package with proper node_modules inclusion (fixed from 0.4.79)
Note
- Version 0.4.79 was accidentally published without dependencies - use 0.4.80 instead
DevMirror v0.4.79
Fixed
- Console.table() Formatting: Tables now display with proper ASCII box-drawing characters and all object properties as columns
- Array Expansion: Arrays of objects in console.table() now show full nested object data instead of just "Object" placeholders
- Table Alignment: Added "console.table() output" label and fixed indentation for proper alignment in log files
- CDP Preview Handling: Fixed buildObjectFromPreview to prioritize valuePreview data over placeholder values
Changed
- Console.table() output now displays as properly formatted ASCII tables with all columns
- Improved object reconstruction from Chrome DevTools Protocol preview data
- Cleaned up debug logging from ConsoleEventHandler
DevMirror v0.4.76
Fixed
- Array/Object Formatting: Arrays and objects with preview data now display as multi-line, indented JSON
- Folding Chevrons: Fixed double-indentation of stack traces that prevented folding chevrons from appearing
- Console Output: Improved readability with proper JSON formatting for complex data structures
- Stack Trace Format: Preserved original formatting to maintain VS Code's folding functionality
Changed
- Enhanced ConsoleEventHandler to format object previews as proper JSON
- Updated LogWriter to detect and preserve pre-formatted stack traces
DevMirror v0.4.75
Fixed
- Scripts Panel: Fixed (+) button to use shim path instead of hardcoded CLI path
- Package.json scripts created via panel now use relative path to shim
- Properly detects ESM packages and uses .cjs extension when needed
- Ensures scripts work correctly in both single-repo and monorepo setups
DevMirror v0.4.67
Added
- Auto-Installation for puppeteer-core - DevMirror now automatically installs puppeteer-core when missing
- Added to both CEFBridge and CDPManager
- Smart detection tries project node_modules first, then installs as needed
- Provides clear installation feedback and fallback instructions
Fixed
- CLI Path Resolution - Fixed VS Code extension CLI path from
/dist/cli.jsto/out/cli.js- Updated webpack output directory for compatibility
- Resolves "CLI not found" errors when running mirror scripts
- Maintains consistent build output structure
Improved
- Dual Dependency Architecture - Enhanced smart loading logic
- NPM users get full puppeteer-core capabilities (~324 files)
- VS Code users get optimized minimal bundle (~37 files)
- 96% extension file count reduction with no functionality loss
DevMirror v0.4.66
Added
- Deprecation Warnings Capture - Now captures browser deprecation warnings like declarative Shadow DOM messages
- New configuration option
captureDeprecationWarnings(default: true) - Conditionally enables Log domain in CDP mode when deprecation warnings are enabled
- Prevents duplicate console messages while allowing important browser warnings
- Configurable via VS Code settings or devmirror.config.json
- Works in both CDP and CEF modes with smart filtering
- New configuration option
Fixed
- Missing Browser Warnings - Previously missed important deprecation warnings from browser
- Shadow DOM declarative warnings now captured: "Found declarative shadowrootmode attribute..."
- Other deprecation warnings like "setHTMLUnsafe() or parseHTMLUnsafe()" now logged
- Maintains backward compatibility with existing duplicate prevention