Releases: santisq/PSCompression
v2.0.8
What's Changed
New-ZipEntry
- Use file's.FullName
if no-EntryPath
is provided by @santisq in #33:- Makes
-EntryPath
no longer Mandatory onFile
ParameterSet. When no-EntryPath
is specified the cmdlet will use the-SourcePath
in it's normalized form. - Added Pester tests and updated docs to reflect this change.
- Updated all docs Syntax section to properly reflect Mandatory parameters.
- Makes
Full Changelog: v2.0.7...v2.0.8
v2.0.7
What's Changed
-
Adds
-Exclude
Parameter toCompress-ZipArchive
by @santisq in #31. This parameter allows to exclude items from source. For example, if you wanted to compress thepath
folder excluding any file having the.xyz
extension and any folder namedtest
(including all its child items), you could do:Compress-ZipArchive .\path -Destination myPath.zip -Exclude *.xyz, *\test\*
Full Changelog: v2.0.6...v2.0.7
v2.0.6
What's Changed
- Fixed parameter names in
Compress-ZipArchive
documentation by @martincostello in #25 - Update to CI pipeline to use
codecov-action@v4
- Fixed
coverlet
support for Linux runner tests
New Contributors
- @martincostello made their first contribution in #25
Full Changelog: v2.0.5...v2.0.6
v2.0.5
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
v2.0.3
What's Changed
- No changes to the Module's functionality, this is a very small update to seal all classes that should not be opened following recommendations on dotnet/runtime#49944.
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
All PowerShell functions are now binary cmdlets. There are a few bug fixes and lots of code improvements. The cmdlet's functionality remains the same with a few parameter renaming:
-
ConvertTo-GzipString
: #9 -
ConvertFrom-GzipString
: #11 -
Expand-GzipArchive
: #14 -
Compress-GzipArchive
: #15- Renamed
-DestinationPath
to-Destination
and alias added to maintain compatibility.
- Renamed
-
Compress-ZipArchive
: #17- Renamed
-DestinationPath
to-Destination
and alias added to maintain compatibility.
- Renamed
Full Changelog: v2.0.1...v2.0.2
v2.0.1
What's Changed
ConvertTo-GzipString
andConvertFrom-GzipString
are now binary cmdlets.- Fixed a bug with
Expand-ZipEntry
when the-Destination
argument was a relative path. Now it should correctly create new folders when extracting entries. - Added more Pester tests.
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
- Added 6 new cmdlets to manage Zip Archive Entries in #6 :
- A few code improvements to existing PowerShell functions
- Adding and improving existing docs
- Adding Pester Tests and Code Coverage uploads
Full Changelog: v1.0.4...v2.0.0
v1.0.4
What's Changed
- Addressing issue: Compress-ZipArchive is updating entries by default #3.
Full Changelog: v1.0.3...v1.0.4