Skip to content

Conversation

@piksel
Copy link
Member

@piksel piksel commented Sep 22, 2022

This PR fixes some issues that were present in #592 but wasn't detected before the release of v1.4.0.

In general, it goes a bit further in trying to make the string encoding easy and predictable to use.
It also has tests for the most common usages of the API to make sure it both works and feels straightforward to use.
The changes in the API are slightly breaking from v1.4.0, but only where the API could be misused in confusing ways. It should not require any minor version bump, but should be released ASAP to limit the effect.

Fixes #777.
Fixes #776.

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@piksel piksel linked an issue Sep 22, 2022 that may be closed by this pull request
@filipnavara
Copy link

Any news on this one? It's blocking us from updating to the latest NuGet.

@piksel
Copy link
Member Author

piksel commented Oct 9, 2022

Sorry, I have been busy with work. There are some inconsistencies in the API that I need to look over, but it should mostly be done.

@codecov
Copy link

codecov bot commented Oct 20, 2022

Codecov Report

Merging #778 (4f90718) into master (d2a0c68) will increase coverage by 0.01%.
The diff coverage is 75.47%.

@@            Coverage Diff             @@
##           master     #778      +/-   ##
==========================================
+ Coverage   74.70%   74.72%   +0.01%     
==========================================
  Files          72       72              
  Lines        8465     8485      +20     
==========================================
+ Hits         6324     6340      +16     
- Misses       2141     2145       +4     
Impacted Files Coverage Δ
...ib/Zip/Compression/Streams/DeflaterOutputStream.cs 81.00% <50.00%> (-1.48%) ⬇️
src/ICSharpCode.SharpZipLib/Zip/ZipStrings.cs 46.66% <65.38%> (-2.18%) ⬇️
src/ICSharpCode.SharpZipLib/Zip/ZipFile.cs 77.38% <77.77%> (+0.13%) ⬆️
src/ICSharpCode.SharpZipLib/Zip/FastZip.cs 59.51% <100.00%> (+0.34%) ⬆️
src/ICSharpCode.SharpZipLib/Zip/ZipFormat.cs 89.54% <100.00%> (ø)
src/ICSharpCode.SharpZipLib/Zip/ZipInputStream.cs 83.02% <100.00%> (+0.56%) ⬆️
src/ICSharpCode.SharpZipLib/Zip/ZipOutputStream.cs 87.86% <100.00%> (+0.04%) ⬆️
src/ICSharpCode.SharpZipLib/GZip/GZipConstants.cs 50.00% <0.00%> (-50.00%) ⬇️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants