Created Release 1.3 (markdown)
Родитель
11973ef5eb
Коммит
6573c8b42c
|
@ -0,0 +1,79 @@
|
|||
|
||||
## Highlights
|
||||
|
||||
- AES encryption fixes and support in FastZip
|
||||
- File name encoding support for Tar
|
||||
- Improved Unix timestamp support
|
||||
- Better handling of entry file names
|
||||
- Fix errors with entries using Stored compression method
|
||||
|
||||
|
||||
## Changes
|
||||
|
||||
* `TarArchive.ExtractContents()` now needs another parameter set to `true` to allow the extraction to traverse outside of the target directory.
|
||||
* `TarArchive` constructors now includes an `Encoding` parameter. Omitting it will discard any non-ASCII bytes in file names.
|
||||
|
||||
## Fixes
|
||||
* __[[#503](https://github.com/icsharpcode/SharpZipLib/pull/503)] Consider AES overhead when testing encrypted folder entries__ by _Richard Webb_
|
||||
* __[[#452](https://github.com/icsharpcode/SharpZipLib/pull/452)] Ensure crypto streams are disposed in ZipFile.GetOutputStream__ by _Richard Webb_
|
||||
* __[[#333](https://github.com/icsharpcode/SharpZipLib/pull/333)] Handle unsupported compression methods in ZipInputStream better__ by _Richard Webb_
|
||||
* __[[#402](https://github.com/icsharpcode/SharpZipLib/pull/402)] Only convert entry.Name once when accessing updateIndex__ by _Vladyslav Taranov_
|
||||
* __[[#353](https://github.com/icsharpcode/SharpZipLib/pull/353)] Fix ZipFile.TestLocalHeader CompressionMethod resolving for AES entries__ by _Richard Webb_
|
||||
* __[[#460](https://github.com/icsharpcode/SharpZipLib/pull/460)] Account for AES overhead in compressed entry size__ by _Richard Webb_
|
||||
* __[[#422](https://github.com/icsharpcode/SharpZipLib/pull/422)] Change ZipOutputStream.PutNextEntry to explicity validate the requested compression method__ by _Richard Webb_
|
||||
* __[[#467](https://github.com/icsharpcode/SharpZipLib/pull/467)] Allow seeking a PartialInputStream to the very end__ by _Víctor M. González_
|
||||
* __[[#440](https://github.com/icsharpcode/SharpZipLib/pull/440)] Use CompressionMethodForHeader for header entries__ by _Richard Webb_
|
||||
* __[[#420](https://github.com/icsharpcode/SharpZipLib/pull/420)] Throw NotSupportedException in ZipFile.Add when trying to add AES entry__ by _Richard Webb_
|
||||
* __[[#421](https://github.com/icsharpcode/SharpZipLib/pull/421)] Have ZipFile.Add validate compression compability internally__ by _Richard Webb_
|
||||
* __[[#387](https://github.com/icsharpcode/SharpZipLib/pull/387)] Better handle baseStreams closing themselves unexpectedly__ by _Richard Webb_
|
||||
* __[[#408](https://github.com/icsharpcode/SharpZipLib/pull/408)] When searching for the Zip64 end of central directory locator, pay attention to its fixed size__ by _Richard Webb_
|
||||
* __[[#406](https://github.com/icsharpcode/SharpZipLib/pull/406)] Skip forced Deflate flush when using Stored compression__ by _nils måsén_
|
||||
* __[[#362](https://github.com/icsharpcode/SharpZipLib/pull/362)] Don't call CleanName from the ZipEntry constructor__ by _Richard Webb_
|
||||
* __[[#465](https://github.com/icsharpcode/SharpZipLib/pull/465)] Use correct count in ZipAESStream.ReadBufferedData__ by _Víctor M. González_
|
||||
* __[[#390](https://github.com/icsharpcode/SharpZipLib/pull/390)] Ensure GZipOutputStream headers are written before flush__ by _Richard Webb_
|
||||
* __[[#498](https://github.com/icsharpcode/SharpZipLib/pull/498)] Use string.Trim to trim strings__ by _Richard Webb_
|
||||
* __[[#432](https://github.com/icsharpcode/SharpZipLib/pull/432)] Throw ArgumentNullException in BZip2__ by _Richard Webb_
|
||||
* __[[#519](https://github.com/icsharpcode/SharpZipLib/pull/519)] Restrict path traversal on TarArchive extraction__ by _nils måsén_
|
||||
|
||||
## Features
|
||||
* __[[#201](https://github.com/icsharpcode/SharpZipLib/pull/201)] Raise ProcessDirectory event for FastZip extract__ by _Stevie-O_
|
||||
* __[[#380](https://github.com/icsharpcode/SharpZipLib/pull/380)] Add support for AES encryption in FastZip.CreateZip__ by _Richard Webb_
|
||||
* __[[#497](https://github.com/icsharpcode/SharpZipLib/pull/497)] Transform new entry names using an INameTranform in ZipOutputStream__ by _Richard Webb_
|
||||
* __[[#482](https://github.com/icsharpcode/SharpZipLib/pull/482)] Add variants of FastZip.CreateZip taking IScanFilter instead of strings__ by _Richard Webb_
|
||||
* __[[#455](https://github.com/icsharpcode/SharpZipLib/pull/455)] Add FastZip.CreateZip with a leaveOpen parameter__ by _Richard Webb_
|
||||
* __[[#433](https://github.com/icsharpcode/SharpZipLib/pull/433)] Restore directory timestamps when extracting with FastZip__ by _Richard Webb_
|
||||
* __[[#472](https://github.com/icsharpcode/SharpZipLib/pull/472)] Allow ZipFile to accept empty strings as passwords when decrypting AES entries__ by _Richard Webb_
|
||||
* __[[#364](https://github.com/icsharpcode/SharpZipLib/pull/364)] Add nameEncoding parameter to Tar entries__ by _Yusuke Ito_
|
||||
* __[[#463](https://github.com/icsharpcode/SharpZipLib/pull/463)] Improve support for Unix timestamps in ZIP archives__ by _Bastian Eicher_
|
||||
|
||||
## Other changes (not related to library code)
|
||||
* __[[#346](https://github.com/icsharpcode/SharpZipLib/pull/346)] Add a Security Policy__ by _nils måsén_
|
||||
* __[[#451](https://github.com/icsharpcode/SharpZipLib/pull/451)] Minimize and update sample app package dependencies__ by _Richard Webb_
|
||||
* __[[#505](https://github.com/icsharpcode/SharpZipLib/pull/505)] Expect ZipEntry clean name test to be positive__ by _nils måsén_
|
||||
* __[[#504](https://github.com/icsharpcode/SharpZipLib/pull/504)] Fix warning about missing doc comment in FastZip.CreateZip__ by _Richard Webb_
|
||||
* __[[#374](https://github.com/icsharpcode/SharpZipLib/pull/374)] Update Docs generation__ by _nils måsén_
|
||||
* __[[#431](https://github.com/icsharpcode/SharpZipLib/pull/431)] Remove the link to the sharpdevelop forum from readme.md__ by _Richard Webb_
|
||||
* __[[#425](https://github.com/icsharpcode/SharpZipLib/pull/425)] Update Microsoft.SourceLink.GitHub to the 1.0.0 release version__ by _Richard Webb_
|
||||
* __[[#483](https://github.com/icsharpcode/SharpZipLib/pull/483)] Suppress CA1707 warnings from LzwConstants__ by _Richard Webb_
|
||||
* __[[#458](https://github.com/icsharpcode/SharpZipLib/pull/458)] Dispose of entry streams returned by ZipFile.GetInputStream__ by _Richard Webb_
|
||||
* __[[#488](https://github.com/icsharpcode/SharpZipLib/pull/488)] Add [MemoryDiagnoser] to the zip input/output stream benchmark classes__ by _Richard Webb_
|
||||
* __[[#489](https://github.com/icsharpcode/SharpZipLib/pull/489)] Remove duplicate ICSharpCode.SharpZipLib.snk__ by _Richard Webb_
|
||||
* __[[#494](https://github.com/icsharpcode/SharpZipLib/pull/494)] Use the Range to test different compression levels in InflaterDeflaterTestSuite__ by _Richard Webb_
|
||||
* __[[#502](https://github.com/icsharpcode/SharpZipLib/pull/502)] Fix tests and ZipEntry DateTime Kind__ by _nils måsén_
|
||||
* __[[#476](https://github.com/icsharpcode/SharpZipLib/pull/476)] Remove duplicated words in comments__ by _Richard Webb_
|
||||
* __[[#477](https://github.com/icsharpcode/SharpZipLib/pull/477)] Fix spelling errors in comments__ by _Richard Webb_
|
||||
* __[[#479](https://github.com/icsharpcode/SharpZipLib/pull/479)] Streamline and update VB sample projects__ by _Richard Webb_
|
||||
* __[[#445](https://github.com/icsharpcode/SharpZipLib/pull/445)] Make InvalidHeaderException serializable__ by _Richard Webb_
|
||||
* __[[#450](https://github.com/icsharpcode/SharpZipLib/pull/450)] Fix CA1200 code analyzer warnings__ by _Richard Webb_
|
||||
* __[[#435](https://github.com/icsharpcode/SharpZipLib/pull/435)] Add unit test for ZipFile.Add(string fileName, string entryName)__ by _Richard Webb_
|
||||
* __[[#448](https://github.com/icsharpcode/SharpZipLib/pull/448)] Fix unit test assert argument order__ by _Richard Webb_
|
||||
* __[[#461](https://github.com/icsharpcode/SharpZipLib/pull/461)] Fix Exception doc comments__ by _Richard Webb_
|
||||
* __[[#453](https://github.com/icsharpcode/SharpZipLib/pull/453)] Fix the 7-zip interop tests in the .Net 4.6 test build__ by _Richard Webb_
|
||||
* __[[#466](https://github.com/icsharpcode/SharpZipLib/pull/466)] Improve the ZipFileStoreAesPartialRead test to test multiple block sizes__ by _Richard Webb_
|
||||
* __[[#468](https://github.com/icsharpcode/SharpZipLib/pull/468)] Add test for adding empty folders to archives using FastZip__ by _Richard Webb_
|
||||
* __[[#473](https://github.com/icsharpcode/SharpZipLib/pull/473)] Add a Nuget badge to readme.md__ by _Richard Webb_
|
||||
* __[[#469](https://github.com/icsharpcode/SharpZipLib/pull/469)] Add test for writing using a zero byte buffer__ by _Richard Webb_
|
||||
* __[[#389](https://github.com/icsharpcode/SharpZipLib/pull/389)] Simplify Documentation generation__ by _Robin Sue_
|
||||
* __[[#437](https://github.com/icsharpcode/SharpZipLib/pull/437)] Add a ZipCrypto/7zip interop test to the ZipEncryptionHandling tests__ by _Richard Webb_
|
||||
* __[[#441](https://github.com/icsharpcode/SharpZipLib/pull/441)] Update the benchmark project to BenchmarkDotNet 0.12.1__ by _Richard Webb_
|
||||
* __[[#444](https://github.com/icsharpcode/SharpZipLib/pull/444)] Multi-target unit tests for .NET Core 2.0 and .NET FW 4.6__ by _Richard Webb_
|
Загрузка…
Ссылка в новой задаче