diff --git a/.spelling b/.spelling
index 5bd81a0135..3aa89bb4a6 100644
--- a/.spelling
+++ b/.spelling
@@ -18,6 +18,7 @@ about_
about_debuggers
about_jobs
about_Telemetry
+about_PSDesiredStateConfiguration
acl
adamdriscoll
add-localgroupmember
@@ -49,6 +50,7 @@ alpha.9
alternatestream
alvarodelvalle
amd64
+ananya26-vishnoi
andschwa
anmenaga
api
@@ -57,7 +59,7 @@ APIScan
appimage
applocker
appveyor
-AppX
+appx
args
argumentlist
arm32
@@ -70,6 +72,7 @@ authenticode
authenticodesignature
azdevops
AzFileCopy
+AzureFileCopy
azurerm.netcore.preview
azurerm.profile.netcore.preview
azurerm.resources.netcore.preview
@@ -110,6 +113,7 @@ catchable
cdxml
celsius
CentOS
+codeql-action
cgmanifest
CGManifest
changelog
@@ -124,6 +128,7 @@ checkbox
checksum
chibi
childitem
+ChuckieChen945
ChrisLGardner
cimsession
cimsupport
@@ -232,6 +237,7 @@ displaydataquery
Distribution_Request.md
distro
distros
+dkaszews
dll
dlls
dlwyatt
@@ -294,6 +300,7 @@ fbehrens
felixfbecker
ffeldhaus
ffi
+fflaten
filecatalog
filename
filesystem
@@ -368,6 +375,7 @@ github
githug
gitter
glachancecmaisonneuve
+global.json
globbing
GoogleTest
GUIs
@@ -387,6 +395,7 @@ Higinbotham
himura2la
hololens
homebrew
+hostifaces
hostname
hotfix
httpbin.org
@@ -502,12 +511,15 @@ maertendmsft
mahawar
Markdig.Signed
markdown.yml
+manifest.spdx.json
markekraus
marktiedemann
Marusyk
MarvTheRobot
+mattifestation
matt9ucci
mcbobke
+mcr.microsoft.com
md
meir017
memberresolution
@@ -522,11 +534,13 @@ Microsoft.ApplicationInsights
Microsoft.CodeAnalysis.CSharp
Microsoft.CodeAnalysis.NetAnalyzers
microsoft.com
+Microsoft.Management
microsoft.management.infrastructure.cimcmdlets
microsoft.management.infrastructure.native
Microsoft.Management.Infrastructure.Runtime.Win
microsoft.net.test.sdk
microsoft.powershell.archive
+Microsoft.PowerShell.Commands
microsoft.powershell.commands.diagnostics
microsoft.powershell.commands.management
microsoft.powershell.commands.utility
@@ -542,6 +556,7 @@ microsoft.powershell.psreadline
microsoft.powershell.security
microsoft.powershell.utility
Microsoft.Security.Extensions
+Microsoft.WSMan
microsoft.wsman.management
microsoft.wsman.runtime
mikeTWC1984
@@ -549,7 +564,9 @@ mirichmo
mjanko5
mkdir
mklement0
+ModuleCmdletBase.cs
MohiTheFish
+Molkree
move-itemproperty
ms-psrp
msbuild
@@ -639,6 +656,7 @@ parameterbindercontroller
parameterbinding
ParenExpression
ParseError.ToString
+Path.Join
pathresolution
PathResolvedToMultiple
patochun
@@ -649,6 +667,7 @@ payette
perf
perfview
perfview.exe
+peter-evans
petseral
plaintext
pluggable
@@ -677,6 +696,7 @@ pre-build
pre-compiled
pre-generated
pre-installed
+pre-parse
pre-release
pre-releases
pre-requisites
@@ -703,6 +723,7 @@ preview.7.20358.6
preview.7.20364.3
preview.7.20366.2
preview.7.20366.15
+preview.7.22377.5
preview.4.20258.7
preview.4.20229.10
preview.4.22252.9
@@ -728,6 +749,7 @@ PSGalleryModules
psm1
psobject
psobjects
+psoptions.json
psproxyjobs
psreadline
psrp.windows
@@ -821,6 +843,7 @@ runspaceinit
runspaces
runtime
runtimes
+Ryan-Hutchison-USAF
SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation
Saancreed
sample-dotnet1
@@ -914,6 +937,7 @@ System.IO.Packaging
System.InvalidOperationException
system.manage
system.management.automation
+System.Management.Automation.utils
systemd
SytzeAndr
tabcompletion
@@ -924,6 +948,7 @@ TargetFramework
test-modulemanifest
test-pssessionconfigurationfile
test-scriptfileinfo
+tar.gz
test.ps1
test.txt.
Tests.ps1
@@ -1029,9 +1054,11 @@ v7.2.2
v7.3.0
validatenotnullorempty
ValidateSet
+varunsh-coder
versioned
versioning
vexx32
+Virtualization
visualstudio
vmsilvamolina
vorobev
diff --git a/CHANGELOG/7.0.md b/CHANGELOG/7.0.md
index 13468c71bc..3d446b6cf8 100644
--- a/CHANGELOG/7.0.md
+++ b/CHANGELOG/7.0.md
@@ -1,6 +1,37 @@
# 7.0 Changelog
-## [7.0.11] - 2022-05-17
+## [7.0.12] - 2022-08-11
+
+### General Cmdlet Updates and Fixes
+
+- Fix `Export-PSSession` to not throw error when a rooted path is specified for `-OutputModule` (#17671)
+
+### Tests
+
+- Enable more tests to be run in a container. (#17294)
+- Switch to using GitHub action to verify markdown links for PRs (#17281)
+- Add `win-x86` test package to the build (#15517)
+
+### Build and Packaging Improvements
+
+
+
+
+Bump .NET 3.1 SDK to 3.1.28
+
+
+
+- Update wix file
+- Add a finalize template which causes jobs with issues to fail (#17314)
+- Make sure we execute tests on LTS package for older LTS releases (#17326)
+- Update
AzureFileCopy task and fix the syntax for specifying pool (#17013)
+
+
+
+
+[7.0.12]: https://github.com/PowerShell/PowerShell/compare/v7.0.11...v7.0.12
+
+## [7.0.11] - 2022-05-13
### Build and Packaging Improvements
@@ -15,7 +46,7 @@
- Add explicit job name for approval tasks in Snap stage (#16579)
- Update to use
mcr.microsoft.com (#17272)
-- Update global.json and wix
+- Update
global.json and wix
- Put Secure supply chain analysis at correct place (#17273)
- Partial back-port of: Update a few tests to make them more stable in CI (#16944) (Internal 20648)
- Replace
. in notices container name (#17292)
diff --git a/CHANGELOG/7.2.md b/CHANGELOG/7.2.md
index 7789090573..a5ac6b7f1e 100644
--- a/CHANGELOG/7.2.md
+++ b/CHANGELOG/7.2.md
@@ -1,5 +1,45 @@
# 7.2 Changelog
+## [7.2.6] - 2022-08-11
+
+### Engine Updates and Fixes
+
+- Fix `ForEach-Object -Parallel` when passing in script block variable (#16564)
+
+### General Cmdlet Updates and Fixes
+
+- Make `Out-String` and `Out-File` keep string input unchanged (#17455)
+- Update regex used to remove ANSI escape sequences to be more specific to decoration and hyperlinks (#16811)
+- Fix legacy `ErrorView` types to use `$host.PrivateData` colors (#17705)
+- Fix `Export-PSSession` to not throw error when a rooted path is specified for `-OutputModule` (#17671)
+
+### Tests
+
+- Disable RPM SBOM test. (#17532)
+
+### Build and Packaging Improvements
+
+
+
+
+Bump .NET SDK to 6.0.8 (Internal 22065)
+We thank the following contributors!
+@tamasvajk
+
+
+
+- Update Wix manifest
+- Add AppX capabilities in MSIX manifest so that PS7 can call the AppX APIs (#17416)
+- Use
Quality only with Channel in dotnet-install (#17847)
+- Fix
build.psm1 to not specify both version and quality for dotnet-install (#17589) (Thanks @tamasvajk!)
+- Install .NET 3.1 as it is required by the vPack task
+
+
+
+
+[7.2.6]: https://github.com/PowerShell/PowerShell/compare/v7.2.5...v7.2.6
+
+
## [7.2.5] - 2022-06-21
### Engine Updates and Fixes
diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md
index 56ffbc9208..cf80d139a5 100644
--- a/CHANGELOG/preview.md
+++ b/CHANGELOG/preview.md
@@ -1,5 +1,121 @@
# Current preview release
+## [7.3.0-preview.7] - 2022-08-09
+
+### Breaking Changes
+
+- Move the type data definition of `System.Security.AccessControl.ObjectSecurity` to the `Microsoft.PowerShell.Security` module (#16355) (Thanks @iSazonov!)
+
+### Engine Updates and Fixes
+
+- Enable searching for assemblies in `GAC_Arm64` on Windows (#17816)
+- Fix parser exception in using statements with empty aliases (#16745) (Thanks @MartinGC94!)
+- Do not always collapse space between parameter and value for native arguments. (#17708)
+- Remove `PSNativePSPathResolution` experimental feature (#17670)
+
+### General Cmdlet Updates and Fixes
+
+- Fix for deserializing imported ordered dictionary (#15545) (Thanks @davidBar-On!)
+- Make generated implicit remoting modules backwards compatible with PowerShell 5.1 (#17227) (Thanks @Tadas!)
+- Re-enable IDE0031: Use Null propagation (#17811) (Thanks @fflaten!)
+- Allow commands to still be executed even if the current working directory no longer exists (#17579)
+- Stop referencing `Microsoft.PowerShell.Security` when the core snapin is used (#17771)
+- Add support for HTTPS with `Set-AuthenticodeSignature -TimeStampServer` (#16134) (Thanks @Ryan-Hutchison-USAF!)
+- Add type accelerator `ordered` for `OrderedDictionary` (#17804) (Thanks @fflaten!)
+- Fix the definition of the `PDH_COUNTER_INFO` struct (#17779)
+- Adding Virtualization Based Security feature names to Get-ComputerInfo (#16415) (Thanks @mattifestation!)
+- Fix `FileSystemProvider` to work with volume and pipe paths (#15873)
+- Remove pre-parse for array-based JSON (#15684) (Thanks @strawgate!)
+- Improve type inference for `$_` (#17716) (Thanks @MartinGC94!)
+- Prevent braces from being removed when completing variables (#17751) (Thanks @MartinGC94!)
+- Fix type inference for `ICollection` (#17752) (Thanks @MartinGC94!)
+- Fix `Test-Json` not handling non-object types at root (#17741) (Thanks @dkaszews!)
+- Change `Get-ChildItem` to treat trailing slash in path as indicating a directory when used with `-Recurse` (#17704)
+- Add `find.exe` to legacy argument binding behavior for Windows (#17715)
+- Add completion for index expressions for dictionaries (#17619) (Thanks @MartinGC94!)
+- Fix enum-ranges for `ValidateRange` in proxy commands (#17572) (Thanks @fflaten!)
+- Fix type completion for attribute tokens (#17484) (Thanks @MartinGC94!)
+- Add `-noprofileloadtime` switch to `pwsh` (#17535) (Thanks @rkeithhill!)
+- Fix legacy `ErrorView` types to use `$host.PrivateData` colors (#17705)
+- Improve dynamic parameter tab completion (#17661) (Thanks @MartinGC94!)
+- Avoid binding positional parameters when completing parameter in front of value (#17693) (Thanks @MartinGC94!)
+- Render decimal numbers in a table using current culture (#17650)
+
+### Code Cleanup
+
+
+
+
+
+We thank the following contributors!
+@fflaten, @Molkree, @eltociear
+
+
+
+
+- Fix other path constructions using
Path.Join (#17825)
+- Use null propagation (#17787)(#17789)(#17790)(#17791)(#17792)(#17795) (Thanks @fflaten!)
+- Re-enable compound assignment preference (#17784) (Thanks @Molkree!)
+- Use null-coalescing assignment (#17719)(#17720)(#17721)(#17722)(#17723)(#17724)(#17725)(#17726)(#17727)(#17728)(#17729) (Thanks @Molkree!)
+- Disable the warning
IDE0031 to take .NET 7 Preview 7 (#17770)
+- Fix typo in ModuleCmdletBase.cs (#17714) (Thanks @eltociear!)
+
+
+
+
+### Tests
+
+- Re-enable tests because the corresponding dotnet issues were fixed (#17839)
+- Add test for `LanguageMode` using remoting (#17803) (Thanks @fflaten!)
+- Fix test perf by stopping ongoing `write-progress` (#17749) (Thanks @fflaten!)
+- Re-enable the test `TestLoadNativeInMemoryAssembly` (#17738)
+
+### Build and Packaging Improvements
+
+
+
+
+
+We thank the following contributors!
+@varunsh-coder, @dkaszews, @Molkree, @ChuckieChen945
+
+
+
+
+- Update release pipeline to use Approvals and automate some manual tasks (#17837)
+- Add GitHub token permissions for workflows (#17781) (Thanks @varunsh-coder!)
+- Bump actions/github-script from 3 to 6 (#17842)
+- Bump cirrus-actions/rebase from 1.6 to 1.7 (#17843)
+- Remove unneeded verbose message in build (#17840)
+- Detect default runtime using dotnet --info in build.psm1 (#17818) (Thanks @dkaszews!)
+- Bump
actions/checkout from 2 to 3 (#17828)
+- Bump
actions/download-artifact from 2 to 3 (#17829)
+- Bump
github/codeql-action from 1 to 2 (#17830)
+- Bump
peter-evans/create-pull-request from 3 to 4 (#17831)
+- Bump
actions/upload-artifact from 2 to 3 (#17832)
+- Enable Dependabot for GitHub Actions (#17775) (Thanks @Molkree!)
+- Update .NET SDK version from
7.0.100-preview.6.22352.1 to 7.0.100-preview.7.22377.5 (#17776)
+- Fix a bug in
install-powershell.ps1 (#17794) (Thanks @ChuckieChen945!)
+- Bump xunit from 2.4.1 to 2.4.2 (#17817)
+- Update how to update homebrew (#17798)
+- Don't run link check on forks (#17797)
+- Update dotnetmetadata.json to start consuming .NET 7 preview 7 builds (#17736)
+- Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709)
+- Exclude ARM images from running in CI (#17713)
+
+
+
+
+### Documentation and Help Content
+
+- Update the comment about why R2R is disabled (#17850)
+- Update changelog and `.spelling` for `7.3.0-preview.6` release (#17835)
+- Updated `ADOPTERS.md` for Power BI (#17766)
+- Update README.md with the current Fedora version (#15717) (Thanks @ananya26-vishnoi!)
+- Update `README` and `metadata.json` for next release (#17676) (Thanks @SeeminglyScience!)
+
+[7.3.0-preview.7]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.6...v7.3.0-preview.7
+
## [7.3.0-preview.6] - 2022-07-18
### General Cmdlet Updates and Fixes
diff --git a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml
index 035adae0c8..9e439db736 100644
--- a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml
+++ b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml
@@ -57,14 +57,14 @@ steps:
$semanticVersion.Major + "." + $semanticVersion.Minor + ".md"
}
- $filePath = $env:BUILD_SOURCESDIRECTORY/CHANGELOG/$fileName
+ $filePath = "$env:BUILD_SOURCESDIRECTORY/CHANGELOG/$fileName"
Write-Verbose -Verbose "Selected Log file: $filePath"
if (-not (Test-Path $filePath)) {
throw "$filePath not found"
}
- $changelog = Get-Content -Raw -Path $filePath
+ $changelog = Get-Content -Path $filePath
$startPattern = "^## \[" + ([regex]::Escape($releaseVersion)) + "\]"
$endPattern = "^## \[{0}\.{1}\.{2}*" -f $semanticVersion.Major, $semanticVersion.Minor, $semanticVersion.Patch
@@ -73,7 +73,7 @@ steps:
if ($_ -match $startPattern) { $outputLine = $true }
elseif ($_ -match $endPattern) { $outputLine = $false }
if ($outputLine) { $_}
- }
+ } | Out-String
Write-Verbose -Verbose "Selected content: `n$clContent"