Repository navigation
Releases
Releases · dewasemadi/mobile-devtools
v1.6.3
Changed & Refactored
- Refactored
shakeToToggleGesture API:- Removed standalone
shakeThresholdconfiguration in favor of unified object options:shakeToToggle={{ enabled: boolean, threshold: number }}(or booleanshakeToToggle={true}). - Exported
ShakeToToggleConfiginterface for consumer TypeScript applications.
- Removed standalone
- Props & JSDoc Documentation Refinement:
- Cleaned up, formatted, and added comprehensive JSDoc annotations with
@defaultand@exampledescriptions across component props and TypeScript interfaces (DevToolsOptions,DevToolsTheme,InterceptorConfig,PrivacyConfig).
- Cleaned up, formatted, and added comprehensive JSDoc annotations with
v1.6.2
Fixed & Improved
- NPM Package Best Practices & Tree-Shaking:
- Added
"sideEffects": falsetopackage.jsonto enable optimal tree-shaking for consumer bundlers (Vite, Webpack, Rollup). - Updated
repository.urlformat to standardgit+https://...specification. - Resolved all
publintpackage validation checks (All good!).
- Added
- Storage Tab Inline Editing & Event Propagation:
- Fixed an issue where pressing
Escapeduring inline Storage value editing mistakenly saved changes due to unmountblurevents. Added anisHandledguard to distinguish betweencommitandcancel. - Added
e.stopPropagation()onEscapeandEnterkeydown events inside Storage edit inputs, preventing the keydown event from bubbling up towindowand unintentionally closing the main DevTools drawer overlay when cancelling an edit. - Added auto-selection (
editInput.select()) on click-to-edit for seamless text replacement. - Added
aria-label="Edit value for ${item.key}"accessibility attribute for screen readers.
- Fixed an issue where pressing
- Unit Test Coverage Expansion:
- Added unit test coverage for Storage inline cell editing, verifying Escape key cancellation, storage immutability on cancel, and
stopPropagationkeydown event assertion instorage-tab.test.ts.
- Added unit test coverage for Storage inline cell editing, verifying Escape key cancellation, storage immutability on cancel, and
v1.6.1
Added
- Search Input Clear Button (
[x]): Added a reusablecreateSearchInputcomponent with a clean, transparent×clear icon. Tapping×immediately resets input values, updates filtered lists, and maintains input focus. Integrated across Console, Network, Storage, and Elements tabs with 100% unit test coverage (search-input.test.ts). - Dynamic Accent Color Alpha (
color-mix): Replaced static hardcoded RGBA values with CSScolor-mix(in srgb, var(--dev-accent) N%, transparent). Focus ring outlines (35% opacity) and active selection states (15% opacity) now dynamically adapt to any custom--dev-accentcolor configured by consumers. - Manifest Author Metadata: Added
"author": "I Dewa Putu Semadi"to package manifests.
Fixed & Improved
- WAI-ARIA & Keyboard Navigation (A11y):
- Added
:focus-visible&:focusring indicators across interactive buttons, tabs, inputs, and select controls. - Added
aria-labelattributes to icon buttons in Console, Network, and Storage tabs. - Added
role="dialog",aria-modal="true", andEscapekey close listener to the drawer overlay. - Added
role="button"andEnter/Spacekeyboard triggers to the floating badge.
- Added
- DOM Tree & Attributes Filtering (Elements Tab):
- Fixed DOM Tree filtering: searching tag names, IDs (
#app), classes (.btn), text content, or attributes now dynamically filters nodes and automatically expands parent nodes. - Fixed Attributes view filtering for element attribute names and values.
- Repositioned
Attributes (<body>)section header to align title on the left and[ + ]button on the right (.devtools-section-header). - Increased Inspect Element icon size to
20pxfor enhanced touch clarity.
- Fixed DOM Tree filtering: searching tag names, IDs (
- Storage Table Layout & Overflow:
- Applied
table-layout: fixedandword-break: break-all/overflow-wrap: anywhereto.devtools-table. - Resolved an issue where long storage keys (e.g.
cache:https://...) expanded the key column and pushed Value and Action columns off-screen.
- Applied
- Network Tab Detail Action Button:
- Updated action button label from
Copy RequesttoSummary([ cURL ]&[ Summary ]->[ ✓ Copied ]).
- Updated action button label from
- Focus Ring & Select Dropdown Layout:
- Combined
outline: nonewith roundedbox-shadowrings to eliminate rectangular outline cut-offs onborder-radius: 6pxcontrols. - Introduced
.devtools-toolbar-rownegative margin offsets to align search inputs, action buttons, and select dropdowns to exact pixel boundaries without clipping focus rings.
- Combined
- Documentation & Screenshots:
- Updated README Showcase galleries to display 6 symmetric high-DPI iOS Safari screenshots (
01-console-light.pngthrough06-system-light.png).
- Updated README Showcase galleries to display 6 symmetric high-DPI iOS Safari screenshots (
v1.6.0
Added
- Pluggable
renderBadgeCustom Callback: AddedrenderBadge?: (container: HTMLElement, props: BadgeRenderProps) => voidconfiguration option. Consumers can now completely craft their own inner HTML/DOM structure for the floating badge. BadgeRenderPropsHelper API: ProvidedunreadErrors,unreadWarnings,unreadTotal,isOpen,toggle(),open(), andclose()helper methods directly torenderBadgecallback.- Drag-and-Drop & Snapping Preservation:
renderBadgecustom DOM renders inside.devtools-badgecontainer, preserving 100% of pointer drag gestures, viewport bounds clamping, and magnetic edge snapping (autoSnapBadge).
Fixed & Improved
- Custom Raw CSS Injection: Replaced legacy
DevToolsStylesobject withstyles?: string, allowing consumers to inject raw CSS strings directly into Shadow DOM root targeting.devtools-badge,:hover,.devtools-tab-btn.active, etc. - Native Browser Image Drag Prevention: Applied
pointer-events: none,-webkit-user-drag: none, anduser-select: noneto image elements inside.devtools-badgeto prevent native browser image drag interference during touch drag gestures. - Documentation & Web App API Table: Synchronized all guides, README files, and live web portal API Reference table with the new
styles?: stringandrenderBadgespecifications.
v1.5.2
Fixed & Improved
- Theme Mode & Badge Position Persistence: Fixed an issue where saved theme preference (
__mobile_devtools_theme__) and badge position (__mobile_devtools_position__) inlocalStoragewere overridden back to initial config defaults whenupdateConfig()ran during framework component mounts (ReactuseEffect, Vue watcher, or SPA page reloads). - Mobile & Desktop Input Touch Scroll: Resolved a scroll lock issue where horizontal text panning and caret selection inside input fields (
.devtools-search-input,.devtools-attr-input) were blocked on mobile touch devices and Chrome Desktop. - Directional Scroll Lock Guard: Refined
setupScrollLockGuardwith directional touch detection to prevent scroll jamming across Chrome Desktop emulation and mobile touch viewports while isolating host page bounce. - Attributes Input & Add Button UI: Aligned
.devtools-attr-inputstyling to 32px height matching standard search inputs and action buttons, and repositioned the "Add Attribute" (+) button to the far right of the attributes toolbar header.
v1.5.1
Added
- Live Mobile WebView URL Inspector: System Tab support for inspecting and copying the current active page URL (
window.location.href), designed specifically for Mobile WebViews (iOSWKWebView, AndroidWebView, Gojek/Grab/Instagram in-app browsers). - Real-time SPA Route Tracking:
LocationManagerautomatically tracks Single-Page Application (SPA) route changes in real time across React Router, Vue Router, and SvelteKit viapopstate,hashchange, and history method interception (pushState,replaceState). - Icon-Only Action Buttons: Updated Copy URL and Copy Info actions in System Tab to clean icon-only buttons with instant
✓toast feedback.
Fixed & Improved
- IndexedDB Empty State Recursion Freeze: Fixed an infinite re-render loop in
StorageTabViewthat froze the drawer when switching toindexedDBon origins with zero databases. - System Tab Scrollability: Fixed an issue where
SystemTabViewcontent could not be scrolled by applyingoverflowY: 'auto'andflex: 1. - NPM Package Footprint: Simplified
"files": ["dist"]inpackage.jsonand setpublicDir: falseinvite.config.ts, keepingnode_modulesfootprint ultra-lean (~153 kB).
v1.4.0
Added
- IndexedDB Database & Object Store Inspector: Complete Storage Tab support for inspecting and editing IndexedDB databases, object stores, and records alongside LocalStorage, SessionStorage, and Cookies.
- Unified Network Status Breakdown & Class Filters: Added HTTP status code class filters (
2xx Success,3xx Redirect,4xx Client Error,5xx Server Error,1xx Info,Network Error) and unified sorting (Newest,Oldest,Slowest,Fastest) in the Network Tab. - Automated Light Mode Mobile Screenshots: Added Playwright automated screenshot generator script (
pnpm generate:screenshots) capturing high-res Retina @3x iPhone 14/15 Pro Max Light Mode viewports with simulated iOS Status Bar and Mobile Safari Address Bar. - Svelte 4/5 Monorepo Example App: Added
examples/sveltetest harness app on Port3003to test Svelte integration end-to-end alongside React (3001), Vue (3002), and Vanilla (3004). - Tailwind CSS ESLint & Prettier Integration: Configured
eslint-plugin-tailwindcssandprettier-plugin-tailwindcssflat configs across monorepo packages.
Fixed & Improved
- Node & pnpm Requirements: Standardized Node.js minimum requirement to
>= 24.0.0(Node 24.4.1+ recommended) and pnpm9.15.0. shakeToToggleDocumentation: Updated configuration references inREADME.md,packages/mobile-devtools/README.md, and web portal landing page API table.- Vite Cloudflare Compatibility: Added environment variable flag (
NO_CLOUDFLARE=true) to cleanly bypass Cloudflare plugin during local screenshot and dev automation runs.
v1.3.0
Added
- Svelte 4/5 Framework Adapter: Added first-class Svelte adapter (
mobile-devtools/svelte) with reactive store support (mobileDevTools),useMobileDevTools()action directive, andpeerDependenciesdeclarations. - Real-time EventSource (SSE) Stream Interception: Intercepts native SSE streams (
text/event-stream), custom event listeners (es.addEventListener(...)), and streams live payload updates directly to the Network tab. - WebSocket Real-time Frame Interception: Captures incoming and outgoing WebSocket frames with live payload inspection and real-time tab frame counter updates.
shakeToTogglePhysical Motion Gesture: Toggle the DevTools overlay by shaking physical mobile devices. Built with a low-pass gravity filter sensor fusion and seamless iOS Safari permission request handling.- Smart Scroll Preserving & Auto-scroll: Preserves exact list scroll position when inspecting past logs/frames during fast live streaming, and auto-scrolls to bottom when monitoring live activity.
- Full TSDoc/JSDoc Annotations: Comprehensive IDE hover tooltips,
@defaultvalues, and@examplecode blocks across all types,DevToolsConfig, and utility functions.
Fixed & Improved
- Badge Count Cap: Standardized all unread count badges and counter labels to cap at
99+. - Crypto-based
generateId(prefix): Created collision-free ID generator usingcrypto.randomUUID()with fallback. - Style Source of Truth: Consolidated badge custom styling to
config.styles?.badgeand removed redundant top-levelbadgeStyleprop. - Dead Code Cleanup: Audited
apps/web/srcand removed unusedDevToolsWrappercomponent.
v1.2.0
Added
- Background Scroll Locking: Prevents body scrolling when DevTools drawer overlay is open.
- Framework Adapter Tests: Added comprehensive unit test suites for React (
react.test.tsx) and Vue (vue.test.ts) adapters. - Web App E2E Test Suite: Added Playwright E2E coverage for Elements, Network, Storage, and Theme System interactions.
Fixed & Improved
- Vue Adapter Hook: Resolved TypeScript narrowing issue on
useMobileDevTools()return type in strict mode. - Network & Storage Tab Formatting: Enhanced HTTP status pills, response time indicators, JSON response headers formatting, and item action buttons.
- Console & Storage Utilities: Added clipboard copy and export capabilities with dedicated unit tests.
v.1.0.2
Added
- UI Showcase: Added high-resolution screenshots for Console, Network, Elements, Storage, and System Info tabs in
README.md. - Shared URL Constants: Centralized project URLs (
SITE,GITHUB,NPM) in@/shared/constantsfor consistent consumer navigation. robots.txt: Addedrobots.txtwith Sitemap reference for web application SEO.
Fixed & Improved
- Cloudflare Deployment: Resolved asset upload infinite redirect loop by removing redundant
_redirectsfile and switching build script to Node 24 support. - Dynamic Versioning: Replaced hardcoded version strings in Web UI footer with dynamic
VERSIONimport frommobile-devtools. - Git & Build Hygiene: Ignored
.wranglerstate directory in.gitignoreand untracked build artifacts.