Skip to content

Release v1.2.3

Choose a tag to compare

@github-actions github-actions released this 19 Dec 10:35
· 10 commits to main since this release

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

Improvements

  • UI State Persistence:

    • Implement UI panel position and size persistence across sessions
    • Added saveUiState and loadUiState utilities in src/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 formatJSON utility function
    • Replaced formatRequestPayload and formatHeaders with unified approach
    • Added support for Headers object formatting
  • 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