Breaking Changes
Engine Updates and Fixes
- Together with PSDesiredStateConfiguration v3 module allows Get-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 and Directory.GetFiles. (#14326) (Thanks @xtqqczze!)
- Avoid string.ToLowerInvariant() from GetEnvironmentVariableAsBool() to avoid loading libicu at startup (#14323) (Thanks @iSazonov!)
- Get PowerShell version in PSVersionInfo using assembly attribute instead of FileVersionInfo (#14332) (Thanks @Fs00!)
General Cmdlet Updates and Fixes
- Suppress Write-Progress in ConsoleHost 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, and Warning 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!
@xtqqczze, @powercode
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 to v1.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 test package.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 enable Add() 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!)
Source: https://github.com/PowerShell/PowerS....2.0-preview.3
How to Install PowerShell 7.1 in Windows 7, Windows 8, and Windows 10