diff --git a/CHANGELOG.md b/CHANGELOG.md index d84f890..8960b69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### Zerto Virtual Manager + +* Refactored `Copy-ZertoVpg` functionality to leverage identifier and name maps and eliminate `where-object` searches. +* Updated `Get-ZertoEvent` parameter to fall in line with the filter parameter name in the API documentation. Moved the old parameter name to an alias to ensure that existing functionality continues to work. + ## 1.4.0.20200410 ### Zerto Virtual Manager diff --git a/ZertoApiWrapper.build.ps1 b/ZertoApiWrapper.build.ps1 index 1bafeee..fbf7f0e 100644 --- a/ZertoApiWrapper.build.ps1 +++ b/ZertoApiWrapper.build.ps1 @@ -135,7 +135,7 @@ task UpdateMarkdownHelp CheckPlatyPSInstalled, { #Region - Build Module Files task CreatePsd1ForRelease CleanTemp, { $functionsToExport = Get-ChildItem -Path 'ZertoApiWrapper\Public\*.ps1' | ForEach-Object { $_.BaseName } - $releaseNotes = "# {0}{1}" -f $version, $(Get-Content .\RELEASENOTES.md -Raw) + $releaseNotes = "Please review the [CHANGELOG](https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/CHANGELOG.md) for the latest updates." $ManifestParams = @{ Path = "$BuildRoot\temp\ZertoApiWrapper.psd1" @@ -165,17 +165,6 @@ task CreatePsm1ForRelease CreatePsd1ForRelease, { $lines = '#------------------------------------------------------------#' $Private = @( Get-ChildItem -Path $BuildRoot\ZertoApiWrapper\Private\*.ps1 -ErrorAction Stop ) $Public = @( Get-ChildItem -Path $BuildRoot\ZertoApiWrapper\Public\*.ps1 -ErrorAction Stop ) - <# $functionCount = 0 - $exportString = "" - foreach ($file in $Public) { - if ($functionCount -eq 0) { - $functionCount++ - $exportString = "{0}" -f $file.BaseName - } else { - $functionCount++ - $exportString = "{0}, {1}" -f $exportString, $file.BaseName - } - } #> Add-Content -Path $psm1Path -Value $lines Add-Content -Path $psm1Path -Value "#---------------------Private Functions----------------------#" Add-Content -Path $psm1Path -Value $lines