PowerShell v7.0.0-rc.2 Release Notes

Release Date: 2020-01-16 // about 4 years ago
  • v7.0.0-rc.2 - 1/16/2020

    Note: There is a known issue with WinRM-based remoting on Debian 10 and 11 when using Basic authentication with HTTPS. We are currently investigating this problem and try to address it for PowerShell 7 GA.

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ‘‰ Use ISOWeek for week numbers in Get-Date accounting for leap years (#11536) (Thanks @paalbra!)

    โšก๏ธ Engine Updates and Fixes

    • โช Revert the PRs that made DBNull.Value and NullString.Value treated as $null (#11584)
    • ๐Ÿ‘Œ Support expanding ~ in $env:PATH when doing command discovery (#11552)
    • Skip null data in output data received handler to fix a NullReferenceException (#11448) (Thanks @iSazonov!)
    • โž• Add ssh parameter sets for the parameter -JobName in Invoke-Command (#11444)
    • โž• Adding PowerShell Editor Services and PSScriptAnalyzer to tracked modules (#11514)
    • ๐Ÿ›  Fix key exchange hang with SecureString for the OutOfProc transports (#11380, #11406)
    • โž• Add setting to disable the implicit WinPS module loading (#11332)

    โšก๏ธ General Cmdlet Updates and Fixes

    • ๐Ÿ›  Fix NullReferenceException in ConciseView (#11435) (Thanks @iSazonov!)
    • โœ‚ Remove the default value of $true for the parameter -RequireLicenseAcceptance in New-ModuleManifest (#11512) (Thanks @ThomasNieto!)
    • ๐ŸŒ Make Web Cmdlets skip processing the content headers with a null or empty value for backward compatibility (#11421) (Thanks @spongemike2!)
    • Don't format exceptions that are not ErrorRecord objects (#11415)
    • Mark InitialSessionState.ImportPSSnapIn as Obsolete (#11399)
    • ๐Ÿ‘‰ Use PositionMessage for the line context information for ConciseView (#11398)
    • โž• Add trailing line number to filename for ConciseView (#11391)
    • โšก๏ธ Update HelpInfoUri for all modules in PowerShell 7.0 (#11389)
    • โœ‚ Remove unnecessary newline in ConciseView (#11383)
    • ๐Ÿšš Move Set-StrictMode to the outer script block for ErrorView (#11381)
    • โœ‚ Remove the declaration of Get-Error experimental feature from module manifest (#11369)
    • โšก๏ธ Update error message if Update-Help fails for the current UICulture (#11356)
    • โœ… Test-Connection: Fallback to hop IP Address on -Traceroute without -ResolveDestination (#11335) (Thanks @vexx32!)
    • โž• Add null host name check in WSMan (#11288) (Thanks @iSazonov!)
    • โž• Add Type member to exceptions containing type of exception for Get-Error (#11076)
    • Write an error if argument is a directory in Get-FileHash cmdlet (#11114) (Thanks @iSazonov!)
    • โšก๏ธ Update Get-Error to not modify the original $Error object (#11125)

    Code Cleanup

    • ๐Ÿ‘‰ Use .NET code to check for processor architecture instead of P/Invoke (#11046) (Thanks @iSazonov!)

    โœ… Tests

    • โœ… Test fixes for various platforms (#11579, #11541)
    • โœ… Various test fixes for debugger and remoting (#11528)
    • โœ… DSC test fixes for Alpine and Raspbian (#11508)
    • โœ… Normalize line endings before comparing string in tests (#11499)
    • ๐Ÿ›  Fix ssh remoting test to work on all platforms (#11500)
    • ๐Ÿ— Build test artifacts for Alpine (#11483)
    • โœ… Make null member access tests as string to avoid parsing errors (#11385)
    • ๐Ÿ›  Fix test failing when UnixStat feature is disabled (#11370)
    • โšก๏ธ Update hosting tests to use the SDK version from the build property (#11368)
    • โž• Add retry to Enter-PSHostProcess test (#11360)

    ๐Ÿ— Build and Packaging Improvements

    • โฌ†๏ธ Bump Microsoft.PowerShell.Native from 7.0.0-rc.1 to 7.0.0.rc.2 (#11583)
    • โšก๏ธ Update .NET SDK version to 3.1.101 (#11582)
    • โฌ†๏ธ Bump PSReadLine from 2.0.0-rc1 to 2.0.0-rc2 (#11581)
    • โฌ†๏ธ Bump NJsonSchema from 10.0.28 to 10.1.3 (#11382, #11573)
    • ๐Ÿ“ฆ Generate the correct reference assembly for Microsoft.PowerShell.ConsoleHost NuGet package (#11545)
    • โšก๏ธ Update building of MSIX for RC to use 100 range revision (#11526)
    • ๐Ÿ›  Fix symbolic links on Debian 10 packages (#11474)
    • โฌ†๏ธ Bump Microsoft.PowerShell.Archive from 1.2.3.0 to 1.2.4.0 (#11502)
    • โž• Add script to rebuild WIX component references (#11485)
    • โฌ†๏ธ Bump PackageManagement from 1.4.5 to 1.4.6 (#11427)
    • โฌ†๏ธ Bump PowerShellGet from 2.2.2 to 2.2.3 (#11426)
    • โฌ†๏ธ Bump ThreadJob from 2.0.2 to 2.0.3 (#11416)
    • ๐Ÿ›  Fix symbolic links to libs on Debian 10 (#11390)
    • ๐Ÿ‘Œ Improve Ubuntu detection for Ubuntu derivatives like GalliumOS etc (#11155)

    ๐Ÿ“š Documentation and Help Content

    • ๐Ÿ›  Fix broken link in debugging README.md (#11503)

    ๐Ÿš€ SHA256 Hashes of the release artifacts

    • ๐Ÿง powershell-7.0.0-rc.2-linux-alpine-x64.tar.gz
      • 3A1AA7FA57F3CCEE43950F39367FF4138F5F21FE5F07B42CB611E41842309BA8
    • ๐Ÿง powershell-7.0.0-rc.2-linux-arm32.tar.gz
      • 00576AEF59EC582393D17307B81C297D4833E542E53883359602F5A86B96AC0E
    • ๐Ÿง powershell-7.0.0-rc.2-linux-arm64.tar.gz
      • E744D778475F48D169DA33C045BF07588BA0FEB4FFFBD5771010F0AFB17788B7
    • ๐Ÿง powershell-7.0.0-rc.2-linux-x64.tar.gz
      • F365C5DE1D29975B5CB759C16BBF636326311C848410AA397491BE247DE7B732
    • ๐Ÿง powershell-7.0.0-rc.2-linux-x64-fxdependent.tar.gz
      • 9F40116C56759EC7CEE2185C68ADCC227395D0D695EAA56F40E068E200EF6E29
    • powershell-7.0.0-rc.2-osx-x64.pkg
      • 4D97C7F6FF3FCD12996D28CE61A45FC6162D92E3A5E45EF448C445CE431F5725
    • powershell-7.0.0-rc.2-osx-x64.tar.gz
      • F77D5D3BB080DCC5EDE1316780BF074E448600E8F978A5D4060EE829491241B7
    • PowerShell-7.0.0-rc.2-win-arm32.msix
      • FD77554EBD583C6F4B539CD979F1A601D98463513AF712E8928D833D69BDC40E
    • PowerShell-7.0.0-rc.2-win-arm32.zip
      • 44E8C156C270DFD1D4B7F4E820240696087502B18FFE20A37EC04DB62B82A039
    • PowerShell-7.0.0-rc.2-win-arm64.msix
      • 5FBAC92155DC7986A4592FECF8CA21BA1B1CB7FC1777888501D461ECB3472819
    • PowerShell-7.0.0-rc.2-win-arm64.zip
      • F79D428FEDF083D76EE01A83E6875D2D7368570FBC04981AC20F76711FA052AF
    • PowerShell-7.0.0-rc.2-win-fxdependent.zip
      • 58A3F212C365EBEB363B533E1001D95D7583490BB8A9401933DB9521B54F3242
    • PowerShell-7.0.0-rc.2-win-fxdependentWinDesktop.zip
      • 785DDCEC721957B85F1BC2FB48BC9062E575934786435260DDC4426148594D64
    • PowerShell-7.0.0-rc.2-win-x64.msi
      • A903B63F27882B726E81E7A6EE3E52CE3979036A372DDF4F4D62DF8CE5523345
    • PowerShell-7.0.0-rc.2-win-x64.msix
      • C10DC9A253FAD9AF058D3B9C58DBF533C0831379F60E74F1D873AE8A02356ED2
    • PowerShell-7.0.0-rc.2-win-x64.zip
      • 58C76BF77E206494E1FD82F96B65FC4BF240092DCB247C78077B63976262AF41
    • PowerShell-7.0.0-rc.2-win-x86.msi
      • CA90F07DD63B369BCD8B7AC20402AF58FE812E782021B95396996EE280B9DAD9
    • PowerShell-7.0.0-rc.2-win-x86.msix
      • AB07ADFB2AEE1FD8B06D175C713C33149BC69BDEF3F9DA9B73B3C9799926103A
    • PowerShell-7.0.0-rc.2-win-x86.zip
      • FD216F2C5358BED81DF9500C8371126FA2EB99E76F430F9BB2E091B968D15F5B
    • powershell-preview_7.0.0-rc.2-1.debian.10_amd64.deb
      • 03ACE482E443C12714038E13FD25983B1B8960CF213C31614491567AFF5217C4
    • powershell-preview_7.0.0-rc.2-1.debian.11_amd64.deb
      • DC3672FFB777CC23DA41994FF39E03A16E86FCDCE8AA3AD6D9626337E7C2D222
    • powershell-preview_7.0.0-rc.2-1.debian.9_amd64.deb
      • D0CF0FBD768C0F3E35687785F78BA1E5FE171B8BFE1AE086587C82869130588B
    • powershell-preview_7.0.0-rc.2-1.ubuntu.16.04_amd64.deb
      • 7EB915B4BFD60BF789D7C5385AF416EC7555F494E18F457323C582B6F314B14E
    • powershell-preview_7.0.0-rc.2-1.ubuntu.18.04_amd64.deb
      • F2599307D4AE082BEAD3F8457C48DF1FBC5A9378744F3C437F1CCE1D15BA7090
    • powershell-preview-7.0.0_rc.2-1.centos.8.x86_64.rpm
      • 4B987DEFCFB015076D571E6D053503ED9406A50F7BA7A4F5F9A7A0075CC17FC1
    • powershell-preview-7.0.0_rc.2-1.rhel.7.x86_64.rpm
      • 904B4F657FA8359997CA75C88601469533EDD7643DADF024CF95F426FB05C980