Commit Graph

196 Commits

Author SHA1 Message Date
wei
9b6079646e 0.14.7
- [New] SaveAs Support Create Multiple Sheets
- [Breaking Change] Change GetSheetNames type IEnumerable<string> -> List<string>
2021-05-13 22:18:31 +08:00
wei
1463c16ba0 0.14.6
- [Bug] Fix SaveAs by datareader error "Invalid attempt to call FieldCount when reader is closed" #230
2021-05-13 11:41:07 +08:00
wei
a72b469cdb 0.14.5
- [Breaking Change] Rename OpenXmlConfiguration FillMergedCells
2021-05-12 20:29:08 +08:00
wei
0a8e2fdde3 [Bug] Fix QueryAsDataTable error "Cannot set Column to be null" #229 2021-05-12 16:56:11 +08:00
wei
78001a7d8e [New] Query support Fill Merged Cells Down #122 2021-05-12 16:33:06 +08:00
wei
c0799b933d Support Xlsm AutoCheck #227 2021-05-10 15:14:58 +08:00
wei
c7e4230729 Fix SaveAsByTemplate single column demension index error #226 2021-05-10 14:33:09 +08:00
wei
64071b196e Fix asp.net webform gridview datasource can't use miniexcel queryasdatatable #223 2021-05-07 13:10:05 +08:00
wei
8f3d521600 0.14.1
- [Bug] Fix custom m/d format not convert datetime #222
2021-05-07 10:02:13 +08:00
wei
33c3a191cc 0.14.0
- [New] Query、GetColumns support startCell #147
- [New] GetColumns support read headers
2021-05-06 15:47:08 +08:00
wei
165f015457 update benchmarks debug mode 2021-05-05 11:36:19 +08:00
wei
44b89cccac 0.13.5
- [New] Support QueryAsDataTable method [#216](https://github.com/shps951023/MiniExcel/issues/216)
- [New] SaveAs support IDataReader value parameter [#211](https://github.com/shps951023/MiniExcel/issues/211)
- [Bug] Fix numeric format string will be cast to numeric type [#I3OSKV](https://gitee.com/dotnetchina/MiniExcel/issues/I3OSKV)
- [Opt] Optimize SaveAs convert value type logic to improve performance
2021-04-30 17:59:12 +08:00
wei
8a455901ba [New] Support QueryAsDataTable method [#216](https://github.com/shps951023/MiniExcel/issues/216) 2021-04-30 16:21:29 +08:00
wei
9dc4925a68 Fix numeric format string will be cast to numeric type #I3OSKV
e0044d8
Query refacturing code
2021-04-30 14:45:47 +08:00
wei
e0044d8f01 Fix numeric format string will be cast to numeric type #I3OSKV 2021-04-30 12:09:58 +08:00
wei
bf8ada25dd Test #220 can't summary numeric cell value default, need to cast 2021-04-30 10:36:30 +08:00
wei
d31308f1d6 tests SaveAs enum mapping 2021-04-26 12:00:41 +08:00
wei
3469d7f5b8 [OPT] Optimize stream excel type check #215 2021-04-26 11:48:09 +08:00
wei
cd1a71a6f6 [New] Type Query support Enum mapping #89 2021-04-26 11:28:10 +08:00
wei
e839b3f3fc [Changed ] DataTable recommended to use Caption for column name first, then use columname #217 2021-04-23 08:54:40 +08:00
wei
093ce71f2d [Bug] Fixed MiniExcel.SaveAs(path, value,sheetName:"Name"), the actual sheetName is Sheet1 2021-04-22 14:42:43 +08:00
wei
760bd5e851 [Bug] Fixed SaveAsByTemplate when merge cells will cause collection rendering error [#207] 2021-04-22 13:57:37 +08:00
wei
feb46c9c89 - [Breaking Change] Change CSV SaveAs datetime default format : "yyyy-MM-dd HH:mm:ss"
- [New] Support Linux ubuntu dotnet test
- [New] Support Github CI
2021-04-21 19:23:48 +08:00
wei
3aeae7df7a - [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 2021-04-20 16:19:47 +08:00
wei
9b593cb474 0.13.2
- [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
wei
c2bb4d9591 Fix SaveAsByTemplate with DataTable parameter will cause the number of demension rows differs by one #206 2021-04-19 15:13:23 +08:00
ITWeiHan
c3e67b4fb2 Add Datatable parameter test 2021-04-19 02:49:16 +08:00
ITWeiHan
8e10bff0bb drafts\【Try】Multiple Thread SaveAsByTemplate Test.linq
drafts\【Try】Quick get IEnumerable count.linq
2021-04-18 22:51:19 +08:00
ITWeiHan
ff746cf928 SaveAsByTemplate support input IEnmerable<IDicionary<string,object>> or DapperRows or DataTable parameters 2021-04-18 12:39:40 +08:00
ITWeiHan
fbfca6354e - [New] SaveAsByTemplate support input IEnmerable<IDicionary<string,object>> or DapperRows parameters [#201](https://github.com/shps951023/MiniExcel/issues/201) 2021-04-18 11:59:34 +08:00
ITWeiHan
61d816f477 - [Bug] Fix after stream SaveAs/SaveAsByTemplate, miniexcel will close stream [#200](https://github.com/shps951023/MiniExcel/issues/200) 2021-04-18 10:57:50 +08:00
ITWeiHan
bb75cee230 SaveAsByTemplate support by template bytes 2021-04-18 00:20:45 +08:00
ITWeiHan
0beb96cf91 [New] SaveAsByTemplate by template bytes 2021-04-18 00:13:41 +08:00
wei
7b76e4b949 when multi-sheets then every time need to new XRowInfos or it'll cause duplicate rows 2021-04-16 17:31:39 +08:00
wei
d098c10d26 - [Fix] Template excel that with namespace prefix will cause parsing error #193 2021-04-16 16:28:43 +08:00
wei
1be832d8bd 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-15 11:00:53 +08:00
wei
e7f858a6e4 - [Fix] Template concating cell value type problem #179
- [Fix] Template fix non-nullable numeric type cell type is 'str' #180
2021-04-15 10:36:52 +08:00
ITWeiHan
ec8a74f929 [Fix] Template input IEnumerable and one of it is null will not format cellvalue #178 2021-04-14 22:42:25 +08:00
wei
427ba279fb - [New] Support GetColumns method #174 2021-04-14 22:28:43 +08:00
wei
6bd9195a4a Paging Query 2021-04-14 16:35:28 +08:00
wei
a3f57b6476 Fix GetColumnsTest relative path 2021-04-14 15:47:53 +08:00
wei
1ea8957a6a - [New] Support GetColumns method #174
- [Fix] dimension without x prefix #175
2021-04-14 15:42:05 +08:00
wei
d11a3aafeb optimize template performance 2021-04-14 15:02:43 +08:00
ITWeiHan
15681d7078 Stop PerformanceTest 2021-04-13 23:37:13 +08:00
ITWeiHan
6dea49daa4 0.12.0-beta
- [New] Support `Filling Excel` by SaveAsByTemplate method to fill data into excel by xlsx template
2021-04-13 23:33:01 +08:00
wei
d8721c380e Template generate support by POCO 2021-04-13 18:40:04 +08:00
wei
d1a0871686 [New] Support Filling Excel by SaveAsByTemplate method to fill data into excel by xlsx template 2021-04-13 15:19:39 +08:00
ITWeiHan
77bfb1c750 0.11.1
- [New] Support Support ColumnIndex Attribute [#142](#142) & [#I3I3EB](https://gitee.com/dotnetchina/MiniExcel/issues/I3I3EB)
- [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-10 03:27:29 +08:00
ITWeiHan
5cba1efe2d 0.11.1
- [New] Support Support ColumnIndex Attribute [#142](https://github.com/shps951023/MiniExcel/issues/142) & [#I3I3EB](https://gitee.com/dotnetchina/MiniExcel/issues/I3I3EB)
- [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-10 03:01:13 +08:00
ITWeiHan
6b9e929ef5 SaveAs support columnindex attribute 2021-04-10 01:38:45 +08:00
ITWeiHan
4d586b2a08 Fix issue #150 : input IEnuerable<valuetype> should throw clear msg exception 2021-04-09 19:04:41 +08:00
ITWeiHan
ae9a70b3f7 Fix issue #157 : Special conditions will get the wrong worksheet name 2021-04-09 18:30:57 +08:00
wei
64ab488282 Support CsvConfiguration set newLine & seperator & GetStreamReaderFunc 2021-04-08 14:39:33 +08:00
wei
485c8b664c 0.11.0
- [New] Added GetSheetNames method support multi-sheets Query
- [New] Query support by sheet name
- Optimiz SaveAs/Query excel file type auto-check
2021-04-08 10:22:50 +08:00
wei
346b1f6e12 Code Refacturing 2021-04-08 09:41:16 +08:00
wei
a15dd8813e [New] Query support getting rows from sheet name 2021-04-07 12:04:40 +08:00
wei
ea85baf843 Add CsvExcelTypeTest 2021-04-07 10:48:35 +08:00
wei
b354b947f6 0.10.3
Fix #149 Query sharedstring control characters not encoding
2021-04-06 17:05:11 +08:00
wei
340793574d Fix issue #149 Query sharedstring control characters not encoding 2021-04-06 17:01:20 +08:00
wei
0f6d5bf0df 0.10.2
Fix Issue153 : SharedStrings get wrong index
2021-04-06 10:38:08 +08:00
ITWeiHan
37df0e7110 SaveAs support control character encoding 2021-04-05 23:33:16 +08:00
ITWeiHan
740d28bd21 0.10.1
- [New] SaveAs support POCO excel column name/ignore attribute
2021-04-05 01:39:10 +08:00
wei
9df9e51946 0.10.0
- [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-02 18:07:23 +08:00
wei
77cf5f2feb 0.10.0
- [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-02 17:59:57 +08:00
wei
b8497f532a Query dynamic with first head will ignore blank/whitespace columns, from issue #137 2021-04-01 17:16:05 +08:00
wei
73743820a8 [test] Issue138 unit test 2021-04-01 15:16:29 +08:00
wei
1233929cee ### 0.9.1
- [Bug] Solve cannot convert Cell value to Nullable<T> (issue #138)
2021-04-01 14:15:43 +08:00
wei
ceab6e069d 0.9.0
- [Bug] Solve cannot convert Cell value to Nullable<T> (issue #138)
- [Bug] Solve System.IO.Compression referencing twice  (issue #97)
2021-04-01 13:27:39 +08:00
wei
295bfada88 MiniExcel Query by filePath tests 2021-03-29 09:58:26 +08:00
wei
13b601e8b1 0.8.0
- [New] Add MiniExcel.Query by file path method
2021-03-29 09:43:57 +08:00
wei
2e087abf83 Code Refacturing 2021-03-29 09:27:42 +08:00
wei
201022a794 [Breaking Change] SaveAs value parameter change type check logic 2021-03-28 02:08:50 +08:00
wei
92a4c3fa66 ### 0.6.0
- [New] SaveAs support parameter IEnumerable lazy loading
- [Breaking Change] Remove SaveAs by object, now only support Datatable,IEnumerable<T>,ICollection<T>
- [Bug] Fix empty rows generate excel error (issue: #128)
2021-03-26 13:46:08 +08:00
wei
4ebe435878 code refacturing 2021-03-26 09:02:55 +08:00
wei
7222d58979 0.5.0
- Support OpenXml Xlsx SaveAs writer mode that avoids OOM
- [Breaking Change] Remove SaveAs startCell parameter
- [Bug] Fix SaveAs dimension printHeader:true not correct
2021-03-26 08:57:11 +08:00
wei
c8de5eccfe code refactoring : SaveAs 2021-03-25 13:25:23 +08:00
wei
8cca5fedde Support csv query typemapping 2021-03-25 11:35:26 +08:00
wei
7cbc2cbe19 code refactoring 2021-03-25 11:05:14 +08:00
wei
ea2a5e50d6 - [Breaking Changes] Remove Query First/FirstOrDefault/Single/SingleOrDefault, user can use LINQ method do it.
- Remove Query by path
2021-03-25 10:36:04 +08:00
wei
175e8a5234 Just rename 2021-03-25 09:30:39 +08:00
wei
eb31d2b38d - Support create CSV by file path or stream
- Add MiniExcel.Query("file path")
- Support custom configuration setting
- Support auto/manual specify excel type way
2021-03-25 09:24:00 +08:00
wei
15c87decf1 Support create CSV file or stream by SaveAs 2021-03-22 17:14:11 +08:00
ITWeiHan
d990195f89 0.3.0 2021-03-21 18:26:00 +08:00
wei
6f60ebd860 Support SaveAs by IEnumerable of DapperRow and IDictionary<string,object> 2021-03-21 17:10:37 +08:00
wei
727d14e23f Support SaveAs DapperRow and IDictionary 2021-03-21 17:00:44 +08:00
ITWeiHan
07f10a520f Support TimeSpan Mapping 2021-03-20 23:54:42 +08:00
ITWeiHan
b8605c9bda Support DatetimeSpanFormat Mapping DateTime 2021-03-20 14:51:06 +08:00
wei
786e2a82bd 0.2.2
- SavaAs support xl/sheet dimension
- [Breaking Changes] SaveAs value type from object to DataTable & ICollection
- Bug fix: ICollection with type but no data error (https://github.com/shps951023/MiniExcel/issues/105)
2021-03-18 11:41:22 +08:00
ITWeiHan
1d33ccdce8 SaveAs File by datatable with dimension 2021-03-18 00:40:46 +08:00
ITWeiHan
1c72760c71 - Support : empty rows dimension
- Fix : dimension just one column parsing error
2021-03-18 00:17:45 +08:00
wei
f3c9caa777 Finish : [Query Support Sheet Xml c without r · Issue #2 · shps951023/MiniExcel](https://github.com/shps951023/MiniExcel/issues/2) 2021-03-16 20:12:04 +08:00
wei
e23ec5ba02 appveyor 2021-03-16 15:07:10 +08:00
wei
7580d515e9 support appveyor 2021-03-16 14:58:14 +08:00
wei
0e4ad095b1 Optimize bool and datetime auto check 2021-03-16 09:33:37 +08:00
wei
94775c9638 - Add Query strongly typed mapping
- Add QueryFirstOrDefault、QuerySingle、QuerySingleOrDefault
2021-03-15 13:41:29 +08:00
wei
9ec0b3fe88 tests move to /tests folders 2021-03-15 09:00:48 +08:00