From 9a5db9e67a95778db6eb781cb58ed39ae591a4fd Mon Sep 17 00:00:00 2001 From: wei Date: Sun, 14 Mar 2021 20:56:10 +0800 Subject: [PATCH] 0.0.6-beta --- README.md | 4 ++-- docs/README.md | 3 +++ src/MiniExcel/MiniExcelLibs.csproj | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6952c09..ab4da91 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ using (var stream = File.OpenRead(path)) ### Create Excel Xlsx file by ICollection Anonymous Type/Datatable ```C# var path = Path.Combine(Path.GetTempPath(), $"{Guid.NewGuid()}.xlsx"); -MiniExcel.Create(path, new[] { +MiniExcel.SaveAs(path, new[] { new { Column1 = "MiniExcel", Column2 = 1 }, new { Column1 = "Github", Column2 = 2} }); @@ -71,7 +71,7 @@ var table = new DataTable(); table.Rows.Add("Github", 2); } -MiniExcel.Create(path, table); +MiniExcel.SaveAs(path, table); ``` Create File Result : diff --git a/docs/README.md b/docs/README.md index b4baef8..fef575c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,6 +2,9 @@ ## Release Notes +### 0.0.6-beta +- [Breaking Changes]Replace Create by SavaAs + ### 0.0.5-beta - Release remove `assembly: InternalsVisibleTo` diff --git a/src/MiniExcel/MiniExcelLibs.csproj b/src/MiniExcel/MiniExcelLibs.csproj index 3bbc890..c0bf15d 100644 --- a/src/MiniExcel/MiniExcelLibs.csproj +++ b/src/MiniExcel/MiniExcelLibs.csproj @@ -19,7 +19,7 @@ https://github.com/shps951023/MiniExcel https://raw.githubusercontent.com/shps951023/ImageHosting/master/img/2019-01-17.13.18.32-image.png net461;netstandard2.0;net5.0 - 0.0.5-beta + 0.0.6-beta Please Check [Release Notes](https://github.com/shps951023/MiniExcel/tree/master/docs) Github