diff --git a/ImportExcel.psd1 b/ImportExcel.psd1 index 38b2b7a..51c102d 100644 --- a/ImportExcel.psd1 +++ b/ImportExcel.psd1 @@ -4,7 +4,7 @@ RootModule = 'ImportExcel.psm1' # Version number of this module. - ModuleVersion = '6.0.0' + ModuleVersion = '6.1.0' # ID used to uniquely identify this module GUID = '60dd4136-feff-401a-ba27-a84458c57ede' diff --git a/ImportExcel.psm1 b/ImportExcel.psm1 index f846eb4..be2b011 100644 --- a/ImportExcel.psm1 +++ b/ImportExcel.psm1 @@ -76,7 +76,7 @@ function Import-Excel { Specifies the path to the Excel file. .PARAMETER ExcelPackage Instead of specifying a path provides an Excel Package object (from Open-ExcelPackage) - Using this avoids re-reading the whole file when importing mutliple parts of it. + Using this avoids re-reading the whole file when importing multiple parts of it. To allow multiple read operations Import-Excel does NOT close the package, and you should use Close-ExcelPackage -noSave to close it. .PARAMETER WorksheetName diff --git a/README.md b/README.md index 335be77..18fa6d1 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,11 @@ Install-Module ImportExcel -scope CurrentUser Install-Module ImportExcel ``` +# What's new 6.1.0 + +Thank you to [James O'Neill](https://github.com/jhoneill) +- Instead of specifying a path provides an Excel Package object (from `Open-ExcelPackage`), using this avoids re-reading the whole file when importing multiple parts of it. To allow multiple read operations `Import-Excel` does NOT close the package, and you should use `Close-ExcelPackage -noSave` to close it. + # What's new 6.0.0 Thank you to [James O'Neill](https://github.com/jhoneill) for the optimizations, and refactoring leading to a ***~10x*** speed increase. Thanks to [ili101](https://github.com/ili101) for earlier PRs that provided the ground work for this.