PowerShell v7.1.0-preview.6 Release Notes
Release Date: 2020-08-17 // about 5 years ago-
7.1.0-preview.6 - 2020-08-17
๐ฅ Breaking Changes
- ๐ Rename
-FromUnixTime
to-UnixTimeSeconds
onGet-Date
to allow Unix time input (#13084) (Thanks @aetos382!) - ๐ Make
$ErrorActionPreference
not affectstderr
output of native commands (#13361) - ๐ Allow explicitly specified named parameter to supersede the same one from hashtable splatting (#13162)
โก๏ธ Engine Updates and Fixes
- ๐จ Refactor command line parser to do early parsing (#11482) (Thanks @iSazonov!)
- โ Add support for some .NET intrinsic type converters (#12580) (Thanks @iSazonov!)
- Refresh and enable the
ComInterop
code in PowerShell (#13304)
Experimental Features
- โ Add
-Runspace
parameter to all*-PSBreakpoint
cmdlets (#10492) (Thanks @KirkMunro!)
โก๏ธ General Cmdlet Updates and Fixes
- ๐ Fix error message from new symbolic link missing target (#13085) (Thanks @yecril71pl!)
- ๐ Make the parameter
args
non-nullable in the publicConsoleHost
APIs (#13429) - โ Add missing dispose for
CancellationTokenSource
(#13420) (Thanks @Youssef1313!) - โ Add the parameter
-Paged
toGet-Help
to support paging (#13374) - ๐ Fix
Get-Help
not properly displaying if parameter supports wildcards (#13353) (Thanks @ThomasNieto!) - โก๏ธ Update
pwsh
help for-InputFormat
parameter (#13355) (Thanks @sethvs!) - Declare MIT license for files copied from Roslyn (#13305) (Thanks @xtqqczze!)
- ๐ Improve
BigInteger
casting behaviors (#12629) (Thanks @vexx32!) - ๐ Fix
Get-Acl -LiteralPath "HKLM:Software\Classes\*"
behavior (#13107) (Thanks @Shriram0908!) - โ Add
DefaultVisit
method to the visitor interface and class (#13258) - ๐ Fix conflicting shorthand switch
-s
(STA) forpwsh
(#13262) (Thanks @iSazonov!) - ๐ Change
Read-Host -MaskInput
to use existingSecureString
path, but return as plain text (#13256) - โ Remove
ComEnumerator
as COM objects usingIEnumerator
is now supported in .NET 5.0 (#13259) - ๐ Use temporary personal path at Runspace startup when the 'HOME' environment variable is not defined (#13239)
- ๐ Fix
Invoke-Command
to detect recursive call of the same history entry (#13197) - ๐ Change
pwsh
executable-inputformat
switch prefix-in
to-inp
to fix conflict with-interactive
(#13205) (Thanks @iSazonov!) - ๐ Handle WSL filesystem path when analyze security zone of a file (#13120)
- ๐ Make other switches mandatory in
Split-Path
(#13150) (Thanks @kvprasoon!) - ๐ New Fluent Design icon for PowerShell 7 (#13100) (Thanks @sarthakmalik!)
- ๐ Fix
Move-Item
to support cross-mount moves on Unix (#13044)
Code Cleanup
We thank the following contributors!
@xtqqczze, @yecril71pl, @ThomasNieto, @dgoldman-msft
- ๐ Use null check with pattern-matching instead of
object.ReferenceEquals
(#13065) (Thanks @xtqqczze!) - ๐ Fix comparison of value type object to null (#13285) (Thanks @xtqqczze!)
- ๐ Use
is
operator instead ofas
operator (#13287) (Thanks @xtqqczze!) - ๐ Change
SwitchParameter
fields to properties (#13291) (Thanks @xtqqczze!) - ๐ Change "operable" to "executable" (#13281) (Thanks @yecril71pl!)
- โ Remove
AssemblyInfo
property from list views (#13331) (Thanks @ThomasNieto!) - ๐ Use
is not
syntax where appropriate and remove unnecessary parentheses (#13323) (Thanks @xtqqczze!) - โ Remove unreachable code in CustomShellCommands.cs (#13316) (Thanks @xtqqczze!)
- โ Add copyright header to
.editorconfig
and update files (#13306) (Thanks @xtqqczze!) - ๐ Fix typo in Out-File.cs and Out-Printer.cs (#13298) (Thanks @dgoldman-msft!)
- ๐ Fix
SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation
(#13249) (Thanks @xtqqczze!) - โ Remove usage of do statement to create an infinite loop (#13137) (Thanks @xtqqczze!)
- ๐ Use
int
instead ofuint
in places where it's more appropriate (#13141) (Thanks @xtqqczze!) - ๐ Use
int
instead oflong
to avoidInterlocked.Read
(#13069) (Thanks @xtqqczze!)
Tools
- ๐ Fix
dotnet
install errors (#13387) - ๐ Increase the timeout of Windows daily build to 90 minutes (#13354)
- โก๏ธ Update the
dependabot
configuration to version 2 (#13230) (Thanks @RDIL!) - ๐ Fix
Test-XUnitTestResults
function (#13270) (Thanks @iSazonov!) - โก๏ธ Update
.devcontainer
to use nightly docker SDK images (#13128)
โ Tests
- โ
Mark
Test-Connection -TraceRoute
tests as pending (#13310)
๐ Build and Packaging Improvements
We thank the following contributors!
@xtqqczze, @iSazonov, @77, @WorrenB
- ๐ Update
README.md
andmetadata.json
for next release (#13059) - ๐ Create release pipeline as a yaml pipeline (#13394)
- โก๏ธ Update infrastructure to consume private builds from .NET (#13427)
- ๐ Fix breaks in packages daily build due to macOS signing changes (#13421)
- ๐ Sign individual files for macOS PKG (#13392)
- ๐ท Disable code sign validation on jobs that do not sign (#13389)
- โฌ๏ธ Bump
PSReadLine
from 2.0.2 to 2.0.4 (#13240) - ๐ Update build documentation for Visual Studio 2019 dependency (#13336) (Thanks @xtqqczze!)
- โฌ๏ธ Bump
Microsoft.CodeAnalysis.CSharp
from 3.6.0 to 3.7.0 (#13360) - โฌ๏ธ Bump
Microsoft.NET.Test.Sdk
from 16.6.1 to 16.7.0 (#13364) - โฌ๏ธ Bump
xunit.runner.visualstudio
from 2.4.2 to 2.4.3 (#13343) - ๐ Use Authenticode certificate for MSIX signing (#13330)
- โ Add default help content to the assets folder (#13257)
- โก๏ธ Update .NET SDK version from
5.0.100-preview.7.20366.2
to5.0.100-preview.7.20366.15
(#13200) - Set C# language version to preview/9.0 (#13090) (Thanks @iSazonov!)
- ๐ Use
pwsh
for build and test of package in CI build (#13223) - โ Remove
rcedit
dependency, move daily ico dependency to props file (#13123) - โฌ๏ธ Bump NJsonSchema from 10.1.23 to 10.1.24 (#13214)
- โก๏ธ Update .NET SDK version from
5.0.100-preview.7.20364.3
to5.0.100-preview.7.20366.2
(#13192) - โ Add support for installing arm64 MSIX package. (#13043) (Thanks @77!)
- ๐ Fix Azure file copy issues in release build (#13182)
- โก๏ธ Update .NET SDK version from
5.0.100-preview.7.20358.6
to5.0.100-preview.7.20364.3
(#13155) - ๐ Fix Azure file copy break in Azure DevOps (#13173)
- โฌ๏ธ Bump
Xunit.SkippableFact
from1.4.8
to1.4.13
(#13143) - โ Add new chibi svg version of the avatar (#13160) (Thanks @WorrenB!)
- ๐จ Refactor MSI code to make it easier to add a WiX exe installer (#13139)
- ๐ Disable ReadyToRun for debug build (#13144) (Thanks @iSazonov!)
- โ Add new chibi version of the avatar (#13140)
- โก๏ธ Update .NET SDK version from
5.0.100-preview.7.20356.2
to5.0.100-preview.7.20358.6
(#13134) (Thanks @github-actions[bot]!) - โก๏ธ Update .NET SDK version from
5.0.100-preview.6.20318.15
to5.0.100-preview.7.20356.2
(#13125) (Thanks @github-actions[bot]!)
๐ Documentation and Help Content
- ๐ Fix/clarify instructions for running Start-PSPester tests (#13373)
- ๐ Improve inline documentation for
VerbInfo
(#13265) (Thanks @yecril71pl!) - ๐ Improve the wording of inline comments in the help system (#13274) (Thanks @yecril71pl!)
- ๐ Correct grammar in
README.md
and other docs (#13269) (Thanks @tasnimzotder!) - โ Add "GitHub Actions Python builds" to
ADOPTERS.md
(#13228) (Thanks @brcrista!) - โก๏ธ Update change logs for
6.2.x
and7.0.x
(#13194) - ๐ Update
README.md
andmetadata.json
for the v7.0.3 release (#13187)
๐ SHA256 Hashes of the release artifacts
- ๐ง powershell-7.1.0-preview.6-linux-alpine-x64.tar.gz
- D469D5857696BEA9D1131AE57E730F4A7F485336D20BF7C8CDF6A460CD540747
- ๐ง powershell-7.1.0-preview.6-linux-arm32.tar.gz
- CDB9F52E788F727061F906DBB74CDB43950ED2961F9C224A7832E81168405320
- ๐ง powershell-7.1.0-preview.6-linux-arm64.tar.gz
- 0871F51462F863518E103C83254F3881C1DEC6CC210423F0178475CDDEFFDC72
- ๐ง powershell-7.1.0-preview.6-linux-x64.tar.gz
- 782DF03D460A44BD32AF1474E31D0EE3C0C721359378EB28651CB90CF19AD5CC
- ๐ง powershell-7.1.0-preview.6-linux-x64-fxdependent.tar.gz
- 71291451E5A66BACF5EEC2488DF4B776A855B82AA4BC6F5FE2C99F08859E0BFD
- powershell-7.1.0-preview.6-osx-x64.pkg
- A39384D599B0F3F5CB1B6C03F59A3DEC22D55863AADFDE44A98FDC0AE6B491CB
- powershell-7.1.0-preview.6-osx-x64.tar.gz
- 1A691E4183FED8938EB3DDDC1DB4D3CDB9C6CAB6977A283A6FA7A22E5984DC6E
- PowerShell-7.1.0-preview.6-win-arm32.zip
- 47AA181BB7A36A5F5E3B15E76A0FD8124EF51D070AF0662503054D105525A2EC
- PowerShell-7.1.0-preview.6-win-arm64.zip
- F776331076F628ED55D9F715CD9B6C572ACA1C645FCB222C978C223B8E941F00
- PowerShell-7.1.0-preview.6-win-fxdependent.zip
- 0B1BB493A78FF425951CC797B685ECFDC072CDA272DE26BC4CB34974162BA100
- PowerShell-7.1.0-preview.6-win-fxdependentWinDesktop.zip
- 00250EB898B88B6EF0F135D7734B3B6B05FEC817D532569A35CA4BCD3B041520
- PowerShell-7.1.0-preview.6-win-x64.msi
- 628582C3A7D733E36C1BE35331CD35471011F9A5464FD0192D965E289D968CD9
- PowerShell-7.1.0-preview.6-win-x64.zip
- 5C964899EEDBC991683BB45D50E824F430CAF677C264A6F9AA9D01FDD72B5450
- PowerShell-7.1.0-preview.6-win-x86.msi
- B3FAC69E969499CF7EEA3EA6804F10AE94DEB7137857CD614FFBF4532CCA1863
- PowerShell-7.1.0-preview.6-win-x86.zip
- 515720560579D1B1F4885AB8BB4E28E23DD249BE56C22A276AC21DD0E9E4947F
- powershell-preview_7.1.0-preview.6-1.debian.10_amd64.deb
- 1FA87B3719773A2DCA486D55DAA3D8069951F5CA9010BE5CFCE499678730D9A7
- powershell-preview_7.1.0-preview.6-1.debian.11_amd64.deb
- F3D1C05741CC1C79202C61490C4D6CA0234C7D9D2828174BCC794CFCD6625E41
- powershell-preview_7.1.0-preview.6-1.debian.9_amd64.deb
- DEB6F4FDBF5B933C60EC0E35571106C3FBA783723A7F63E6238601DB629CAD60
- powershell-preview_7.1.0-preview.6-1.ubuntu.16.04_amd64.deb
- 35E80A8AF9E035461B285EF27C7A9F9937CE398F0E08BD8B6B441B7D67FEF968
- powershell-preview_7.1.0-preview.6-1.ubuntu.18.04_amd64.deb
- AE1826869F5A1B8C9A8E8E25A7DF433C0C029D11D1D1A0D0BD9A32754494B98F
- powershell-preview-7.1.0_preview.6-1.centos.8.x86_64.rpm
- 38A3D5999723083AE890925A37AC4775EE1D96412003503889CFC0343D9BC64E
- powershell-preview-7.1.0_preview.6-1.rhel.7.x86_64.rpm
- EE3727678328F9C3DFC618726A865ABB3DCFA9C6546B637B7BBE4A4AC815F82E
- ๐ Rename