v2.0.4
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 aPSDrive
, details in #21.
Thanks @mattcargile for submitting the issue.
Breaking Changes
-
ZipEntryBase
Type:- Renamed Property
EntryName
toName
. - Renamed Property
EntryRelativePath
toRelativePath
. - Renamed Property
EntryType
toType
. - Renamed Method
RemoveEntry()
toRemove()
.
- Renamed Property
-
ZipEntryFile
Type:- Added Property
Extension
. - Added Property
BaseName
. - Added Property
CompressionRatio
.
- Added Property
-
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
.
- Moved from
-
Get-ZipEntry
command:- Renamed Parameter
-EntryType
to-Type
.
- Renamed Parameter
Full Changelog: v2.0.3...v2.0.4