Repository navigation
2.0.0 - First Full Release
It's been more than a year since the first v2 pre-release of the library was published, and after much work the MiniExcel team is happy to annouce the first full release is finally ready!
Thank you to everyone who opened issues and PRs, left feedback, or contributed to the project in any other way.
If you're considering upgrading from v1.x please follow the upgrade notes. We tried to preserve backwards compatibility as much as possible by including the legacy APIs as facade classes and methods, but if you want to take advantage of all the new features you should move to the new modular API. You can read the updated documentation for all the details.
Breaking changes
These breaking changes are only of interest to users upgrading from previous pre-release versions; users who upgrade from v1.x will be unaffected. These changes concern the final deprecation of the facade APIs previously marked with ObsoleteAttribute:
- The
MiniExcelLib.MiniExcelstatic class was removed; the entry points of the library are now strictlyMiniExcelLib.MiniExcelV2for the new API andMiniExcelLibs.MiniExcel(mind the namespace) for the legacy API - The overloads for
OpenXmlEporter.AlterSheetwere removed in favour of the respective ones forOpenXmlEditor.AlterSheetInfo - The
MiniExcelColumnNameAttribute.ExcelColumnNameproperty was removed in favour ofMiniExcelColumnNameAttribute.Name - The
CsvConfiguration.ReadEmptyStringAsNullproperty was removed in favour ofCsvConfiguration.ReadEmptyFieldsAsDefault
A few bugfixes and optimizations have also been included and are listed below.
What's Changed
- Add AGENTS.md by @virzak in #1026
- Cache the column mapping count in CellReferenceConverter by @virzak in #1023
- Avoid per-cell allocations in XmlReaderHelper and TryParseCellReference by @virzak in #1028
- Add QueryCells to read cell formulas, font colors and number formats by @virzak in #1020
- Keep leading and trailing blanks of template values visible in Excel by @ybai08 in #1030
- Treat tabs and line breaks as blanks when exporting strings by @ybai08 in #1033
- Fixed consistency issue with inline test data and minor cleanup by @michelebastione in #1036
- Read built-in number format 17 (mmm-yy) as DateTime by @pedrorossato in #1037
- Apply date and time number formats only to numeric cells by @pedrorossato in #1043
- Automate core reviewer requests and tiered PR approvals by @shps951023 in #1040
- Round imported TimeSpan values to milliseconds like dates by @jayhemnani9910 in #1044
- Export TimeSpan values with the [h]:mm:ss duration format by @jayhemnani9910 in #1045
- Split CSV rows only on the configured separator, not on tabs by @jayhemnani9910 in #1046
- Write the OOXML value of a VeryHidden sheet state by @menes97 in #1048
- Apply ReadEmptyFieldsAsDefault to CSV rows read with a header row by @vtxe02023274 in #1052
- Read @if numeric literals with the invariant culture by @menes97 in #1054
- Decode the @if condition before parsing its operator by @menes97 in #1056
- Detect numeric template values with the invariant culture by @menes97 in #1050
- Strip enclosing quotes before unescaping CSV fields by @vtxe02023274 in #1059
- Apply the first cell's style when FillMergedCells fills a merged range (fixes #550) by @menes97 in #1057
- Format template dates with the configured culture by @menes97 in #1060
- Minor tests cleanup by @michelebastione in #1061
- Removed obsolete public APIs and updated package dependencies by @michelebastione in #1062
- Updated the GitHub readmes, NuGet readme and upgrade notes by @michelebastione in #1063
- Fix typos in documentation by @hamidzr in #1064
- Resolve column names past IV in GetNumericalIndex by @vtxe02023274 in #1066
New Contributors
- @ybai08 made their first contribution in #1030
- @jayhemnani9910 made their first contribution in #1044
- @menes97 made their first contribution in #1048
- @vtxe02023274 made their first contribution in #1052
- @hamidzr made their first contribution in #1064
Full Changelog: 2.0.0-preview.5...2.0.0