Skip to content

6.2.8

Choose a tag to compare

@fchastanet fchastanet released this 15 Mar 12:06
· 43 commits to master since this release

πŸ”§βœ¨πŸ›(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 --outputFormat to --format for consistency.
  • Refactor argument handling in mermaid-options.sh for improved option parsing.

2. πŸ› Error Handling Improvements

  • Add checks in mermaid-main.sh and plantuml-main.sh to 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