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

Bump dependency DocumentFormat.OpenXml to 3.0.1 #195

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

PrzemyslawKlys
Copy link
Member

Resolves following issues:

This PR allows usage of DocumentFormat.OpenXml in version 3.0.1 or higher. Due to changes require testing if everything works as expected. Would appreciate some feedback from real use cases.

Upgraded DocumentFormat.OpenXml and SixLabors.ImageSharp to newer, non-breaking version ranges to ensure compatibility with recent features and improvements. Also introduced System.IO.Packaging dependency to enhance file manipulation capabilities within the OfficeIMO.Word project.
Modified the version constraints of `DocumentFormat.OpenXml` and `SixLabors.ImageSharp` in the project file to specify minimum and maximum versions. By defining an exclusive upper bound, this ensures compatibility and prevents unintentional upgrades to potentially breaking versions. The new ranges permit the latest non-major updates, maintaining access to recent fixes and optimizations while preserving API stability.
Removed unnecessary whitespace and replaced the Close method's implementation for proper resource disposal with _spreadSheetDocument.Dispose(). Enhanced readability in ExcelDocument.cs, easing future code maintenance. This change ensures that resources are released appropriately, averting potential memory leaks.
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.

None yet

1 participant