Skip to content

Releases: mini-software/MiniExcel

1.45.0

26 Jun 19:21
e1c6869

Choose a tag to compare

Summary

This release adds .NET Framework 4.6.1 as an explicit target framework to the library.
This was done because projects targeting the full framework would install through NuGet the closest matching version to their compilation target, said version being .NET 4.5 instead of the preferred netstandard2.0. This had the most notable effect of IAsyncEnumerables not being supported as exportable data sources.

What's Changed

Full Changelog: 1.44.1...1.45.0

2.0.0 Preview 4

13 Jun 20:49
e10b5f9

Choose a tag to compare

2.0.0 Preview 4 Pre-release
Pre-release

This release brings bug fixes, new features and quality of life improvements, such as proper number/datetime format serialization, resource based localization for the column attributes, support for querying named tables, dynamic sheet generation for templates and more!
This will most likely be the last pre-release version before the full fledged v2 release, so please do try it out and send feedback if you can, it would be very appreciated!

What's Changed - Details

New Contributors

Full Changelog: 2.0.0-preview.3...2.0.0-preview.4

1.44.1

15 May 20:21
1894f4b

Choose a tag to compare

Summary

This release is a hotfix for an oversight that prevented numerical string values to be recognized as text by Excel when explicitly exported with the "@" format.

What's Changed

Full Changelog: 1.44.0...1.44.1

1.44.0

13 May 22:10
74751ff

Choose a tag to compare

Added proper numerical formatting for numbers, dates and times

This release addresses a long standing issue with regards to the MiniExcelFormatAttribute.

Prior to this update all values of the properties it was used upon would be converted to their string representation according to the specified format, instead of being exported as is and linked to a style element like the OpenXml specification suggests.
This prevented the results to be used as actual numerical values, e.g. in formulas, while still retaining their representation.

With this update the inconvenience has mostly been solved, as the following types will now be exported preserving their intended value:

  • Unmanaged numerical types (int, long, double, decimal, etc...)
  • DateTime, DateTimeOffset and DateOnly
  • TimeSpan and TimeOnly

All changes

Full Changelog: 1.43.1...1.44.0

2.0.0 Preview 3

26 Apr 19:02

Choose a tag to compare

2.0.0 Preview 3 Pre-release
Pre-release

After a bit of a hiatus since the last preview version, this one brings many fixes and new features. There will be one more preview release after this one, but a full fledged v2 release will most likely follow shortly after.

New Features - Summary

  • The OpenXml logic has been decoupled from all the abstractions, making it possible for this version to be released under 4 different packages: MiniExcel.Core for the abtractions, MiniExcel.OpenXml for the OpenXml functionalities, MiniExcel.Csv for the csv functionalities, and finally the full package MiniExcel.
  • Public fields can now get mapped for importing and exporting, not by default but when marked with MiniExcelColumnAttribute or any other MiniExcel attribute.
  • It is now possible to hide columns when exporting a worksheet by marking the respective property with MiniExcelHiddenAttribute or MiniExcelColumnAttribute.Hidden.
  • OpenXmlImporter has been enhanced with new method RetrieveCommentsAsync, allowing for retrieval of both threaded comments and legacy notes from a worksheet.
  • OpenXmlExporter has been enhanced with new method AlterWorksheetAsync, allowing for editing an existing worksheet's name, index and visibility state.
  • The implementation of MiniExcelDataReader has been extended, turning it into a fully functional IDataReader.
  • The RightToLeft parameter was added to OpenXmlConfiguration allowing for a worksheet to be displayed in Excel in a RTL manner.
  • It is now possible to choose horizontal and vertical cell alignment for the whole column rather than only for the header through the OpenXmlConfiguration.StyleOptions.

What's Changed - Details

New Contributors

Full Changelog: 2.0.0-preview.2...2.0.0-preview.3

1.43.1

19 Apr 14:53
ce7bb90

Choose a tag to compare

What's Changed

  • Fixed headers being printed when using SaveAsAsync despite ExcelIgnore property set to true on DynamicExcelColumn by @michelebastione in #937
  • Backports background color and text alignment style options from v2.x by @michelebastione in #945
  • Preparations for v1.43.1 release by @michelebastione in #948

Full Changelog: 1.43.0...1.43.1

1.43.0

12 Mar 22:27
ad5914b

Choose a tag to compare

What's Changed

This release brings the following features and fixes:

New Features

  • Adds RightToLeft parameter in OpenXmlConfiguration to make worksheets being displayed in a right-to-left layout when opened in Excel by @michelebastione in #935 (mirrors #927)
  • Adds the ExcelHiddenAttribute that, when used to decorate a property, hides the mapped column in Excel by @michelebastione in #935 (mirrors #932)

Bugfixes

  • Fixes IAsyncEnumerator not being properly disposed in AsyncEnumerableWriteAdapter, leading to database connections not being released by @izanhzh and @michelebastione in #907 (mirrors #906)
  • Fixed an error that resulted in corrupted Excel files when filling a template by @A-nony-mous and @michelebastione in #926 (mirrors #917)
  • Fixes empty or whitespace rows breaking the parsing of csv files by @michelebastione in #926 (mirrors #923)
  • Fixes numeric value not being passed in a culturally invariant format to template cells when being fetched from a Dictionary or a DataTable by @michelebastione in #926 (mirrors #924)
  • Fixes cells in Excel templates containing strings such as @group (like in some emails) to be mistakenly identified as template parameters by @michelebastione in #935 (mirrors #928)
  • Refactored column width writing logic to default to Excel's 8.43 characters (64px) and taking padding into account by @michelebastione in #935 (mirrors #930)

Full Changelog: 1.42.0...1.43.0

2.0.0 Preview 2

16 Nov 21:15
10cd617

Choose a tag to compare

2.0.0 Preview 2 Pre-release
Pre-release

New Pre-Release Version

Big milestone reached with the implementation of a Fluent Mapper. It allows for a powerful new way to use MiniExcel, giving you finer grained control over the way you can map Excel sheets to your objects and collections! Read more about it in the docs.
Thanks to everyone who tried out our previous pre-release and sent feedback! We're getting close to a full v2 release, stay tuned for updates!

What's Changed

New Contributors

Full Changelog: 2.0.0-preview.1...2.0.0-preview.2

1.42.0

16 Nov 17:01
eeffbbc

Choose a tag to compare

What's Changed

  • Added custom exception for indexers being treated as properties during serialization by @michelebastione in #885
  • Fixed two edge cases with the mapping of double types by @michelebastione in #887
  • Fix #888: Ignore empty rows on read by @paulroho in #890
  • Changed the default location where the shared strings cache is stored and added option to customize it by @michelebastione in #898
  • Added .net10.0 as a target framework to all projects and other related changes by @michelebastione in #899

New Contributors

Full Changelog: 1.41.4...1.42

1.41.4

17 Sep 08:55
c00f479

Choose a tag to compare

1.41.4

  • [Bug] Fixed issue where formulas were not being replaced in templates (#876) (via @michelebastione)
  • [Bug] Mirrored fix for issue #869 from master branch to maintenance branch (#873) (via @michelebastione)
  • [Bug] Fixed formulas not being replaced in templates (#869) (via @ethanlin6)
  • [New] Made SaveAsByTemplate overload with Stream template parameter public and callable via API (#838) (via @michelebastione)