v7.2.0-preview.8 Release of PowerShell
Pre-release
Pre-release
·
2425 commits
to master
since this release
7.2.0-preview.8 - 2021-07-22
Engine Updates and Fixes
- Add a Windows mode to
$PSNativeCommandArgumentPassingthat allows some commands to use legacy argument passing (#15408) - Use
nameofto get parameter names when creatingArgumentNullException(#15604) (Thanks @gukoff!) - Test if a command is 'Out-Default' more thoroughly for transcribing scenarios (#15653)
- Add
Microsoft.PowerShell.Crescendoto telemetry allow list (#15372)
General Cmdlet Updates and Fixes
- Use
$PSStyle.Formatting.FormatAccentforFormat-Listand$PSStyle.Formatting.TableHeaderforFormat-Tableoutput (#14406) - Highlight using error color the exception
Messageand underline inPositionMessageforGet-Error(#15786) - Implement a completion for View parameter of format cmdlets (#14513) (Thanks @iSazonov!)
- Add support to colorize
FileInfofile names (#14403) - Don't serialize to JSON ETS properties for
DateTimeandstringtypes (#15665) - Fix
HyperVSocketEndPoint.ServiceIdsetter (#15704) (Thanks @xtqqczze!) - Add
DetailedViewto$ErrorView(#15609)
Code Cleanup
We thank the following contributors!
- Remove
consolehost.protofile (#15741) (Thanks @iSazonov!) - Implement
IDisposableforConvertToJsonCommand(#15787) (Thanks @xtqqczze!) - Fix
IDisposableimplementation forCommandPathSearch(#15793) (Thanks @xtqqczze!) - Delete IDE dispose analyzer rules (#15798) (Thanks @xtqqczze!)
- Seal private classes (#15725) (Thanks @xtqqczze!)
- Enable IDE0029:
UseCoalesceExpression(#15770) (Thanks @xtqqczze!) - Enable IDE0070:
UseSystemHashCode(#15715) (Thanks @xtqqczze!) - Enable IDE0030:
UseCoalesceExpressionForNullable(#14289) (Thanks @xtqqczze!) - Fix CA1846 and CA1845 for using
AsSpaninstead ofSubstring(#15738) - Use
List<T>.RemoveAllto avoid creating temporary list (#15686) (Thanks @xtqqczze!) - Enable IDE0044:
MakeFieldReadonly(#13880) (Thanks @xtqqczze!) - Disable IDE0130 (#15728) (Thanks @xtqqczze!)
- Make classes sealed (#15675) (Thanks @xtqqczze!)
- Enable CA1043: Use integral or string argument for indexers (#14467) (Thanks @xtqqczze!)
- Enable CA1812 (#15674) (Thanks @xtqqczze!)
- Replace
SinglewithFirstwhen we know the element count is 1 (#15676) (Thanks @xtqqczze!) - Skip analyzers for
Microsoft.Management.UI.Internal(#15677) (Thanks @xtqqczze!) - Fix CA2243: Attribute string literals should parse correctly (#15622) (Thanks @xtqqczze!)
- Enable CA1401 (#15621) (Thanks @xtqqczze!)
- Fix CA1309: Use ordinal
StringComparisonin Certificate Provider (#14352) (Thanks @xtqqczze!) - Fix CA1839: Use
Environment.ProcessPath(#15650) (Thanks @xtqqczze!) - Add new analyzer rules (#15620) (Thanks @xtqqczze!)
Tools
- Add
SkipRoslynAnalyzersparameter toStart-PSBuild(#15640) (Thanks @xtqqczze!) - Create issue template for issues updating PowerShell through Windows update. (#15700)
- Add
DocumentationAnalyzersto build (#14336) (Thanks @xtqqczze!) - Convert GitHub issue templates to modern forms (#15645)
Tests
- Add more tests for
ConvertFrom-Json(#15706) (Thanks @strawgate!) - Update
glob-parentandhosted-git-infotest dependencies (#15643)
Build and Packaging Improvements
Update .NET to version v6.0.0-preview.6
- Add new package name for
osx-arm64(#15813) - Prefer version when available for dotnet-install (#15810)
- Make warning about MU being required dynamic (#15776)
- Add
Start-PSBootstrapbefore running tests (#15804) - Update to .NET 6 Preview 6 and use
crossgen2(#15763) - Enable ARM64 packaging for macOS (#15768)
- Make Microsoft Update opt-out/in check boxes work (#15784)
- Add Microsoft Update opt out to MSI install (#15727)
- Bump
NJsonSchemafrom10.4.4to10.4.5(#15769) (Thanks @dependabot[bot]!) - Fix computation of SHA512 checksum (#15736)
- Update the script to use quality parameter for
dotnet-install(#15731) - Generate SHA512 checksum file for all packages (#15678)
- Enable signing daily release build with lifetime certificate (#15642)
- Update metadata and README for 7.2.0-preview.7 (#15593)
Documentation and Help Content
- Fix broken RFC links (#15807)
- Add to bug report template getting details from
Get-Error(#15737) - Update issue templates to link to new docs (#15711)
- Add @jborean93 to Remoting Working Group (#15683)
SHA256 Hashes of the release artifacts
- powershell-7.2.0-preview.8-linux-alpine-x64.tar.gz
- 78AA6069615C5F60E37147871AC5AC7A76D30E4D7DA618B3F4BDF3F02CFCFAFF
- powershell-7.2.0-preview.8-linux-arm32.tar.gz
- 2BFFD628D2B4E5DDDA6B0ECCA23FD8E9A946521D3E8BF3D249D241183569A066
- powershell-7.2.0-preview.8-linux-arm64.tar.gz
- 8685BE6F74EA5BC00BAE3E9DC293D26313BE7E526DD039EB9A7090DF33837F10
- powershell-7.2.0-preview.8-linux-x64.tar.gz
- 1B2046DDF240753696C071063F7823298EF8591E5E0080A681A5A97EB561E5AF
- powershell-7.2.0-preview.8-linux-x64-fxdependent.tar.gz
- AD8086088B2E22EF47588FB2A9894A9353DB3A56BCE4C5ECA0D2BF23C420F6F2
- powershell-7.2.0-preview.8-osx-arm64.pkg
- 79077EF936EB0B6C94BA756B4D56BFFC0633F399E09C74F4CE293D04444F1062
- powershell-7.2.0-preview.8-osx-arm64.tar.gz
- 4A1BDC1124A17BBF854E51C99DFEEC4B7B9C4B2BB5964DC28D22AF17D7E1657B
- powershell-7.2.0-preview.8-osx-x64.pkg
- B91543101FDE1EB6CA47EEE0AECB5A3CF4A66C3A20DFFFD8CC05F4967DC7B766
- powershell-7.2.0-preview.8-osx-x64.tar.gz
- 24400C4AFD4EA67F7191596B3E9A410F97DC659718992AD639CF109B4ED4E384
- PowerShell-7.2.0-preview.8-win-arm32.zip
- 455ACDE7779C64AB063D8823E40A1EDA164BC8F57F1E67379966472D0A7A6E68
- PowerShell-7.2.0-preview.8-win-arm64.zip
- 41DC7B50538E3F27307868AFF1237886FBC9791F9C2E1D66904ADD5722F16E5B
- PowerShell-7.2.0-preview.8-win-fxdependent.zip
- 18A3F114DAA6FDA80297897B58B51ED71ACCF1349F3E4F71B8195ECBDD1E7513
- PowerShell-7.2.0-preview.8-win-fxdependentWinDesktop.zip
- 907AA89430386EB8DC769D0611EEB76299EB951C668A0D0D741E7439351206F0
- PowerShell-7.2.0-preview.8-win-x64.msi
- 7FBA083B2F601FCE66D54A588A3526556B9CEB9E90B83D7A5303D959B1552D06
- PowerShell-7.2.0-preview.8-win-x64.zip
- CF5E3893642E2F9B4E531A8C7DF10691B775013D515CFFB470814EB152ECC41A
- PowerShell-7.2.0-preview.8-win-x86.msi
- B5CAE75A9BF5BDD2BE5A644F6774A11E354962351866C2D16772C2441E9E0E7D
- PowerShell-7.2.0-preview.8-win-x86.zip
- 66D086B2F2192D82F7C92534EAC8B557E75E4FF5BCBADC66E630D82DDB489477
- powershell-preview_7.2.0-preview.8-1.deb_amd64.deb
- CB98C746E36A959A3FC1BE9FD03EE2EBA47D0F1CEEBD3A6BB4A9B2AFD91AEDEA
- powershell-preview-7.2.0_preview.8-1.rh.x86_64.rpm
- F9E51E9A0A5002302383E1331C9591C96D12633D52B8D2D02F7E923B737AE98E