Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade SharpZipLib from 0.86.0 to 1.3.3 #5185

Merged
merged 5 commits into from
Jul 19, 2022

Conversation

bdukes
Copy link
Contributor

@bdukes bdukes commented Jul 5, 2022

Summary

This PR upgrades SharpZipLib to the latest version.

Potential breaking changes include:

  • The ICSharpCode.SharpZipLib.Checksums namespace has been renamed ICSharpCode.SharpZipLib.Checksum.

@bdukes bdukes added Type: Maintenance .NET Pull requests that update .net code labels Jul 5, 2022
@bdukes bdukes added this to the 9.11.0 milestone Jul 5, 2022
@bdukes bdukes changed the base branch from develop to release/9.11.0 July 5, 2022 19:59
bdukes added 3 commits July 5, 2022 16:47
Rather than referencing SharpZipLib from Dnn.PersonaBar.Extensions, this
uses named arguments to help the compiler find the correct overload
(since the deprecated overload's first parameter is in PascalCase and
the new overload's first parameter is in camelCase).

Also some style clean-up
Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

Copy link
Contributor

@donker donker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome

@donker donker merged commit e498d23 into dnnsoftware:release/9.11.0 Jul 19, 2022
@bdukes bdukes deleted the sharpziplib-upgrade branch July 25, 2022 22:27
@schotman
Copy link
Contributor

Is this removal of SharpLib announced in advance? We now have 3rd party modules break because SharpLib is no longer there.

@bdukes
Copy link
Contributor Author

bdukes commented Sep 22, 2022

@schotman this PR was not intended to remove SharpZipLib from the installation, that was an oversight. Thanks for testing! I'll be submitting a PR to add the SharpZipLib library to the installation

@schotman
Copy link
Contributor

schotman commented Sep 22, 2022

Thanks, Question: do we want to remove SharpLibZip in a future upgrade? if so we need to inform 3rd party module devs

@bdukes
Copy link
Contributor Author

bdukes commented Sep 22, 2022

Yes, the APIs that depend on SharpZipLib have been marked as deprecated and will be removed in v11.0.0. Our current intention is that we would remove SharpZipLib at that time. Any 3rd party module could then start including SharpZipLib if they require it, or migrate to System.IO.Compression as we did in #5127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Pull requests that update .net code Type: Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants