2021-03-03 15:38:54 +08:00
## Release Notes
2021-04-10 16:09:57 +08:00
---
2021-05-12 20:29:08 +08:00
< div align = "center" >
< a href = "https://www.nuget.org/packages/MiniExcel" > < img src = "https://img.shields.io/nuget/v/MiniExcel.svg" alt = "NuGet" > < / a > < a href = "https://www.nuget.org/packages/MiniExcel" > < img src = "https://img.shields.io/nuget/dt/MiniExcel.svg" alt = "" > < / a > < a href = "https://ci.appveyor.com/project/shps951023/miniexcel/branch/master" > < img src = "https://ci.appveyor.com/api/projects/status/b2vustrwsuqx45f4/branch/master?svg=true" alt = "Build status" > < / a >
< / div >
< div align = "center" >
< strong > < a href = "README.md" > English< / a > | < a href = "README.zh-CN.md" > 简体中文< / a > | < a href = "README.zh-Hant.md" > 繁體中文< / a > < / strong >
< / div >
< div align = "center" >
2021-06-19 18:03:08 +08:00
🙌 < a href = "https://github.com/shps951023/MiniExcel" > Star< / a > can make MiniExcel better 🙌
2021-05-12 20:29:08 +08:00
< / div >
2021-04-10 16:09:57 +08:00
---
2021-09-29 16:08:19 +08:00
### 0.19.0
2021-10-21 15:51:56 +08:00
- [New] SaveAs default style with autoFilter mode. #190
2021-09-29 16:08:19 +08:00
- [New] Add ConvertCsvToXlsx、ConvertXlsxToCsv method. #292
2021-10-21 16:06:27 +08:00
- [New] OpenXmlConfiguration add AutoFilter property.
2021-09-29 16:08:19 +08:00
- [Bug] Fix after CSV Query then SaveAs system will throw "Stream was not readable." exception. #293
2021-09-10 13:37:49 +08:00
### 0.18.0
2021-09-13 23:58:01 +08:00
- [New] SaveAs support enum description #I49RYZ
2021-09-10 17:21:29 +08:00
- [New] Query strong type support multiple column names mapping to the same property. [#I40QA5 ](https://gitee.com/dotnetchina/MiniExcel/issues/I40QA5 )
2021-09-10 13:37:49 +08:00
- [Breaking Change] SaveAs by empty IEnumerable< StrongType > will generate header now empty rows now. #133
2021-09-13 23:58:01 +08:00
- [Bug] SaveAs sheet enum mapping cell number type #286
2021-09-10 13:37:49 +08:00
2021-08-20 08:54:51 +08:00
### 0.17.5
2021-08-23 10:31:54 +08:00
- [Bug] Fix xlsx file header column name with `&,<,>,",'` , the file cannot be opened.
2021-08-20 08:54:51 +08:00
2021-08-17 16:01:20 +08:00
### 0.17.4
- [Bug] Fix v0.17.3 SaveAs xlsx file will cause "XML error : Catastrophic failure"
2021-08-10 17:10:43 +08:00
### 0.17.3
2021-08-10 16:57:07 +08:00
- [New] Support set column width #280
2021-08-10 14:16:50 +08:00
- [Bug] Fix csv not support QueryAsDataTable #279
2021-07-02 13:41:28 +08:00
- [OPT] Clearer exception message when file is illegal excel zip format. #272
2021-06-30 17:21:15 +08:00
### 0.17.2
2021-07-02 13:41:28 +08:00
- [Bug] Fix v0.16.0-0.17.1 custom format contains specific format (eg:`#,##0.000_);[Red]\(#,##0.000\)`), automatic converter will convert double to datetime #267
2021-06-30 17:21:15 +08:00
2021-06-23 14:59:47 +08:00
### 0.17.1
- [New] Add QueryAsDataTableAsync(this Stream stream..)
- [OPT] More clear strong type conversion error message [#I3X2ZL ](https://gitee.com/dotnetchina/MiniExcel/issues/I3X2ZL )
2021-06-21 12:04:34 +08:00
### 0.17.0
- [New] Support Async/Task #52 , contributor: [isdaniel ( SHIH,BING-SIOU) ](https://github.com/isdaniel )
2021-06-19 21:32:57 +08:00
### 0.16.1
- [New] SaveAsByTemplate support DateTime custom format #255 , contributor: [网虫 (landde) - Gitee.com ](https://gitee.com/landde )
2021-06-17 17:21:13 +08:00
### 0.16.0
2021-06-19 18:03:08 +08:00
- [New] Query support custom datetime format mapping datetime type #256
2021-06-17 17:21:13 +08:00
- [Bug] Fix Query call convertValueByStyleFormat method repeatedly, cause waste of resources #259
2021-06-13 14:42:01 +08:00
### 0.15.5
- [Bug] Chinese env datetime format InvalidCastException #257
2021-06-08 17:12:12 +08:00
### 0.15.4
- [Breaking Change] Set CSV Reader/Writer default encoding : UTF-8 => UTF-8-BOM
- [Breaking Change] Rename CsvConfiguration GetStreamReaderFunc => StreamReaderFunc
2021-06-08 17:19:27 +08:00
- [New] Csv SaveAs support custom StreamWriter
2021-06-08 17:12:12 +08:00
2021-06-08 10:48:34 +08:00
### 0.15.3
- [New] Csv SaveAs support datareader
2021-05-20 10:25:43 +08:00
### 0.15.2
- [New] Support Custom Datetime format #241
2021-05-20 11:53:43 +08:00
- [Bug] Csv type mapping Query error "cannot be converted to xxx type" #243
- [Bug] No error exception throw when reading xls file #242
- [Breaking Change] Stream cannot know the file type, please specify ExcelType manually
2021-05-20 10:25:43 +08:00
2021-05-19 21:32:41 +08:00
### 0.15.1
- [Bug] Fix Sheetxml writer error, it contains two ">" #240
2021-05-19 17:13:47 +08:00
### 0.15.0
- [New] SaveAs change default style and provide style options enum #132
2021-05-19 10:23:50 +08:00
- [New] Support SaveAs by DataSet #235
2021-05-18 17:32:44 +08:00
### 0.14.8
- [Bug] Fix csv Query split comma not correct #237 #I3R95M
- [Bug] QueryAsDataTable type check problem, e.g A2=5.5 , A3=0.55/1.1 will case double type check error #233
2021-05-13 22:18:31 +08:00
### 0.14.7
- [New] SaveAs Support Create Multiple Sheets
- [Breaking Change] Change GetSheetNames type IEnumerable< string > -> List< string >
2021-05-13 11:41:07 +08:00
### 0.14.6
- [Bug] Fix SaveAs by datareader error "Invalid attempt to call FieldCount when reader is closed" #230
2021-05-12 20:29:08 +08:00
### 0.14.5
- [Breaking Change] Rename OpenXmlConfiguration FillMergedCells
2021-05-12 16:33:06 +08:00
### 0.14.4
- [New] Query support Fill Merged Cells Down [#122 ](https://github.com/shps951023/MiniExcel/issues/122 )
2021-05-12 16:56:11 +08:00
- [Bug] Fix QueryAsDataTable error "Cannot set Column to be null" #229
2021-05-12 16:33:06 +08:00
2021-05-10 15:14:58 +08:00
### 0.14.3
- [Opt] Support Xlsm AutoCheck #227
2021-05-12 16:33:06 +08:00
- [Bug] Fix SaveAsByTemplate single column demension index error [#226 ](https://github.com/shps951023/MiniExcel/issues/226 )
2021-05-10 15:14:58 +08:00
2021-05-07 13:10:05 +08:00
### 0.14.2
2021-05-12 16:33:06 +08:00
- [Bug] Fix asp.net webform gridview datasource can't use QueryAsDataTable [#223 ](https://github.com/shps951023/MiniExcel/issues/223 )
2021-05-07 13:10:05 +08:00
2021-05-07 10:02:13 +08:00
### 0.14.1
2021-05-12 16:33:06 +08:00
- [Bug] Fix custom m/d format not convert datetime [#222 ](https://github.com/shps951023/MiniExcel/issues/222 )
2021-05-07 10:02:13 +08:00
2021-05-06 15:47:08 +08:00
### 0.14.0
2021-05-12 16:33:06 +08:00
- [New] Query、GetColumns support startCell [#147 ](https://github.com/shps951023/MiniExcel/issues/147 )
2021-05-06 15:47:08 +08:00
- [New] GetColumns support read headers
2021-04-30 14:45:47 +08:00
### 0.13.5
2021-04-30 16:21:29 +08:00
- [New] Support QueryAsDataTable method [#216 ](https://github.com/shps951023/MiniExcel/issues/216 )
2021-04-30 17:59:12 +08:00
- [New] SaveAs support IDataReader value parameter [#211 ](https://github.com/shps951023/MiniExcel/issues/211 )
2021-04-30 14:45:47 +08:00
- [Bug] Fix numeric format string will be cast to numeric type [#I3OSKV ](https://gitee.com/dotnetchina/MiniExcel/issues/I3OSKV )
2021-04-30 16:21:29 +08:00
- [Opt] Optimize SaveAs convert value type logic to improve performance
2021-04-30 14:45:47 +08:00
2021-04-23 14:28:24 +08:00
### 0.13.4
- [Changed] DataTable use Caption for column name first, then use columname #217
2021-04-26 11:28:10 +08:00
- [New] Type Query support Enum mapping #89
2021-04-26 11:48:09 +08:00
- [OPT] Optimize stream excel type check #215
2021-04-23 14:28:24 +08:00
2021-04-20 16:19:47 +08:00
### 0.13.3
2021-04-22 13:57:37 +08:00
- [New] Support open with read only mode, avoid error of The process cannot access the file because it is being used by another process [#87 ](https://github.com/shps951023/MiniExcel/issues/87 )
2021-04-21 19:23:48 +08:00
- [Breaking Change] Change CSV SaveAs datetime default format : "yyyy-MM-dd HH:mm:ss"
2021-04-22 13:57:37 +08:00
- [Bug] Fixed SaveAsByTemplate when merge cells will cause collection rendering error [#207 ](https://github.com/shps951023/MiniExcel/issues/207 )
2021-04-22 14:42:43 +08:00
- [Bug] Fixed MiniExcel.SaveAs(path, value,sheetName:"Name"), the actual sheetName is Sheet1
2021-04-20 16:19:47 +08:00
2021-04-20 09:57:15 +08:00
### 0.13.2
2021-04-22 13:57:37 +08:00
- [Bug] Fix Column more than 255 rows cannot be read error [#208 ](https://github.com/shps951023/MiniExcel/issues/208 )
2021-04-20 09:57:15 +08:00
2021-04-18 10:57:50 +08:00
### 0.13.1
- [New] SaveAsByTemplate by template bytes, convenient to cache and support multiple users to read the same template at the same time #189
2021-04-18 12:39:40 +08:00
- [New] SaveAsByTemplate support input `IEnmerable<IDicionary<string,object>> or DapperRows or DataTable` parameters [#201 ](https://github.com/shps951023/MiniExcel/issues/201 )
2021-04-18 10:57:50 +08:00
- [Bug] Fix after stream SaveAs/SaveAsByTemplate, miniexcel will close stream [#200 ](https://github.com/shps951023/MiniExcel/issues/200 )
2021-04-16 19:32:49 +08:00
### 0.13.0
- [New] Support .NET Framework 4.5
- [Bug] Fix template excel that with namespace prefix will cause parsing error #193
- [OPT] Optimize template paresing performance
2021-04-15 11:00:53 +08:00
### 0.12.2
- [Bug] Template concating cell value type problem #179
- [Bug] Template fix non-nullable numeric type cell type is 'str' #180
2021-04-14 22:28:43 +08:00
### 0.12.1
- [OPT] Optimize performance of filling excel
- [OPT] Template IEnumerable generate support type auto mapping (Issue #177 )
- [New] Support GetColumns method #174
- [New] Template support $rowindex keyword to get current row index
- [Bug] Dimension without x prefix #175
2021-04-13 23:33:01 +08:00
### 0.12.0-beta
2021-04-13 15:19:39 +08:00
- [New] Support `Filling Excel` by SaveAsByTemplate method to fill data into excel by xlsx template
2021-04-10 03:01:13 +08:00
### 0.11.1
2021-04-10 16:09:57 +08:00
- [New] Support ColumnIndex Attribute [#142 ](https://github.com/shps951023/MiniExcel/issues/142 ) & [#I3I3EB ](https://gitee.com/dotnetchina/MiniExcel/issues/I3I3EB )
2021-04-10 03:01:13 +08:00
- [Bug] Fix issue #157 : Special conditions will get the wrong worksheet name
- [Update] issue #150 : SaveAs input IEnuerable< valuetype > should throw clear msg exception
2021-04-08 10:22:50 +08:00
### 0.11.0
- [New] Added GetSheetNames method support multi-sheets Query
- [New] Query support by sheet name
2021-04-08 14:39:33 +08:00
- [New] Csv SaveAs support DataTable/Dictionary parameters
2021-04-08 14:40:57 +08:00
- [New] CsvConfiguration support custom newLine & seperator & GetStreamReaderFunc
2021-04-14 22:28:43 +08:00
- [OPT] Optimize SaveAs/Query excel file type auto-check
2021-04-07 10:05:08 +08:00
2021-04-10 16:09:57 +08:00
### 0.10.3(Don't use this version)
2021-04-06 17:05:11 +08:00
- [Bug] Fix Query SharedStrings control character not encoding (issue [Issue #149 ](https://github.com/shps951023/MiniExcel/issues/149 ))
2021-04-10 16:09:57 +08:00
### 0.10.2(Don't use this version)
2021-04-06 10:44:54 +08:00
- [Bug] Fix SharedStrings get wrong index (issue [#153 ](https://github.com/shps951023/MiniExcel/issues/153 ))
2021-04-06 17:01:20 +08:00
- [Bug] SaveAs support control character encoding (issue [Issue #149 ](https://github.com/shps951023/MiniExcel/issues/149 ))
2021-04-05 01:39:10 +08:00
2021-04-10 16:09:57 +08:00
### 0.10.1(Don't use this version)
2021-04-05 01:39:10 +08:00
- [New] SaveAs support POCO excel column name/ignore attribute
2021-04-10 16:09:57 +08:00
### 0.10.0(Don't use this version)
2021-04-02 17:59:57 +08:00
- [New] Query dynamic with first head will ignore blank/whitespace columns
- [New] Query type mapping support Custom POCO excel column name/ignore attribute
2021-04-10 16:09:57 +08:00
### 0.9.1(Don't use this version)
2021-04-01 13:27:39 +08:00
- [Bug] Solve cannot convert Cell value to Nullable< T > (issue #138 )
2021-04-01 14:15:43 +08:00
2021-04-10 16:09:57 +08:00
### 0.9.0(Don't use this version)
2021-04-01 13:27:39 +08:00
- [Bug] Solve System.IO.Compression referencing twice (issue #97 )
2021-04-01 13:43:14 +08:00
- [Bug] StrongTypeMapping Query empty row will be generated repeatedly
2021-04-01 13:27:39 +08:00
2021-04-10 16:09:57 +08:00
### 0.8.0(Don't use this version)
2021-03-29 09:43:57 +08:00
- [New] Add MiniExcel.Query by file path method
2021-04-10 16:09:57 +08:00
### 0.7.0(Don't use this version)
2021-03-28 22:56:18 +08:00
- Optimize SaveAs logic
2021-03-28 02:08:50 +08:00
- [Breaking Change] SaveAs value parameter change type check logic
2021-04-10 16:09:57 +08:00
### 0.6.0(Don't use this version)
2021-03-30 10:17:48 +08:00
- [New] SaveAs support parameter IEnumerable deferred execution
2021-03-26 13:46:08 +08:00
- [Breaking Change] Remove SaveAs by object, now only support Datatable,IEnumerable< T > ,ICollection< T >
- [Bug] Fix empty rows generate excel error (issue: #128 )
2021-04-10 16:09:57 +08:00
### 0.5.0(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Support OpenXml Xlsx SaveAs writer mode that avoids OOM
2021-03-26 08:57:11 +08:00
- [Breaking Change] Remove SaveAs startCell parameter
- [Bug] Fix SaveAs dimension printHeader:true not correct
2021-04-10 16:09:57 +08:00
### 0.4.0(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Support create CSV by file path or stream
- [New] Support csv custom configuration setting
- [New] Support auto/manual specify excel type (xlsx or csv)
2021-03-25 10:36:04 +08:00
- [Breaking Changes] Remove Query First/FirstOrDefault/Single/SingleOrDefault, user can use LINQ method do it.
2021-03-22 17:14:11 +08:00
2021-04-10 16:09:57 +08:00
### 0.3.0(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Support SaveAs by IEnumerable of DapperRow and IDictionary< string , object >
- [New] Support dynamic query timespan style format mapping to timespan type.
2021-03-21 17:10:37 +08:00
2021-04-10 16:09:57 +08:00
### 0.2.3(Don't use this version)
2021-03-20 14:51:06 +08:00
- [Bug] Fix ShMemory leak and static problem.
2021-03-26 13:46:08 +08:00
- [New] Support style datetime format mapping to datetime type.
2021-03-20 14:51:06 +08:00
2021-04-10 16:09:57 +08:00
### 0.2.2(Don't use this version)
2021-03-18 11:41:22 +08:00
- SavaAs support xl/sheet dimension
- [Breaking Changes] SaveAs value type from object to DataTable & ICollection
2021-03-20 14:51:06 +08:00
- [Bug] Fix ICollection with type but no data error (https://github.com/shps951023/MiniExcel/issues/105)
2021-03-18 11:41:22 +08:00
2021-04-10 16:09:57 +08:00
### 0.2.1(Don't use this version)
2021-03-26 13:46:08 +08:00
- [Optimize] Optimize type mapping bool and datetime auto check
- [New] Query Support xl/worksheets/Sheet Xml Xml `<c>` without `r` attribute or without `<dimension>` but `<c>` with `r` attribute, but now performance is slow than with dimension ([](https://github.com/shps951023/MiniExcel/issues/2))
2021-03-17 08:45:12 +08:00
2021-04-10 16:09:57 +08:00
### 0.2.0(Don't use this version)
2021-03-16 15:24:37 +08:00
- Release to nuget.org
2021-04-10 16:09:57 +08:00
### 0.1.0-preview(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Add Query strongly typed mapping
- [New] Add QueryFirstOrDefault、QuerySingle、QuerySingleOrDefault
2021-03-15 13:41:29 +08:00
2021-04-10 16:09:57 +08:00
### 0.0.7-beta(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Add QueryFirst method
2021-03-15 13:41:29 +08:00
2021-04-10 16:09:57 +08:00
### 0.0.6-beta(Don't use this version)
2021-03-26 13:46:08 +08:00
- [Breaking Changes] Replace Create by SavaAs
2021-03-14 20:56:10 +08:00
2021-04-10 16:09:57 +08:00
### 0.0.5-beta(Don't use this version)
2021-03-14 20:45:14 +08:00
- Release remove `assembly: InternalsVisibleTo`
2021-04-10 16:09:57 +08:00
### 0.0.4-beta(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Support SaveAs Stream
2021-03-14 13:26:40 +08:00
2021-04-10 16:09:57 +08:00
### 0.0.3-beta(Don't use this version)
2021-03-30 10:17:48 +08:00
- [New] Support Query dynamic and IEnumrable Deferred Execution to avoid OOM
2021-03-26 13:46:08 +08:00
- [New] MiniExcelHelper.Create value type change to ICollection
- [New] Encode XML Value `' " > < &`
- [New] Check Multiple Sheet Index Order
- [New] Dynamic Query support A,B,C.. column name key
- [New] Support insert empty Rows between rows
2021-03-05 12:18:12 +08:00
2021-04-10 16:09:57 +08:00
### 0.0.2-beta(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Add MiniExcelHelper.Read Method
- [Breaking Changes] Remove System.IO.Packaging.Package Dependency, and replaced by System.IO.Compression.ZipArchive
2021-03-03 15:38:54 +08:00
2021-04-10 16:09:57 +08:00
### 0.0.1-beta(Don't use this version)
2021-03-26 13:46:08 +08:00
- [New] Add MiniExcelHelper.Create
2021-03-05 12:18:12 +08:00
### 0.0.0
2021-03-03 15:38:54 +08:00
- Init