Release v1.2.3
New Features
- Mock Data Generators:
- Add IP address generator supporting both IPv4 and IPv6 formats (
@ip) - Add username generator with customizable options (
@username) - Include comprehensive test coverage for new generators
- Add IP address generator supporting both IPv4 and IPv6 formats (
Improvements
-
UI State Persistence:
- Implement UI panel position and size persistence across sessions
- Added
saveUiStateandloadUiStateutilities insrc/core/utils/local.ts - Dashboard state now remembers window position and dimensions
-
Enhanced JSON Editor:
- Increased size of code folding gutter markers for better visibility
- Added readonly, maxHeight, and language support to JsonEditor
- Integrated JsonEditor into NetworkDetail for formatted JSON viewing
- Fixed JSON folding functionality for improved code navigation
-
Network Detail View:
- Upgraded NetworkDetail component with enhanced JSON formatting
- Better display of request/response data with proper formatting
- Improved tab organization and visibility
-
Core Utilities:
- Consolidated JSON formatting into a single
formatJSONutility function - Replaced
formatRequestPayloadandformatHeaderswith unified approach - Added support for Headers object formatting
- Consolidated JSON formatting into a single
-
Visual Enhancements:
- Optimized main.ts styling for better visual presentation
- Improved Container component resize handle width
- Enhanced RuleEditor with better UX features
- Fixed delete SVG icon display issues
Bug Fixes
- Editor Folding: Fixed the bug causing JSON code folding to not work properly in the editor
- UI State Initialization: Improved robustness of UI state initialization with better type safety
- Filter Reset: Fixed filter reset behavior on page refresh
📦 NPM Package: pocket-mocker@1.2.3