·
2 commits
to master
since this release
1. New Features & Improvements
- Disk Space Verification: Added a
CheckDiskSpacemethod that calculates the total size of an archive's contents and verifies if the destination drive has sufficient free space before starting the extraction. - Extraction Metadata: The logs now display the total size of the files to be extracted alongside the file count and archive format.
- Dependency Update: Updated the
SharpCompresslibrary from version0.47.0to0.47.1.
2. Enhanced Error Handling
- Specific Archive Exceptions: Added dedicated catch blocks for
ArchiveExceptionandArchiveOperationException. This provides users with clearer feedback if an archive is corrupt, invalid, or in an unsupported format. - Disk Space Alerts: Improved the reporting of "not enough space" errors, providing a user-friendly message suggesting the user free up space rather than showing a generic IO error.
- Refined Bug Reporting Filters: Updated the exception filtering logic to ensure that environmental issues (like low disk space) and archive-specific errors (like corruption or invalid passwords) are handled gracefully and not flagged as application bugs.
3. Code Cleanup
- Simplified the extraction loop by pre-filtering entries to exclude directories.
- Added necessary imports (
SharpCompress.Common) to support new exception types.