Skip to content

v7.0.0-rc.2 Release of PowerShell

Pre-release
Pre-release
Compare
Choose a tag to compare
@TravisEz13 TravisEz13 released this 16 Jan 23:35
· 3436 commits to master since this release

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
    • 2CD60523898E3DD461C3B154B1989E755FEDD5B3D15A885BFEDC209ACC38EF88
  • 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

Note: This file was replaced because it was missing symbolic links.

  • powershell-7.0.0-rc.2-linux-x64.tar.gz
    • F365C5DE1D29975B5CB759C16BBF636326311C848410AA397491BE247DE7B732