Repository navigation
6.2.8
π§β¨π(mermaid, plantuml, docs, hooks): Update Diagram Tools, Error Handling, and Pre-commit Docs
Update Mermaid and PlantUML command options, improve error handling for file processing, and add documentation for pre-commit hooks. Enhance user feedback and maintain code quality.
1. π§ Diagram Tool Updates
- Update PlantUML version from 3.0 to 3.1 in configuration files and command output.
- Change Mermaid CLI option from
--outputFormatto--formatfor consistency. - Refactor argument handling in
mermaid-options.shfor improved option parsing.
2. π Error Handling Improvements
- Add checks in
mermaid-main.shandplantuml-main.shto handle cases where no files are provided. - Display clear, informative messages when no files are detected in the repository.
- Enhance user feedback and command reliability for diagram processing.
3. π οΈ Docker Image Handling
- Log information when pulling the latest PlantUML Docker image.
- Ensure the latest image is pulled if necessary for up-to-date processing.
4. β¨ Documentation
- Add new documentation for pre-commit hooks, detailing available hooks and usage.
- Update README and index files to include links to pre-commit hooks documentation.
- Ensure documentation reflects changes in command usage and options.
5. π§ Pre-commit Hooks
- Fix Mermaid converter types for pre-commit hook configuration.
- Provide usage instructions for integrating hooks into
.pre-commit-config.yaml.
Full Changelog: 6.2.6...6.2.8