Skip to content

Bump LargeXlsx to 2.0.1 and remove useZip64 option#921

Merged
albertospelta merged 2 commits intomainfrom
alberto/bump-largexlsx
Mar 2, 2026
Merged

Bump LargeXlsx to 2.0.1 and remove useZip64 option#921
albertospelta merged 2 commits intomainfrom
alberto/bump-largexlsx

Conversation

@albertospelta
Copy link
Member

This pull request updates the Excel export functionality to remove the experimental Zip64 feature and instead use the new compression API provided by the LargeXlsx library. It also upgrades the LargeXlsx package to version 2.0.1, which introduces this new API. The changes simplify the export code and remove user-facing controls for enabling Zip64.

Excel Export Refactor and Library Update:

Excel Export Implementation:

  • Removed the useZip64 parameter from all ExportExcelFile methods and their implementations, eliminating the user option to enable Zip64 compression. The code now always uses the new compressionLevel API (XlsxCompressionLevel.Fastest) for file writing. [1] [2] [3] [4] [5] [6] [7]

  • Removed all code and diagnostics related to the Zip64 experimental feature, and the logic for enabling it via keyboard shortcuts in the controller. [1] [2] [3]

Library Upgrade:

  • Upgraded the LargeXlsx NuGet package from version 1.10.0 to 2.0.1 in Bravo.csproj to support the new compression API and remove Zip64 dependencies.

The export library (LargeXlsx) dropped its SharpCompress dependency and now uses System.IO.Compression. SharpCompress did not fully support Zip64 and could produce corrupted Excel/LibreOffice files.
@albertospelta albertospelta merged commit 239dac6 into main Mar 2, 2026
1 check passed
@albertospelta albertospelta deleted the alberto/bump-largexlsx branch March 2, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant