- Created this changelog to document significant project developments.
- Core Logic & Error Handling:
- Implemented
async/awaitinindex.jsfor enhanced error handling and asynchronous flow control. - Refactored
src/archiverUtils.jsto use Promise-based error handling for more robust archive creation. - Modified
src/gitUtils.jsto usegit diff --name-onlyfor more efficient diff retrieval. - Reimplemented
executeCommandinsrc/utils.jsusingspawnfor better process management and error capturing.
- Implemented
- Robustness & Stability:
- Added pre-command checks in Git interactions to ensure a clean working tree before proceeding.
- Improved overall code structure with clearer constant definitions and more descriptive variable names.
- Added a check for empty diffs to prevent errors when no changes are detected.
- Addressed potential issues with detached HEAD states during branch comparison.
- Ensured archiver checks for empty filenames to prevent errors during ZIP creation.
- Dependencies & Configuration:
- Updated the
inquirerdependency to@inquirer/promptsfor a more modern and performant prompting experience. - Enhanced
.gitignoreto exclude common development files and directories. - Updated scripts in
package.jsonfor consistency and clarity.
- Updated the
- Code Clarity:
- Added inline comments throughout the codebase to improve understanding and maintainability.
- Created this changelog to document significant project developments.