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 on Get-Date to allow Unix time input (#13084) (Thanks @aetos382!)
    • ๐Ÿ‘‰ Make $ErrorActionPreference not affect stderr 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 public ConsoleHost APIs (#13429)
    • โž• Add missing dispose for CancellationTokenSource (#13420) (Thanks @Youssef1313!)
    • โž• Add the parameter -Paged to Get-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) for pwsh (#13262) (Thanks @iSazonov!)
    • ๐Ÿ”„ Change Read-Host -MaskInput to use existing SecureString path, but return as plain text (#13256)
    • โœ‚ Remove ComEnumerator as COM objects using IEnumerator 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 of as 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 of uint in places where it's more appropriate (#13141) (Thanks @xtqqczze!)
    • ๐Ÿ‘‰ Use int instead of long to avoid Interlocked.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 and metadata.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 to 5.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 to 5.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 to 5.0.100-preview.7.20364.3 (#13155)
    • ๐Ÿ›  Fix Azure file copy break in Azure DevOps (#13173)
    • โฌ†๏ธ Bump Xunit.SkippableFact from 1.4.8 to 1.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 to 5.0.100-preview.7.20358.6 (#13134) (Thanks @github-actions[bot]!)
    • โšก๏ธ Update .NET SDK version from 5.0.100-preview.6.20318.15 to 5.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 and 7.0.x (#13194)
    • ๐Ÿš€ Update README.md and metadata.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