mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merge changes from v7.0.12 v7.2.6 and v7.3.0-preview.7
This commit is contained in:
@@ -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
|
||||
|
||||
+33
-2
@@ -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
|
||||
|
||||
<details>
|
||||
|
||||
<summary>
|
||||
<p>Bump .NET 3.1 SDK to <code>3.1.28</code></p>
|
||||
</summary>
|
||||
|
||||
<ul>
|
||||
<li>Update wix file</li>
|
||||
<li>Add a finalize template which causes jobs with issues to fail (#17314)</li>
|
||||
<li>Make sure we execute tests on LTS package for older LTS releases (#17326)</li>
|
||||
<li>Update <code>AzureFileCopy</code> task and fix the syntax for specifying <code>pool</code> (#17013)</li>
|
||||
</ul>
|
||||
|
||||
</details>
|
||||
|
||||
[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 @@
|
||||
<ul>
|
||||
<li>Add explicit job name for approval tasks in Snap stage (#16579)</li>
|
||||
<li>Update to use <code>mcr.microsoft.com</code> (#17272)</li>
|
||||
<li>Update global.json and wix</li>
|
||||
<li>Update <code>global.json</code> and wix</li>
|
||||
<li>Put Secure supply chain analysis at correct place (#17273)</li>
|
||||
<li>Partial back-port of: Update a few tests to make them more stable in CI (#16944) (Internal 20648)</li>
|
||||
<li>Replace <code>.</code> in notices container name (#17292)</li>
|
||||
|
||||
@@ -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
|
||||
|
||||
<details>
|
||||
|
||||
<summary>
|
||||
<p>Bump .NET SDK to 6.0.8 (Internal 22065)</p>
|
||||
<p>We thank the following contributors!</p>
|
||||
<p>@tamasvajk</p>
|
||||
</summary>
|
||||
|
||||
<ul>
|
||||
<li>Update Wix manifest</li>
|
||||
<li>Add AppX capabilities in MSIX manifest so that PS7 can call the AppX APIs (#17416)</li>
|
||||
<li>Use <code>Quality</code> only with <code>Channel</code> in <code>dotnet-install</code> (#17847)</li>
|
||||
<li>Fix <code>build.psm1</code> to not specify both version and quality for <code>dotnet-install</code> (#17589) (Thanks @tamasvajk!)</li>
|
||||
<li>Install .NET 3.1 as it is required by the vPack task</li>
|
||||
</ul>
|
||||
|
||||
</details>
|
||||
|
||||
[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
|
||||
|
||||
@@ -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
|
||||
|
||||
<details>
|
||||
|
||||
<summary>
|
||||
|
||||
<p>We thank the following contributors!</p>
|
||||
<p>@fflaten, @Molkree, @eltociear</p>
|
||||
|
||||
</summary>
|
||||
|
||||
<ul>
|
||||
<li>Fix other path constructions using <code>Path.Join</code> (#17825)</li>
|
||||
<li>Use null propagation (#17787)(#17789)(#17790)(#17791)(#17792)(#17795) (Thanks @fflaten!)</li>
|
||||
<li>Re-enable compound assignment preference (#17784) (Thanks @Molkree!)</li>
|
||||
<li>Use null-coalescing assignment (#17719)(#17720)(#17721)(#17722)(#17723)(#17724)(#17725)(#17726)(#17727)(#17728)(#17729) (Thanks @Molkree!)</li>
|
||||
<li>Disable the warning <code>IDE0031</code> to take .NET 7 Preview 7 (#17770)</li>
|
||||
<li>Fix typo in <ode>ModuleCmdletBase.cs</code> (#17714) (Thanks @eltociear!)</li>
|
||||
</ul>
|
||||
|
||||
</details>
|
||||
|
||||
### 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
|
||||
|
||||
<details>
|
||||
|
||||
<summary>
|
||||
|
||||
<p>We thank the following contributors!</p>
|
||||
<p>@varunsh-coder, @dkaszews, @Molkree, @ChuckieChen945</p>
|
||||
|
||||
</summary>
|
||||
|
||||
<ul>
|
||||
<li>Update release pipeline to use Approvals and automate some manual tasks (#17837)</li>
|
||||
<li>Add GitHub token permissions for workflows (#17781) (Thanks @varunsh-coder!)</li>
|
||||
<li>Bump actions/github-script from 3 to 6 (#17842)</li>
|
||||
<li>Bump cirrus-actions/rebase from 1.6 to 1.7 (#17843)</li>
|
||||
<li>Remove unneeded verbose message in build (#17840)</li>
|
||||
<li>Detect default runtime using dotnet --info in build.psm1 (#17818) (Thanks @dkaszews!)</li>
|
||||
<li>Bump <code>actions/checkout</code> from 2 to 3 (#17828)</li>
|
||||
<li>Bump <code>actions/download-artifact</code> from 2 to 3 (#17829)</li>
|
||||
<li>Bump <code>github/codeql-action</code> from 1 to 2 (#17830)</li>
|
||||
<li>Bump <code>peter-evans/create-pull-request</code> from 3 to 4 (#17831)</li>
|
||||
<li>Bump <code>actions/upload-artifact</code> from 2 to 3 (#17832)</li>
|
||||
<li>Enable Dependabot for GitHub Actions (#17775) (Thanks @Molkree!)</li>
|
||||
<li>Update .NET SDK version from <code>7.0.100-preview.6.22352.1</code> to <code>7.0.100-preview.7.22377.5</code> (#17776)</li>
|
||||
<li>Fix a bug in <code>install-powershell.ps1</code> (#17794) (Thanks @ChuckieChen945!)</li>
|
||||
<li>Bump xunit from 2.4.1 to 2.4.2 (#17817)</li>
|
||||
<li>Update how to update homebrew (#17798)</li>
|
||||
<li>Don't run link check on forks (#17797)</li>
|
||||
<li>Update dotnetmetadata.json to start consuming .NET 7 preview 7 builds (#17736)</li>
|
||||
<li>Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709)</li>
|
||||
<li>Exclude ARM images from running in CI (#17713)</li>
|
||||
</ul>
|
||||
|
||||
</details>
|
||||
|
||||
### 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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user