Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 2.55 KB

File metadata and controls

56 lines (46 loc) · 2.55 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.3.0] - 2025-11-17

Added

  • Type-based debugScan modifier sibling function for type-safe view debugging
    • New overload: debugScan(_ label: (some View).Type) that derives labels from Swift types
    • Uses String(describing:) to automatically generate consistent debug labels from view types
    • Provides type-safety and refactor-resilience compared to manual string labels
    • Requires explicit type specification (e.g., Text.self, MyCustomView.self) to avoid Swift type inference issues
    • Comprehensive test coverage with 6 additional test cases covering type resolution, custom views, and explicit type specification
  • Enhanced documentation for both string-based and type-based debugScan variants with cross-references

[0.2.0] - 2025-10-28

Added

  • Comprehensive test suite with 800+ lines of test code
    • FileParsingTests.swift for file parsing functionality testing
    • IntegrationTests.swift for end-to-end integration testing
    • RenderStateTests.swift for render state tracking verification
    • StringDemanglingTests.swift for Swift symbol demangling validation
    • ViewInspectorTests.swift for SwiftUI view testing using ViewInspector framework
  • Project governance and documentation
    • MIT LICENSE file
    • CODE_OF_CONDUCT.md for community guidelines
    • CONTRIBUTING.md with detailed contribution guidelines and development setup
  • ViewInspector dependency (0.10.3) for enhanced SwiftUI testing capabilities

Changed

  • Improved README documentation with better formatting and clearer examples
  • Enhanced console output examples and debugScan usage demonstrations
  • Streamlined package configuration by removing library evolution setting

Updated

  • ViewInspector dependency from 0.10.2 to 0.10.3
  • GitHub Actions checkout action from v4 to v5
  • CodeCov action from v4 to v5

Removed

  • Unused security workflow and CI setup documentation files

Fixed

  • Failing integration test on CI environment
  • Various README content corrections and improvements

[0.1.0] - 2025-07-22

Added

  • Initial release of SwiftUIDebugScan.
  • Introduced the debugScan view modifier for logging and tracking SwiftUI view rendering.
  • Added support for verbose logging via the SWIFTUI_DEBUG_SCAN_VERBOSE environment variable.
  • Included RenderState actor for tracking render counts.