ClosedXML 0.94.0

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.

Install-Package ClosedXML -Version 0.94.0
dotnet add package ClosedXML --version 0.94.0
paket add ClosedXML --version 0.94.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Breaking changes

  • This package now depends on FastMember instead of FastMember.Signed.
  • IDisposable interface removed from IXLWorksheet. See #1049
  • IXLPictures interface has changed to accept parameters of type IXLCell instead of IXLAddress. See #930
  • IXLBaseAutoFilter removed and replaced with the existing IXLAutoFilter. See #909
  • IXLRange.ToString() and IXLRangeAddress.ToString() now return context aware range strings. See #1021

Enhancements

  • #856 Clear pivot table rendered range upon loading to avoid conflict on rendered cells when opening the file.
  • #877 Add helper property VisibleRows for autofilters
  • #884 Allow pivot tables to have no theme
  • #904 Implement the full range of Item subclasses for pivot tables
  • #905 Don't choke on pivot table saving when formulas fail
  • #908 New methods to append and replace table data
  • #909 New method to reapply autofilter
  • #926 Disallow table with null .DataRange when saving
  • #930 Store picture markers against a range to allow shifting when inserting and deleting
  • #932 Optionally propagate extra table columns when changing data
  • #945 Allow Guid values to be inserted when dumping data
  • #962 Add ability to set cell value to an enum value
  • #978 Add table helper methods: IXLTables.TryGetTable()
  • #996 Allow table field names consisting of only whitespace
  • #999 Allow names to start with backslash
  • #1005 Ignore print areas that point to external workbooks
  • #1019 Improve XLCell.TryGetValue and implement additional tests
  • #1021 Return simpler range address values
  • #1025 Lazy initialize graphics
  • #1033 Optimize the performance of searching range intersections on small collections
  • #1035 Improve implicit string casting
  • #1036 Don't validate named ranges when loading file
  • #1044 Add check that data validation value length does not exceed 255 chars
  • #1064 Make TryGetValue_decimal_Good2test environment-independent

Bug fixes

  • #876 Correctly unprotect worksheet without password
  • #887 Correctly determine used range when there are merged ranges on a worksheet
  • #903 Clear all cell contents (formats too) in pivot table range upon loading.
  • #906 Maintain pivot table page field order
  • #931 Delete table rows correctly
  • #947 Fix pivot table integrity when saving multiple times
  • #956 Do not quote worksheet name with whitespace when saving pivot table worksheet source
  • #969 Fix ranges consolidation
  • #985 Set XLPivotField.ShowBlankItems by default to false and fix treatment of defaults from loading file
  • #988 FIX for XLConditionalFormat equality comparer fails for ColorScale
  • #998 Copies of tables should have RelId default to null
  • #1023 Sort ranges to shift before enumerating through them to avoid new target address conflicting with existing range
  • #1028 Copy row/column visibility setting
  • #1029 CellsUsed refactoring and fix
  • #1031 Fix for merging cells
  • #1032 Change the way invalid ranges are saved
  • #1041 Autofilter with multiple columns with filters
  • #1047 String comparisons should be case-insensitive
  • #1048 Shift data validation ranges when inserting / delete ranges

Breaking changes

  • This package now depends on FastMember instead of FastMember.Signed.
  • IDisposable interface removed from IXLWorksheet. See #1049
  • IXLPictures interface has changed to accept parameters of type IXLCell instead of IXLAddress. See #930
  • IXLBaseAutoFilter removed and replaced with the existing IXLAutoFilter. See #909
  • IXLRange.ToString() and IXLRangeAddress.ToString() now return context aware range strings. See #1021

