Skip to content

Releases

v1.6.3

Choose a tag to compare

@dewasemadi dewasemadi released this 23 Aug 14:24
51cd5f6

Changed & Refactored

  • Refactored shakeToToggle Gesture API:
    • Removed standalone shakeThreshold configuration in favor of unified object options: shakeToToggle={{ enabled: boolean, threshold: number }} (or boolean shakeToToggle={true}).
    • Exported ShakeToToggleConfig interface for consumer TypeScript applications.
  • Props & JSDoc Documentation Refinement:
    • Cleaned up, formatted, and added comprehensive JSDoc annotations with @default and @example descriptions across component props and TypeScript interfaces (DevToolsOptions, DevToolsTheme, InterceptorConfig, PrivacyConfig).

v1.6.2

Choose a tag to compare

@dewasemadi dewasemadi released this 22 Aug 02:31
d232b97

Fixed & Improved

  • NPM Package Best Practices & Tree-Shaking:
    • Added "sideEffects": false to package.json to enable optimal tree-shaking for consumer bundlers (Vite, Webpack, Rollup).
    • Updated repository.url format to standard git+https://... specification.
    • Resolved all publint package validation checks (All good!).
  • Storage Tab Inline Editing & Event Propagation:
    • Fixed an issue where pressing Escape during inline Storage value editing mistakenly saved changes due to unmount blur events. Added an isHandled guard to distinguish between commit and cancel.
    • Added e.stopPropagation() on Escape and Enter keydown events inside Storage edit inputs, preventing the keydown event from bubbling up to window and 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.
  • Unit Test Coverage Expansion:
    • Added unit test coverage for Storage inline cell editing, verifying Escape key cancellation, storage immutability on cancel, and stopPropagation keydown event assertion in storage-tab.test.ts.

v1.6.1

Choose a tag to compare

@dewasemadi dewasemadi released this 21 Aug 01:26
2fdce25

Added

  • Search Input Clear Button ([x]): Added a reusable createSearchInput component 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 CSS color-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-accent color 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 & :focus ring indicators across interactive buttons, tabs, inputs, and select controls.
    • Added aria-label attributes to icon buttons in Console, Network, and Storage tabs.
    • Added role="dialog", aria-modal="true", and Escape key close listener to the drawer overlay.
    • Added role="button" and Enter / Space keyboard triggers to the floating badge.
  • 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 20px for enhanced touch clarity.
  • Storage Table Layout & Overflow:
    • Applied table-layout: fixed and word-break: break-all / overflow-wrap: anywhere to .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.
  • Network Tab Detail Action Button:
    • Updated action button label from Copy Request to Summary ([ cURL ] & [ Summary ] -> [ ✓ Copied ]).
  • Focus Ring & Select Dropdown Layout:
    • Combined outline: none with rounded box-shadow rings to eliminate rectangular outline cut-offs on border-radius: 6px controls.
    • Introduced .devtools-toolbar-row negative margin offsets to align search inputs, action buttons, and select dropdowns to exact pixel boundaries without clipping focus rings.
  • Documentation & Screenshots:
    • Updated README Showcase galleries to display 6 symmetric high-DPI iOS Safari screenshots (01-console-light.png through 06-system-light.png).

v1.6.0

Choose a tag to compare

@dewasemadi dewasemadi released this 20 Aug 02:08
af858ba

Added

  • Pluggable renderBadge Custom Callback: Added renderBadge?: (container: HTMLElement, props: BadgeRenderProps) => void configuration option. Consumers can now completely craft their own inner HTML/DOM structure for the floating badge.
  • BadgeRenderProps Helper API: Provided unreadErrors, unreadWarnings, unreadTotal, isOpen, toggle(), open(), and close() helper methods directly to renderBadge callback.
  • Drag-and-Drop & Snapping Preservation: renderBadge custom DOM renders inside .devtools-badge container, preserving 100% of pointer drag gestures, viewport bounds clamping, and magnetic edge snapping (autoSnapBadge).

Fixed & Improved

  • Custom Raw CSS Injection: Replaced legacy DevToolsStyles object with styles?: 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, and user-select: none to image elements inside .devtools-badge to 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?: string and renderBadge specifications.

v1.5.2

Choose a tag to compare

@dewasemadi dewasemadi released this 20 Aug 01:53
103dd0d

Fixed & Improved

  • Theme Mode & Badge Position Persistence: Fixed an issue where saved theme preference (__mobile_devtools_theme__) and badge position (__mobile_devtools_position__) in localStorage were overridden back to initial config defaults when updateConfig() ran during framework component mounts (React useEffect, 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 setupScrollLockGuard with 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-input styling 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

Choose a tag to compare

@dewasemadi dewasemadi released this 19 Aug 14:13

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 (iOS WKWebView, Android WebView, Gojek/Grab/Instagram in-app browsers).
  • Real-time SPA Route Tracking: LocationManager automatically tracks Single-Page Application (SPA) route changes in real time across React Router, Vue Router, and SvelteKit via popstate, 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 StorageTabView that froze the drawer when switching to indexedDB on origins with zero databases.
  • System Tab Scrollability: Fixed an issue where SystemTabView content could not be scrolled by applying overflowY: 'auto' and flex: 1.
  • NPM Package Footprint: Simplified "files": ["dist"] in package.json and set publicDir: false in vite.config.ts, keeping node_modules footprint ultra-lean (~153 kB).

v1.4.0

Choose a tag to compare

@dewasemadi dewasemadi released this 19 Aug 02:02
07c9612

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/svelte test harness app on Port 3003 to test Svelte integration end-to-end alongside React (3001), Vue (3002), and Vanilla (3004).
  • Tailwind CSS ESLint & Prettier Integration: Configured eslint-plugin-tailwindcss and prettier-plugin-tailwindcss flat configs across monorepo packages.

Fixed & Improved

  • Node & pnpm Requirements: Standardized Node.js minimum requirement to >= 24.0.0 (Node 24.4.1+ recommended) and pnpm 9.15.0.
  • shakeToToggle Documentation: Updated configuration references in README.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

Choose a tag to compare

@dewasemadi dewasemadi released this 17 Aug 10:01
a806b11

Added

  • Svelte 4/5 Framework Adapter: Added first-class Svelte adapter (mobile-devtools/svelte) with reactive store support (mobileDevTools), useMobileDevTools() action directive, and peerDependencies declarations.
  • 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.
  • shakeToToggle Physical 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, @default values, and @example code 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 using crypto.randomUUID() with fallback.
  • Style Source of Truth: Consolidated badge custom styling to config.styles?.badge and removed redundant top-level badgeStyle prop.
  • Dead Code Cleanup: Audited apps/web/src and removed unused DevToolsWrapper component.

v1.2.0

Choose a tag to compare

@dewasemadi dewasemadi released this 17 Aug 05:25
fb61939

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

Choose a tag to compare

@dewasemadi dewasemadi released this 17 Aug 01:50

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/constants for consistent consumer navigation.
  • robots.txt: Added robots.txt with Sitemap reference for web application SEO.

Fixed & Improved

  • Cloudflare Deployment: Resolved asset upload infinite redirect loop by removing redundant _redirects file and switching build script to Node 24 support.
  • Dynamic Versioning: Replaced hardcoded version strings in Web UI footer with dynamic VERSION import from mobile-devtools.
  • Git & Build Hygiene: Ignored .wrangler state directory in .gitignore and untracked build artifacts.