nodry
Version:
A CLI tool and Node.js library that warns about repetitive code to help you stay DRY.
88 lines (62 loc) • 2.81 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
## [1.0.6] - 2025-07-15
### Changed
- Refactored `analyze` function to use asynchronous file I/O with `fs.promises`.
- Improved performance and non-blocking behavior for file reading.
- Enhanced error handling with clearer messages for file access issues.
---
## [1.0.5] - 2025-07-15
### Added
- Released latest stable version with important fixes and improvements.
- Improved stability and error handling in version status checks.
- Clarified documentation and updated dependencies.
### Deprecated Notice
- Versions 1.0.3 and 1.0.4 are now deprecated due to identified stability issues and outdated implementation.
- Users are strongly encouraged to upgrade to 1.0.5 for best performance and latest features.
---
## [1.0.4] - 2025-07-14
### Deprecated
- Deprecated due to stability issues in version status handling and error reporting.
- Upgrade to 1.0.5 is recommended.
### Added
- Added initial tests for version status output and color-coded messages.
- Improved error handling in `versionStatus.js` for better stability during testing.
- Added instructions in README for manual and automated version status testing.
- Minor fixes and optimizations in the `postinstall` script.
---
## [1.0.3] - 2025-07-14
### Deprecated
- Deprecated due to limited error handling and incomplete version status feature.
- Upgrade to 1.0.5 recommended.
### Added
- Added dynamic version status check on `npm install` via `postinstall` script.
- Created `versionStatus.js` to display color-coded version warnings (Latest, Supported, Outdated, Deprecated) in the terminal.
- Added dependencies `latest-version` and `semver` to support version status feature.
- Improved user awareness about installed package version compared to latest on npm.
---
## [1.0.2] - 2025-07-13
### Added
- Introduced `CHANGELOG.md` file for tracking changes.
- Improved CLI help output with clearer descriptions.
- Updated package metadata (`author`, `license`, `repository`, `keywords`).
### Changed
- Minor internal refactoring for code readability.
- Improved UX for prompts in `nodry.js`.
---
## [1.0.1] - 2025-07-12
### Fixed
- Patched `package.json` to remove unused or test dependencies.
- Corrected CLI entry point to ensure global command works via `npx nodry`.
### Changed
- Updated README with installation and usage examples.
- Polished language and grammar in CLI prompts.
---
## [1.0.0] - 2025-07-12
### Added
- Initial release of `nodry`, a CLI tool and Node.js library for detecting repetitive code (DRY violations).
- Includes:
- Interactive CLI powered by `inquirer`.
- Command-line usage via `npx nodry`.
- Source analysis for detecting repeated code patterns.
- Basic structure for future plugin/addon support.