Enhancements

  • #856 Clear pivot table rendered range upon loading to avoid conflict on rendered cells when opening the file.
  • #877 Add helper property VisibleRows for autofilters
  • #884 Allow pivot tables to have no theme
  • #904 Implement the full range of Item subclasses for pivot tables
  • #905 Don't choke on pivot table saving when formulas fail
  • #908 New methods to append and replace table data
  • #909 New method to reapply autofilter
  • #926 Disallow table with null .DataRange when saving
  • #930 Store picture markers against a range to allow shifting when inserting and deleting
  • #932 Optionally propagate extra table columns when changing data
  • #945 Allow Guid values to be inserted when dumping data
  • #962 Add ability to set cell value to an enum value
  • #978 Add table helper methods: IXLTables.TryGetTable()
  • #996 Allow table field names consisting of only whitespace
  • #999 Allow names to start with backslash
  • #1005 Ignore print areas that point to external workbooks
  • #1019 Improve XLCell.TryGetValue and implement additional tests
  • #1021 Return simpler range address values
  • #1025 Lazy initialize graphics
  • #1033 Optimize the performance of searching range intersections on small collections
  • #1035 Improve implicit string casting
  • #1036 Don't validate named ranges when loading file
  • #1044 Add check that data validation value length does not exceed 255 chars
  • #1064 Make TryGetValue_decimal_Good2test environment-independent

Bug fixes

  • #876 Correctly unprotect worksheet without password
  • #887 Correctly determine used range when there are merged ranges on a worksheet
  • #903 Clear all cell contents (formats too) in pivot table range upon loading.
  • #906 Maintain pivot table page field order
  • #931 Delete table rows correctly
  • #947 Fix pivot table integrity when saving multiple times
  • #956 Do not quote worksheet name with whitespace when saving pivot table worksheet source
  • #969 Fix ranges consolidation
  • #985 Set XLPivotField.ShowBlankItems by default to false and fix treatment of defaults from loading file
  • #988 FIX for XLConditionalFormat equality comparer fails for ColorScale
  • #998 Copies of tables should have RelId default to null
  • #1023 Sort ranges to shift before enumerating through them to avoid new target address conflicting with existing range
  • #1028 Copy row/column visibility setting
  • #1029 CellsUsed refactoring and fix
  • #1031 Fix for merging cells
  • #1032 Change the way invalid ranges are saved
  • #1041 Autofilter with multiple columns with filters
  • #1047 String comparisons should be case-insensitive
  • #1048 Shift data validation ranges when inserting / delete ranges

Release Notes

See https://github.com/ClosedXML/ClosedXML/releases/tag/0.94.0

Version History

Version Downloads Last updated
0.94.0 630 12/12/2018
0.94.0-rc2 520 11/29/2018
0.94.0-rc1 1,585 11/11/2018
0.93.1 118,545 8/7/2018
0.93.0 58,183 6/25/2018
0.93.0-rc3 1,959 6/7/2018
0.93.0-rc2 765 5/31/2018
0.93.0-beta4 1,683 5/14/2018
0.93.0-beta2 1,165 4/26/2018
0.93.0-beta1 409 4/19/2018
0.92.1 103,524 4/10/2018
0.92.0-beta1 1,864 3/22/2018
0.91.1 6,338 4/4/2018
0.91.0 82,494 1/31/2018
0.91.0-beta3 551 1/23/2018
0.91.0-beta2 3,978 12/8/2017
0.91.0-beta1 592 11/29/2017
0.90.0 166,699 10/23/2017
0.90.0-beta2 836 10/6/2017
0.89.0 93,500 9/12/2017
0.89.0-beta1 724 8/23/2017
0.88.0 61,771 7/24/2017
0.88.0-beta1 637 7/10/2017
0.87.1 221,025 4/3/2017
0.86.0 122,974 1/6/2017
0.85.0 51,085 12/7/2016
0.80.1 107,167 9/15/2016
0.76.0 511,311 12/16/2014
0.75.0 58,605 9/17/2014
0.74.0 21,288 8/10/2014
0.73.0 13,623 6/24/2014
0.72.3 5,727 6/4/2014
0.72.2 424 6/4/2014
0.72.1 3,094 6/4/2014
0.72.0 2,398 6/4/2014
0.71.1 3,636 5/26/2014
0.70.0 3,315 5/18/2014
0.69.2 57,464 10/3/2013
0.69.1 10,800 8/15/2013
0.69.0 719 8/10/2013
0.68.1 34,670 10/20/2012
0.68.0 708 10/12/2012
0.67.2 8,680 8/14/2012
0.67.1 471 8/13/2012
0.67.0 501 8/12/2012
0.66.1 1,154 7/28/2012
0.66.0 730 7/18/2012
0.65.2 2,330 4/21/2012
0.64.0 2,318 2/4/2012