From 9d0f6b26ddbb1024ea78f6426383e9b13d139fb9 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Tue, 9 Aug 2022 23:09:42 +0000 Subject: [PATCH 1/6] Merged PR 22048: Add change log for 7.3.0-preview.7 and .spelling file Add change log for 7.3.0-preview.7 and .spelling file --- .spelling | 20 ++++++++ CHANGELOG/preview.md | 116 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+) diff --git a/.spelling b/.spelling index 5bd81a0135..8f8bbd2ca6 100644 --- a/.spelling +++ b/.spelling @@ -49,6 +49,7 @@ alpha.9 alternatestream alvarodelvalle amd64 +ananya26-vishnoi andschwa anmenaga api @@ -110,6 +111,7 @@ catchable cdxml celsius CentOS +codeql-action cgmanifest CGManifest changelog @@ -124,6 +126,7 @@ checkbox checksum chibi childitem +ChuckieChen945 ChrisLGardner cimsession cimsupport @@ -232,6 +235,7 @@ displaydataquery Distribution_Request.md distro distros +dkaszews dll dlls dlwyatt @@ -294,6 +298,7 @@ fbehrens felixfbecker ffeldhaus ffi +fflaten filecatalog filename filesystem @@ -387,6 +392,7 @@ Higinbotham himura2la hololens homebrew +hostifaces hostname hotfix httpbin.org @@ -506,6 +512,7 @@ markekraus marktiedemann Marusyk MarvTheRobot +mattifestation matt9ucci mcbobke md @@ -522,11 +529,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 +551,7 @@ microsoft.powershell.psreadline microsoft.powershell.security microsoft.powershell.utility Microsoft.Security.Extensions +Microsoft.WSMan microsoft.wsman.management microsoft.wsman.runtime mikeTWC1984 @@ -549,7 +559,9 @@ mirichmo mjanko5 mkdir mklement0 +ModuleCmdletBase.cs MohiTheFish +Molkree move-itemproperty ms-psrp msbuild @@ -639,6 +651,7 @@ parameterbindercontroller parameterbinding ParenExpression ParseError.ToString +Path.Join pathresolution PathResolvedToMultiple patochun @@ -649,6 +662,7 @@ payette perf perfview perfview.exe +peter-evans petseral plaintext pluggable @@ -677,6 +691,7 @@ pre-build pre-compiled pre-generated pre-installed +pre-parse pre-release pre-releases pre-requisites @@ -703,6 +718,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 @@ -821,6 +837,7 @@ runspaceinit runspaces runtime runtimes +Ryan-Hutchison-USAF SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation Saancreed sample-dotnet1 @@ -914,6 +931,7 @@ System.IO.Packaging System.InvalidOperationException system.manage system.management.automation +System.Management.Automation.utils systemd SytzeAndr tabcompletion @@ -1029,9 +1047,11 @@ v7.2.2 v7.3.0 validatenotnullorempty ValidateSet +varunsh-coder versioned versioning vexx32 +Virtualization visualstudio vmsilvamolina vorobev 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

+ +
+ + + +
+ +### 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

+ +
+ + + +
+ +### 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 From 46f7b36bfddc03992be6b9022ed45894a1e0013f Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 11 Aug 2022 15:46:59 -0700 Subject: [PATCH 2/6] Fix script by adding quotes --- .../azureDevOps/templates/release-CreateGitHubDraft.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml index 035adae0c8..426e58e0f6 100644 --- a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml +++ b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml @@ -57,7 +57,7 @@ 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)) { From 2b23cd5405a84c0b7344b29a75795d1c91a3de3b Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 11 Aug 2022 16:15:03 -0700 Subject: [PATCH 3/6] Remove raw to process changelog line by line --- .../azureDevOps/templates/release-CreateGitHubDraft.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml index 426e58e0f6..b32c812430 100644 --- a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml +++ b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml @@ -64,7 +64,7 @@ steps: 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 From 89382e42e310ba11d202170001c579bab3e6266c Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 11 Aug 2022 16:38:39 -0700 Subject: [PATCH 4/6] Add Out-String to make the description a single string --- .../azureDevOps/templates/release-CreateGitHubDraft.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml index b32c812430..9e439db736 100644 --- a/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml +++ b/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml @@ -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" From fe79ce8c6fa404de0385b5012efd6507c216e92e Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 11 Aug 2022 19:53:09 +0000 Subject: [PATCH 5/6] Merged PR 22116: Changelog for v7.0.12 Changelog for v7.0.12 --- .spelling | 7 +++++++ CHANGELOG/7.0.md | 35 +++++++++++++++++++++++++++++++++-- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.spelling b/.spelling index 8f8bbd2ca6..a2749c7579 100644 --- a/.spelling +++ b/.spelling @@ -18,6 +18,7 @@ about_ about_debuggers about_jobs about_Telemetry +about_PSDesiredStateConfiguration acl adamdriscoll add-localgroupmember @@ -71,6 +72,7 @@ authenticode authenticodesignature azdevops AzFileCopy +AzureFileCopy azurerm.netcore.preview azurerm.profile.netcore.preview azurerm.resources.netcore.preview @@ -373,6 +375,7 @@ github githug gitter glachancecmaisonneuve +global.json globbing GoogleTest GUIs @@ -508,6 +511,7 @@ maertendmsft mahawar Markdig.Signed markdown.yml +manifest.spdx.json markekraus marktiedemann Marusyk @@ -515,6 +519,7 @@ MarvTheRobot mattifestation matt9ucci mcbobke +mcr.microsoft.com md meir017 memberresolution @@ -744,6 +749,7 @@ PSGalleryModules psm1 psobject psobjects +psoptions.json psproxyjobs psreadline psrp.windows @@ -942,6 +948,7 @@ TargetFramework test-modulemanifest test-pssessionconfigurationfile test-scriptfileinfo +tar.gz test.ps1 test.txt. Tests.ps1 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)
  • From 66d2a327da60f7934980fc3b7bcdea2e07bd4a2d Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 11 Aug 2022 00:17:35 +0000 Subject: [PATCH 6/6] Merged PR 22095: Changelog for v7.2.6 Changelog for v7.2.6 --- .spelling | 2 +- CHANGELOG/7.2.md | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/.spelling b/.spelling index a2749c7579..3aa89bb4a6 100644 --- a/.spelling +++ b/.spelling @@ -59,7 +59,7 @@ APIScan appimage applocker appveyor -AppX +appx args argumentlist arm32 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