Skip to content

v2.0.4

Compare
Choose a tag to compare
@santisq santisq released this 25 Feb 18:51
· 59 commits to main since this release

What's Changed

  • Added command Rename-ZipEntry by @santisq in #22.
  • Fixed a bug that would prevent using the cmdlets in a remote PSSession or in a different Runspace or with a PSDrive, details in #21.
    Thanks @mattcargile for submitting the issue.

Breaking Changes

  • ZipEntryBase Type:

    • Renamed Property EntryName to Name.
    • Renamed Property EntryRelativePath to RelativePath.
    • Renamed Property EntryType to Type.
    • Renamed Method RemoveEntry() to Remove().
  • ZipEntryFile Type:

    • Added Property Extension.
    • Added Property BaseName.
    • Added Property CompressionRatio.
  • ZipEntryDirectory Type:

    • .Name Property now reflects the directory entries name instead of an empty string.
  • NormalizePath Method:

    • Moved from [PSCompression.ZipEntryExtensions]::NormalizePath to [PSCompression.Extensions.PathExtensions]::NormalizePath.
  • Get-ZipEntry command:

    • Renamed Parameter -EntryType to -Type.

Full Changelog: v2.0.3...v2.0.4