ZIP

Frends.Zip.ExtractArchive / 2.0.0

Summary

Unpacks a ZIP archive into a directory, deciding what happens to files already there, and can delete the archive afterwards.

Typical use — unpacking inbound bundles; extract to a directory the Process controls, since archive entries decide their own paths

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.0.02026-11-03
Changed
  • Task now targets .NET 8.
  • Breaking Task now returns a Result object with Success, ExtractedFiles and Error properties.
  • Breaking Renamed the Unzip Input Properties and Unzip Options parameters to Input and Options.
Added
  • Added ThrowErrorOnFailure and ErrorMessageOnFailure options to control error handling. By default errors are still thrown.
1.4.02026-05-25
Fixed
  • Fix separators when extracting between different operating systems (e.g. Windows and Linux) to ensure correct file paths.
1.3.02025-12-29
Fixed
  • Fix repository url in metadata
1.2.02024-12-13
Changed
  • Drop DotNetZip in favour of ProDotNetZip because of security reasons
  • DotNetZip has a HIGH severity directory traversal vulnerability (CVE reported Nov 2024) affecting versions 1.10.1 through 1.16.0 with no patch available (package is deprecated)
  • The migration to ProDotNetZip 1.20.0 addresses this security concern
1.1.02024-10-22
Fixed
  • Fixed issue with rename option writing the extracted files to wrong directory.
Added
  • DeleteZipFileAfterExtract option to enable the deletion of the source file.
1.0.32022-02-23
Changed
  • Added documentation link to task description
1.0.22022-02-23
Changed
  • Added package description
1.0.12022-02-23
  • Maintenance
1.0.02022-02-23
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