v7.2.0-preview.3 Release of PowerShell
Pre-release
Pre-release
rjmholt
released this
12 Feb 02:04
·
2022 commits
to master
since this release
7.2.0-preview.3 - 2021-02-11
Breaking Changes
Engine Updates and Fixes
- Together with
PSDesiredStateConfiguration
v3
module allowsGet-DscResource
,Invoke-DscResource
and DSC configuration compilation on all platforms, supported by PowerShell (using class-based DSC resources).
Performance
- Avoid array allocations from
Directory.GetDirectories
andDirectory.GetFiles
. (#14326) (Thanks @xtqqczze!) - Avoid
string.ToLowerInvariant()
fromGetEnvironmentVariableAsBool()
to avoid loading libicu at startup (#14323) (Thanks @iSazonov!) - Get PowerShell version in
PSVersionInfo
using assembly attribute instead ofFileVersionInfo
(#14332) (Thanks @Fs00!)
General Cmdlet Updates and Fixes
- Suppress
Write-Progress
inConsoleHost
if output is redirected and fix tests (#14716) - Experimental feature
PSAnsiProgress
: Add minimal progress bar using ANSI rendering (#14414) - Fix web cmdlets to properly construct URI from body when using
-NoProxy
(#14673) - Update the
ICommandPredictor
to provide more feedback and also make feedback easier to be correlated (#14649) - Reset color after writing
Verbose
,Debug
, andWarning
messages (#14698) - Fix using variable for nested
ForEach-Object -Parallel
calls (#14548) - When formatting, if collection is modified, don't fail the entire pipeline (#14438)
- Improve completion of parameters for attributes (#14525) (Thanks @MartinGC94!)
- Write proper error messages for
Get-Command ' '
(#13564) (Thanks @jakekerr!) - Fix typo in the resource string
ProxyURINotSupplied
(#14526) (Thanks @romero126!) - Add support to
$PSStyle
for strikethrough and hyperlinks (#14461) - Fix
$PSStyle
blink codes (#14447) (Thanks @iSazonov!)
Code Cleanup
We thank the following contributors!
- Fix coding style issues: RCS1215, IDE0090, SA1504, SA1119, RCS1139, IDE0032 (#14356, #14341, #14241, #14204, #14442, #14443) (Thanks @xtqqczze!)
- Enable coding style checks: CA2249, CA1052, IDE0076, IDE0077, SA1205, SA1003, SA1314, SA1216, SA1217, SA1213 (#14395, #14483, #14494, #14495, #14441, #14476, #14470, #14471, #14472) (Thanks @xtqqczze!)
- Enable nullable in PowerShell codebase (#14160, #14172, #14088, #14154, #14166, #14184, #14178) (Thanks @powercode!)
- Use
string.Split(char)
instead ofstring.Split(string)
(#14465) (Thanks @xtqqczze!) - Use
string.Contains(char)
overload (#14368) (Thanks @xtqqczze!) - Refactor complex
if
statements (#14398) (Thanks @xtqqczze!)
Tools
- Update script to use .NET 6 build resources (#14705)
- Fix the daily GitHub action (#14711) (Thanks @imba-tjd!)
- GitHub Actions: fix deprecated
::set-env
(#14629) (Thanks @imba-tjd!) - Update markdown test tools (#14325) (Thanks @RDIL!)
- Upgrade
StyleCopAnalyzers
tov1.2.0-beta.312
(#14354) (Thanks @xtqqczze!)
Tests
- Remove packaging from daily Windows build (#14749)
- Update link to the Manning book (#14750)
- A separate Windows packaging CI (#14670)
- Update
ini
component version in testpackage.json
(#14454) - Disable
libmi
dependent tests for macOS. (#14446)
Build and Packaging Improvements
- Fix the NuGet feed name and URL for .NET 6
- Fix third party signing for files in sub-folders (#14751)
- Make build script variable an
ArrayList
to enableAdd()
method (#14748) - Remove old .NET SDKs to make
dotnet restore
work with the latest SDK in CI pipeline (#14746) - Remove outdated Linux dependencies (#14688)
- Bump .NET SDK version to 6.0.0-preview.1 (#14719)
- Bump
NJsonSchema
to 10.3.4 (#14714) - Update daily GitHub action to allow manual trigger (#14718)
- Bump
XunitXml.TestLogger
to 3.0.62 (#14702) - Make universal deb package based on the deb package specification (#14681)
- Add manual release automation steps and improve changelog script (#14445)
- Fix release build to upload global tool packages to artifacts (#14620)
- Port changes from the PowerShell v7.0.4 release (#14637)
- Port changes from the PowerShell v7.1.1 release (#14621)
- Updated README and
metadata.json
(#14401, #14606, #14612) - Do not push nupkg artifacts to MyGet (#14613)
- Use one feed in each
nuget.config
in official builds (#14363) - Fix path signed RPMs are uploaded from in release build (#14424)
Documentation and Help Content
- Update distribution support request template to point to .NET 5.0 support document (#14578)
- Remove security GitHub issue template (#14453)
- Add intent for using the Discussions feature in repo (#14399)
- Fix Universal Dashboard to refer to PowerShell Universal (#14437)
- Update document link because of HTTP 301 redirect (#14431) (Thanks @xtqqczze!)
SHA256 Hashes of the release artifacts
- powershell-7.2.0-preview.3-linux-alpine-x64.tar.gz
- B565117BD3069EDFAC8B1C6BCB9E8BDDFAB2EA4C913377C57E0660E14544E43E
- powershell-7.2.0-preview.3-linux-arm32.tar.gz
- 605EF5D27602E2CC91504F571712F0665A1D98E6C8786F19CD6564CF9D59564E
- powershell-7.2.0-preview.3-linux-arm64.tar.gz
- F4AEB4BEFE1CBB062DD72688B89579FB33BC444381B15319B4A766F788E5997B
- powershell-7.2.0-preview.3-linux-x64.tar.gz
- 8252561E1300B6300B1076211227C815431C0027A41C325328277918647AB2A1
- powershell-7.2.0-preview.3-linux-x64-fxdependent.tar.gz
- C7536314EF29B45DDFB07357C26F0A00F2DDC40EB5FA48A38570848368E3C874
- powershell-7.2.0-preview.3-osx-x64.pkg
- 90003E3F76056A0B40ECC978A123DB29D48726509DCE1D60707EF2F9D8C0A793
- powershell-7.2.0-preview.3-osx-x64.tar.gz
- A4D06D37056554D9196FF57DECCA9561F99BB8AC4EA96D401AB3D686A626D763
- PowerShell-7.2.0-preview.3-win-arm32.zip
- 57A2F8518AD07904111BACE0DAB4572540ED1FC7DA3E9777A9F615DBCC6DEBDB
- PowerShell-7.2.0-preview.3-win-arm64.zip
- 865AA1B3CE201F1281F0657EF9F0442265A7E645B297043D8F92504CA477977F
- PowerShell-7.2.0-preview.3-win-fxdependent.zip
- 31C411C20BF4109441B59884258FE380C3233C7F43A96BEF3CBA510A66889303
- PowerShell-7.2.0-preview.3-win-fxdependentWinDesktop.zip
- A5CBBEF60DE43E80D1748CC465BB3F52C921B1B88CB9B8F8AC74BDFC9FA16FF6
- PowerShell-7.2.0-preview.3-win-x64.msi
- C96EFF4C06CD5AF80EEC09E3FFCA16AF36546B3F3548FD6386AEC0382E867E31
- PowerShell-7.2.0-preview.3-win-x64.zip
- DA7A21E3BEC3E4184F60B975E9C002B26051EF63102E5BE9C60CB2D6BEDA6431
- PowerShell-7.2.0-preview.3-win-x86.msi
- 60FB7235427B994F0170EECF2555206808B8A327EAF836ACD41EC957A3D419A9
- PowerShell-7.2.0-preview.3-win-x86.zip
- 077F7A92B6803ED24513E6A7C9CBB29357FBA91141AE94AD6F02E30F4E712161
- powershell-preview_7.2.0-preview.3-1.debian.10_amd64.deb
- B2EB7992A3AE86A5195EBA73400BD06A54111DA9FF0F261EB501A33D7441284A
- powershell-preview_7.2.0-preview.3-1.debian.11_amd64.deb
- E50ED13A9258B591044110B914E5ED0382F9479A3C1D1C9594C14C07AD12E5A7
- powershell-preview_7.2.0-preview.3-1.debian.9_amd64.deb
- C965B0F030705F64D751386E529FE4FF6C6550B5B0629BA87B84969A9DC2E26E
- powershell-preview_7.2.0-preview.3-1.ubuntu.16.04_amd64.deb
- DE223240DD78CBADD1971D59F063F41FAFC3A1B023C87F8017925FF281FE0558
- powershell-preview_7.2.0-preview.3-1.ubuntu.18.04_amd64.deb
- 46985C541F24937F254D7830CB3E58CB5918457CB0FB192AC1812C541CDC76D5
- powershell-preview_7.2.0-preview.3-1.ubuntu.20.04_amd64.deb
- B3084FC1E604D51176ED51CDA68D01E97B34A061743FB5F29C3EFE5F85D62AB5
- powershell-preview-7.2.0_preview.3-1.centos.8.x86_64.rpm
- DB5C072A84DF6C77CB62CEA17EDBC155FA8D134585B360F724CE974B6F102EFE
- powershell-preview-7.2.0_preview.3-1.rhel.7.x86_64.rpm
- 146DAD973E8CF77D7CC59B5C3DDAA0F710CE8A59FB0E879A9C1E26476F0782A7