Repository navigation
tree2md v0.8.0
tree2md v0.8.0
Added
- Major Architecture Overhaul: Complete refactoring with modular architecture
- Multiple Output Formats:
- HTML tree visualization with interactive features
- Terminal output with progress animations and colors
- Enhanced Markdown rendering with multiple styles
- New Modules:
injection: Smart README injection and content updatingstamp: Provenance tracking with version, date, and commit infoprofile: Language-specific file type detection with emoji supportoutput: Statistics, link generation, and HTML tree creationrender: Flexible rendering pipeline for multiple output formatsterminal: Advanced terminal detection and animation capabilitiessafety: Preset configurations and content validation
- Enhanced CLI Options:
- New presets for common use cases (e.g.,
--preset rust,--preset python) --stampoption for adding metadata (version/date/commit)--output-formatfor choosing between markdown, html, and terminal--emojisupport for file type indicators--statsfor displaying file statistics--linksfor generating file links
- New presets for common use cases (e.g.,
- Comprehensive Test Suite:
- Complete test overhaul with modular integration tests
- Added tests for emoji, filtering, HTML output, links, presets, safety, and more
- Improved test fixtures and helper utilities
Changed
- Refactored Core Modules:
- Restructured
fs_treemodule with better separation of concerns - Improved
matcherengine with enhanced performance - Modularized content reading and I/O operations
- Restructured
- Enhanced Performance:
- Progress tracking for large directory traversals
- Optimized file reading with better memory management
- Improved glob pattern matching efficiency
- Better Error Handling: More informative error messages and validation
Fixed
- Improved path handling and normalization
- Enhanced glob pattern matching accuracy
- Better handling of edge cases in file traversal
Developer Experience
- Added
scripts/update-readme-embeds.shfor README maintenance - Improved code organization and modularity
- Better separation of concerns across modules
- Enhanced documentation and code comments
Full Changelog: v0.7.0...v0.8.0