Releases: exocad/SevenZipSharpSimple
Releases · exocad/SevenZipSharpSimple
Release list
SevenZipSharp v2.3.0
SevenZipSharp Changelog
[2.3.0] - 2026-05-27
Changed
- Added .NET 10 as target framework and removed .NET 6 as target framework.
ArchiveReaderandArchiveWriternow both provide a property namedUncompressedArchiveSize,
which returns the total size of the archive content after it has been extracted.InMemoryArchiveRepackerand theBulkExtractextension now support two new flags / options:DisposeArchiveEntryStreamAfterUsespecifies whether streams should be disposed automatically after use.UseFileStreamForOversizedArchiveEntriesspecifies that archive entries exceeding the supported size of
.NET arrays will use a temporary file to process the entry instead of throwing an exception. This option
is only available in .NET Core.- These new flags are disabled by default to preserve the known behavior.
InMemoryArchiveRepackercan now also transfer directory entries.- To omit any entry, the given filter callback can now return
null.
- To omit any entry, the given filter callback can now return
BulkExtractnow provides an overload accepting a generic state parameter, which is passed to the
consumeExtractResultscallback.- The
ArchiveConfigcontains a delegate to customize the method to use for creating temporary files. By
default,Path.GetTempFileNameis used.
SevenZipSharp v2.2.0
SevenZipSharp Changelog
[2.2.0] - 2025-10-10
Fixed
- Removing entries from an archive led to incorrect index values when the total amount of
archive entries changed. This sometimes resulted in an exception within the 7z library.
SevenZipSharp v2.1.1
SevenZipSharp Changelog
[2.1.1] - 2025-02-27
- Encrypted archives are now also supported on Linux. The PasswordProvider interfaces now pass a
native pointer instead of a marshalled string which allows allocating the string the way the
used implementation needs it, based on the current OS. - An exception is now thrown when applying the
CompressPropertiesfails. - An empty string can now also be specified as password to use encryption.
SevenZipSharp v2.1.0
SevenZipSharp Changelog
[2.1.0] - 2025-02-18
Changed
- Interop interface methods which are being invoked from the native library and which used a managed array as parameter
(likebyte[]) now use raw pointers to avoid a memory allocation per interop call.
This can result in a significantly reduced garbage collector pressure especially when compressing several
files and therefore improves the overall performance. - The 7z multithreading option can be configured via the
MultithreadingBehaviorproperty of theCompressPropertiesclass.
Fixed
- In some cases, the properties configured by the
CompressPropertiesclass were not applied correctly. This
should now be resolved.
SevenZipSharp v2.0.1
SevenZipSharp Changelog
[2.0.1] - 2025-01-16
Changed
- Added a
EncryptionMethodproperty to theCompressPropertiesclass to simplify creating encrypted archives. - The
ApplyArchiveEntryTimestampsToFileStreamsflag no longer updates a files' timestamp when the archive entry reports a timestamp ofDateTime.MinValue.
Fixed
- The .NET8 build now correctly applies custom compression properties. This operation failed due to a missing
GeneratedComInterface
attribute.
SevenZipSharp v2.0.0
SevenZipSharp Changelog
[2.0.0] - 2025-01-14
Changed
- The major version has been changed to 2 due to changes in the public API of
ArchiveReader,IProgressDelete,IArchiveReaderDelegateandIArchiveWriterDelegate
and a behavioral change in the error handling during extract or compress operations (seeArchiveConfig.IgnoreOperationErrors). - Unified and slightly changed the public interface of
ArchiveReaderso that it now has a single publicExtract
method while all overloads were moved an an extension class. - By default, errors which occur during compression or extraction now cause an exception of type
ArchiveOperationException.
This behavior can be controlled with theArchiveConfig.IgnoreOperationErrorsproperty, which defaults tofalse. - The delegate interfaces
IProgressDelete,IArchiveReaderDelegateandIArchiveWriterDelegatehave been
extended with another parameter (IExtractContextorICompressContext), which can be used to provide
more information about the current operation.
SevenZipSharp v1.0.3
SevenZipSharp Changelog
[1.0.3] - 2025-01-07
Fixed
- Fixed a NullReferenceException caused by calling
ArchiveReader.CanExtractEntries.
SevenZipSharp v1.0.2
SevenZipSharp Changelog
[1.0.2] - 2024-12-10
Changed
- Added a guard to prevent the directory traversal attack (CVE-2024-48510).
SevenZipSharp v1.0.1
SevenZipSharp Changelog
[1.0.1] - 2024-11-06
Changed
- The generated assembly now always has a strong-name.
[1.0.0] - 2024-05-03
Changed
- Initial release of the .NET SevenZip library.
SevenZipSharp v1.0.0
SevenZipSharp Changelog
[1.0.0] - 2024-05-03
Changed
- Initial release of the .NET SevenZip library.