tag:github.com,2008:https://github.com/PowerShell/Microsoft.PowerShell.Archive/releases Release notes from Microsoft.PowerShell.Archive 2022-08-11T19:15:27Z tag:github.com,2008:Repository/40627395/v2.01.-preview2 2022-08-11T19:15:27Z v2.01.-preview2: Archive module preview 1 PR (#131) <ul> <li> <p>Add .gitattributes, .gitignore, and README.md.</p> </li> <li> <p>Add project files.</p> </li> <li> <p>added path helper, archive entry</p> </li> <li> <p>updated path helper</p> </li> <li> <p>resolved bug where GetEntryName was throwing an ArgumentException</p> </li> <li> <p>fixed a bug, started work on zip support</p> </li> <li> <p>worked on zip archive support</p> </li> <li> <p>added ArchiveFactory class</p> </li> <li> <p>imporved zip support</p> </li> <li> <p>fixed a bug in tests, added error handling for DestinationPath</p> </li> <li> <p>fixed bug in tests where Test-ZipArchive was not working correctly</p> </li> <li> <p>added tests for DestinationPath</p> </li> <li> <p>added additional tests, added TODOs</p> </li> <li> <p>updated tests</p> </li> <li> <p>added resx files for messages, refactored code, updated structure, etc.</p> </li> <li> <p>refactored PathHelper class</p> </li> <li> <p>worked on automatically determining archive format based on DestinationPath's extension</p> </li> <li> <p>added support for determining archive format automatically based on DestinationPath's extension</p> </li> <li> <p>fixed a bug with archive format warning, added TarArchive file</p> </li> <li> <p>renamed Action to WriteMode, fixed bug with compressing directories, added support for tar, added support for overwrite</p> </li> <li> <p>fixed bug where the directory structure of directories was not being preserved, fixed bug where error and warning messages were not being shown</p> </li> <li> <p>addded exception handling to PathHelper class</p> </li> <li> <p>removed files from git, removed tar support for preview release, added psd1 file</p> </li> <li> <p>updated build script, updated exception handling in PathHelper</p> </li> <li> <p>used FileSystemInfo instead of String to store full path information</p> </li> <li> <p>updated checking for the same source path and destination path</p> </li> <li> <p>updated build configuration</p> </li> <li> <p>updated project version with prelease info, removed tar support after merging branches</p> </li> <li> <p>updated CI config, fixed bug with missing error message, fixed tests</p> </li> <li> <p>updated CI to build module and run tests across all platforms</p> </li> <li> <p>updated CI to run tests, added and reorganized tests, solved a bug where overwriting the working directory could succeed</p> </li> <li> <p>used pascal case for ArchiveFormat enum members, refactored some code based on feedback</p> </li> <li> <p>fixed formatting for multiple files, updated csproj to generate Messages.Designer.cs and to remove debug symbols in Release config</p> </li> <li> <p>fixed missing quotation mark in CI config, updated switch code in ArchiveFactory.TryGetArchiveFormatFromExtension, added another list to keep track of paths from -LiteralPath and -Path seperately</p> </li> <li> <p>added assertions to prevent possible null error, added RequiredVersion when installing Pester in tests script, removed default valuesm in parameter attributes, and other minor changes</p> </li> <li> <p>added localized messages for Add, Create, and progress bar text, minor formatting changes</p> </li> <li> <p>added copyright header, removed usage of DS in tests, minor formatting changes</p> </li> <li> <p>updated .gitignore, added explanation for why ArchiveAddition.EntryName is not necessarily equal to FileSystemInfo.Name</p> </li> <li> <p>updated Compress-Archive cmdlet to resolve a path one at a time rather than collecting all paths first</p> </li> <li> <p>fixed a bug where PathNotFound error was not thrown, fixed a bug when testing invalid paths</p> </li> <li> <p>added custom assertions for testing zip archives</p> </li> <li> <p>updated CI to run tests using new assertion, updated README with Azure CI status, fixed a bug where a path is determined to be relative to the working directory if the working directory is on a different drive than the path</p> </li> </ul> <p>Co-authored-by: t-ayousuf <a href="mailto:t-ayousuf@DESKTOP-SU5OBBS">t-ayousuf@DESKTOP-SU5OBBS</a><br> Co-authored-by: Abdullah Yousuf <a href="mailto:t-ayousuf@microsoft.com">t-ayousuf@microsoft.com</a></p> ayousuf23 tag:github.com,2008:Repository/40627395/v2.0.1-preview2 2022-08-11T19:15:27Z v2.0.1-preview2: Archive module preview 1 PR (#131) <ul> <li> <p>Add .gitattributes, .gitignore, and README.md.</p> </li> <li> <p>Add project files.</p> </li> <li> <p>added path helper, archive entry</p> </li> <li> <p>updated path helper</p> </li> <li> <p>resolved bug where GetEntryName was throwing an ArgumentException</p> </li> <li> <p>fixed a bug, started work on zip support</p> </li> <li> <p>worked on zip archive support</p> </li> <li> <p>added ArchiveFactory class</p> </li> <li> <p>imporved zip support</p> </li> <li> <p>fixed a bug in tests, added error handling for DestinationPath</p> </li> <li> <p>fixed bug in tests where Test-ZipArchive was not working correctly</p> </li> <li> <p>added tests for DestinationPath</p> </li> <li> <p>added additional tests, added TODOs</p> </li> <li> <p>updated tests</p> </li> <li> <p>added resx files for messages, refactored code, updated structure, etc.</p> </li> <li> <p>refactored PathHelper class</p> </li> <li> <p>worked on automatically determining archive format based on DestinationPath's extension</p> </li> <li> <p>added support for determining archive format automatically based on DestinationPath's extension</p> </li> <li> <p>fixed a bug with archive format warning, added TarArchive file</p> </li> <li> <p>renamed Action to WriteMode, fixed bug with compressing directories, added support for tar, added support for overwrite</p> </li> <li> <p>fixed bug where the directory structure of directories was not being preserved, fixed bug where error and warning messages were not being shown</p> </li> <li> <p>addded exception handling to PathHelper class</p> </li> <li> <p>removed files from git, removed tar support for preview release, added psd1 file</p> </li> <li> <p>updated build script, updated exception handling in PathHelper</p> </li> <li> <p>used FileSystemInfo instead of String to store full path information</p> </li> <li> <p>updated checking for the same source path and destination path</p> </li> <li> <p>updated build configuration</p> </li> <li> <p>updated project version with prelease info, removed tar support after merging branches</p> </li> <li> <p>updated CI config, fixed bug with missing error message, fixed tests</p> </li> <li> <p>updated CI to build module and run tests across all platforms</p> </li> <li> <p>updated CI to run tests, added and reorganized tests, solved a bug where overwriting the working directory could succeed</p> </li> <li> <p>used pascal case for ArchiveFormat enum members, refactored some code based on feedback</p> </li> <li> <p>fixed formatting for multiple files, updated csproj to generate Messages.Designer.cs and to remove debug symbols in Release config</p> </li> <li> <p>fixed missing quotation mark in CI config, updated switch code in ArchiveFactory.TryGetArchiveFormatFromExtension, added another list to keep track of paths from -LiteralPath and -Path seperately</p> </li> <li> <p>added assertions to prevent possible null error, added RequiredVersion when installing Pester in tests script, removed default valuesm in parameter attributes, and other minor changes</p> </li> <li> <p>added localized messages for Add, Create, and progress bar text, minor formatting changes</p> </li> <li> <p>added copyright header, removed usage of DS in tests, minor formatting changes</p> </li> <li> <p>updated .gitignore, added explanation for why ArchiveAddition.EntryName is not necessarily equal to FileSystemInfo.Name</p> </li> <li> <p>updated Compress-Archive cmdlet to resolve a path one at a time rather than collecting all paths first</p> </li> <li> <p>fixed a bug where PathNotFound error was not thrown, fixed a bug when testing invalid paths</p> </li> <li> <p>added custom assertions for testing zip archives</p> </li> <li> <p>updated CI to run tests using new assertion, updated README with Azure CI status, fixed a bug where a path is determined to be relative to the working directory if the working directory is on a different drive than the path</p> </li> </ul> <p>Co-authored-by: t-ayousuf <a href="mailto:t-ayousuf@DESKTOP-SU5OBBS">t-ayousuf@DESKTOP-SU5OBBS</a><br> Co-authored-by: Abdullah Yousuf <a href="mailto:t-ayousuf@microsoft.com">t-ayousuf@microsoft.com</a></p> ayousuf23 tag:github.com,2008:Repository/40627395/v2.0.1-preview1 2022-08-11T21:33:54Z Microsoft.PowerShell.Archive v2.0.1-preview1 <ul> <li>Rewrote <code>Compress-Archive</code> cmdlet in C#</li> <li>Added <code>-Format</code> parameter to <code>Compress-Archive</code></li> <li>Added <code>-WriteMode</code> parameter to <code>Compress-Archive</code></li> <li>Added support for relative path structure preservating when paths relative to the working directory are specified to <code>-Path</code> or <code>-LiteralPath</code> in <code>Compress-Archive</code></li> <li>Added support for zip64 to <code>Compress-Archive</code></li> <li>Fixed a bug where empty directories would not be compressed</li> <li>Fixed a bug where an abrupt stop when compressing empty directories would not delete the newly created archive</li> </ul> ayousuf23 tag:github.com,2008:Repository/40627395/v1.1.0.0 2017-03-17T19:20:08Z Archive module v1.1.0.0 <p>Main changes:</p> <ul> <li>Fixed module on Unix</li> <li>Fixed helpuris</li> <li>Fixed issue where archives contains items with trailing whitespace</li> <li>Added -PassThru parameter to Expand-Archive and Compress-Archive</li> <li>Fixed Compress-Archive so that it can compress to a custom PSDrive</li> <li>Added support for Expand-/Compress- of zip files with any extension</li> </ul> anmenaga tag:github.com,2008:Repository/40627395/v1.0.0.0 2016-04-19T20:19:46Z v1.0.0.0 <p>Updated appveyor links</p> SteveL-MSFT