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.
- Type-based
debugScanmodifier 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
- New overload:
- Enhanced documentation for both string-based and type-based
debugScanvariants with cross-references
- Comprehensive test suite with 800+ lines of test code
FileParsingTests.swiftfor file parsing functionality testingIntegrationTests.swiftfor end-to-end integration testingRenderStateTests.swiftfor render state tracking verificationStringDemanglingTests.swiftfor Swift symbol demangling validationViewInspectorTests.swiftfor SwiftUI view testing using ViewInspector framework
- Project governance and documentation
- MIT
LICENSEfile CODE_OF_CONDUCT.mdfor community guidelinesCONTRIBUTING.mdwith detailed contribution guidelines and development setup
- MIT
- ViewInspector dependency (0.10.3) for enhanced SwiftUI testing capabilities
- 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
- ViewInspector dependency from 0.10.2 to 0.10.3
- GitHub Actions checkout action from v4 to v5
- CodeCov action from v4 to v5
- Unused security workflow and CI setup documentation files
- Failing integration test on CI environment
- Various README content corrections and improvements
- Initial release of
SwiftUIDebugScan. - Introduced the
debugScanview modifier for logging and tracking SwiftUI view rendering. - Added support for verbose logging via the
SWIFTUI_DEBUG_SCAN_VERBOSEenvironment variable. - Included
RenderStateactor for tracking render counts.