ClosedXML 0.95.0-beta1

ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.

This is a prerelease version of ClosedXML.
Install-Package ClosedXML -Version 0.95.0-beta1
dotnet add package ClosedXML --version 0.95.0-beta1
<PackageReference Include="ClosedXML" Version="0.95.0-beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClosedXML --version 0.95.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Breaking changes

  • Range strings, e.g. A1:B2 are now always treated as absolute, i.e. relative to A1 instead of relative to the top left cell of a given range.
  • IXLSheetProtection has been totally refactored and now uses a flag based enum to control the elements that are allowed or locked.
  • Removed IXLSheetProtection.IsProtected setter
  • XLClearOptions and XLCellUsedOptions 's flags are now aligned

Enhancements

  • #1015 Text join func enhancement (Thanks @James-Whitfield)
  • #1038 IXLSheetProtection refactoring
  • #1054 Implement workbook FileSharing and a few of the properties
  • #1058 Dont recalculate formula cached values after load
  • #1077 Refactor digit and letter parsing to allow Unicode characters
  • #1109 Don't automatically adjust columns width to contents when inserting datatable. Some users want to opt out because of PlatformNotSupportedException
  • #1129 Implementation pivot table formats (Thanks @b0bi79)
  • #1130 Enhance TRUNC function for additional parameter
  • #1136 Implement NUMBERVALUE function
  • #1151 Performance improvement to delete entire columns
  • #1158 Check that print titles are valid row ranges or column ranges
  • #1170 Remove IXLSheetProtection.IsProtected public setter

Bug fixes

  • #1063 Copy comment style correctly when shifting ranges
  • #1108 Correctly save empty cell with quote prefix (do not treat as empty)
  • #1132 &lt;c&gt; elements with missing r attribute: XLAddress constructor had parameters swapped
  • #1133 Enumerate ranges in a deterministic order
  • #1134 Correctly propagate worksheet style to cells from a worksheet
  • #1135 Correctly load column-wide styles
  • #1137 Fix changing inner borders of the range
  • #1150 Correctly clear inline string when required
  • #1153 Correctly throw DivisionByZeroException when denominator is zero.
  • #1155 Ignore _X (capital X) as XML escaping char
  • #1161 Avoid creation of new item in Internals.RowsCollection when adding comment
  • #1168 Fix initialization of default styles for XLCells, XLRows, XLColumns and XLRanges

Thanks to @Pankraty for many PRs, as usual.

  • @igitur

Breaking changes

  • Range strings, e.g. A1:B2 are now always treated as absolute, i.e. relative to A1 instead of relative to the top left cell of a given range.
  • IXLSheetProtection has been totally refactored and now uses a flag based enum to control the elements that are allowed or locked.
  • Removed IXLSheetProtection.IsProtected setter
  • XLClearOptions and XLCellUsedOptions 's flags are now aligned

Enhancements

  • #1015 Text join func enhancement (Thanks @James-Whitfield)
  • #1038 IXLSheetProtection refactoring
  • #1054 Implement workbook FileSharing and a few of the properties
  • #1058 Dont recalculate formula cached values after load
  • #1077 Refactor digit and letter parsing to allow Unicode characters
  • #1109 Don't automatically adjust columns width to contents when inserting datatable. Some users want to opt out because of PlatformNotSupportedException
  • #1129 Implementation pivot table formats (Thanks @b0bi79)
  • #1130 Enhance TRUNC function for additional parameter
  • #1136 Implement NUMBERVALUE function
  • #1151 Performance improvement to delete entire columns
  • #1158 Check that print titles are valid row ranges or column ranges
  • #1170 Remove IXLSheetProtection.IsProtected public setter

Bug fixes

  • #1063 Copy comment style correctly when shifting ranges
  • #1108 Correctly save empty cell with quote prefix (do not treat as empty)
  • #1132 &lt;c&gt; elements with missing r attribute: XLAddress constructor had parameters swapped
  • #1133 Enumerate ranges in a deterministic order
  • #1134 Correctly propagate worksheet style to cells from a worksheet
  • #1135 Correctly load column-wide styles
  • #1137 Fix changing inner borders of the range
  • #1150 Correctly clear inline string when required
  • #1153 Correctly throw DivisionByZeroException when denominator is zero.
  • #1155 Ignore _X (capital X) as XML escaping char
  • #1161 Avoid creation of new item in Internals.RowsCollection when adding comment
  • #1168 Fix initialization of default styles for XLCells, XLRows, XLColumns and XLRanges

Thanks to @Pankraty for many PRs, as usual.

  • @igitur

Release Notes

See https://github.com/ClosedXML/ClosedXML/releases/tag/0.95.0-beta1

Version History

Version Downloads Last updated
0.95.0-beta1 1,914 4/4/2019
0.94.2 175,725 12/18/2018
0.94.0 7,563 12/12/2018
0.94.0-rc2 1,096 11/29/2018
0.94.0-rc1 3,133 11/11/2018
0.93.1 226,816 8/7/2018
0.93.0 91,444 6/25/2018
0.93.0-rc3 3,314 6/7/2018
0.93.0-rc2 1,103 5/31/2018
0.93.0-beta4 2,132 5/14/2018
0.93.0-beta2 1,607 4/26/2018
0.93.0-beta1 515 4/19/2018
0.92.1 147,335 4/10/2018
0.92.0-beta1 2,259 3/22/2018
0.91.1 8,758 4/4/2018
0.91.0 107,189 1/31/2018
0.91.0-beta3 724 1/23/2018
0.91.0-beta2 6,160 12/8/2017
0.91.0-beta1 696 11/29/2017
0.90.0 217,547 10/23/2017
0.90.0-beta2 976 10/6/2017
0.89.0 137,024 9/12/2017
0.89.0-beta1 928 8/23/2017
0.88.0 70,200 7/24/2017
0.88.0-beta1 740 7/10/2017
0.87.1 277,967 4/3/2017
0.86.0 140,113 1/6/2017
0.85.0 65,548 12/7/2016
0.80.1 128,516 9/15/2016
0.76.0 592,704 12/16/2014
0.75.0 60,461 9/17/2014
0.74.0 22,878 8/10/2014
0.73.0 17,163 6/24/2014
0.72.3 6,124 6/4/2014
0.72.2 601 6/4/2014
0.72.1 4,365 6/4/2014
0.72.0 2,608 6/4/2014
0.71.1 4,312 5/26/2014
0.70.0 3,562 5/18/2014
0.69.2 68,319 10/3/2013
0.69.1 12,797 8/15/2013
0.69.0 874 8/10/2013
0.68.1 37,125 10/20/2012
0.68.0 842 10/12/2012
0.67.2 9,165 8/14/2012
0.67.1 651 8/13/2012
0.67.0 624 8/12/2012
0.66.1 1,272 7/28/2012
0.66.0 850 7/18/2012
0.65.2 2,607 4/21/2012
0.64.0 2,711 2/4/2012