|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +## [0.2.0] - 2026-01-25 |
| 11 | + |
| 12 | +### Added |
| 13 | +- Added support for Fortinet FortiOS platform |
| 14 | +- Added `--format` option to output results in JSON, YAML, or text formats |
| 15 | +- Added `--output` / `-o` flag to save output to file |
| 16 | +- Added `list-platforms` command to show all available platforms |
| 17 | +- Added `version` command to display tool version |
| 18 | +- Added comprehensive error handling for file operations and platform validation |
| 19 | +- Added verbose logging support with `-v` (INFO) and `-vv` (DEBUG) flags |
| 20 | +- Added complete type hints throughout codebase |
| 21 | +- Added comprehensive test suite with 20+ test cases including: |
| 22 | + - Error handling tests |
| 23 | + - All platform tests |
| 24 | + - Output format tests (text, JSON, YAML) |
| 25 | + - File output tests |
| 26 | + - Verbose logging tests |
| 27 | +- Added comprehensive documentation: |
| 28 | + - Detailed README with installation instructions and examples |
| 29 | + - CONTRIBUTING.md with development guidelines |
| 30 | + - SECURITY.md with security policy |
| 31 | + - Examples directory with sample configurations |
| 32 | + - Integration examples for Nornir, Ansible, and CI/CD |
| 33 | +- Added development tools configuration: |
| 34 | + - Black formatter configuration |
| 35 | + - Ruff linter configuration |
| 36 | + - Mypy type checker configuration |
| 37 | + - Pytest with coverage reporting |
| 38 | +- Added `py.typed` marker file for PEP 561 compliance |
| 39 | + |
| 40 | +### Changed |
| 41 | +- **BREAKING**: Converted to proper Python package structure with `__init__.py` |
| 42 | +- **BREAKING**: Entry point now uses `hier_config_cli:cli` instead of module path |
| 43 | +- Refactored duplicate code in commands into shared `process_configs()` function |
| 44 | +- Fixed platform-specific output formatting (no longer hardcodes `cisco_style_text()` for all platforms) |
| 45 | +- Improved command help text with detailed descriptions and examples |
| 46 | +- Enhanced pyproject.toml with comprehensive metadata and classifiers |
| 47 | +- Updated Python version support to 3.9-3.13 |
| 48 | +- Improved error messages to be more descriptive and actionable |
| 49 | + |
| 50 | +### Fixed |
| 51 | +- Fixed incorrect output format for Juniper JunOS configurations |
| 52 | +- Fixed missing platform support for Fortinet FortiOS |
| 53 | +- Fixed lack of error handling for missing or unreadable configuration files |
| 54 | +- Fixed unused PyYAML dependency (now actively used for YAML output) |
| 55 | + |
| 56 | +### Removed |
| 57 | +- Removed code duplication across remediation, rollback, and future commands |
| 58 | + |
| 59 | +## [0.1.0] - 2024-12-XX |
| 60 | + |
| 61 | +### Added |
| 62 | +- Initial release |
| 63 | +- Basic remediation, rollback, and future commands |
| 64 | +- Support for major network platforms: |
| 65 | + - Cisco IOS |
| 66 | + - Cisco NX-OS |
| 67 | + - Cisco IOS XR |
| 68 | + - Arista EOS |
| 69 | + - Juniper JunOS |
| 70 | + - VyOS |
| 71 | + - HP Comware5 |
| 72 | + - HP ProCurve |
| 73 | + - Generic platform |
| 74 | +- GitHub Actions CI/CD pipeline |
| 75 | +- Basic test coverage |
| 76 | +- Apache 2.0 license |
| 77 | + |
| 78 | +[Unreleased]: https://github.com/netdevops/hier-config-cli/compare/v0.2.0...HEAD |
| 79 | +[0.2.0]: https://github.com/netdevops/hier-config-cli/compare/v0.1.0...v0.2.0 |
| 80 | +[0.1.0]: https://github.com/netdevops/hier-config-cli/releases/tag/v0.1.0 |
0 commit comments