PowerShell v7.0.0-preview.5 Release Notes

Release Date: 2019-10-23 // over 4 years ago
  • v7.0.0-preview.5 - 10/23/2019

    Note: If there is an issue installing macOS package on Catalina please refer to this issue #10874

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ‘‰ Make $PSCulture consistently reflect in-session culture changes (#10138) (Thanks @iSazonov!)

    โšก๏ธ Engine Updates and Fixes

    • ๐Ÿšš Move to .NET Core 3.1 preview 1 (#10798)
    • ๐Ÿ”จ Refactor reparse tag checks in file system provider (#10431) (Thanks @iSazonov!)
    • ๐ŸŒฒ Replace CR and new line with a 0x23CE character in script logging (#10616)
    • ๐Ÿ›  Fix a resource leak by unregistering the event handler from AppDomain.CurrentDomain.ProcessExit (#10626)

    Experimental Features

    • Implement Get-Error cmdlet as Experimental Feature (#10727,#10800)
    • โž• Add ConciseView for $ErrorView and update it to remove unnecessary text and not color entire line in red (#10641,#10724)
    • ๐Ÿ‘Œ Support the pipeline chain operators && and || in PowerShell language (#9849,#10825,#10836)
    • Implement null coalescing (??) and null coalescing assignment (??=) operators (#10636)
    • ๐Ÿ‘Œ Support notification on pwsh startup when a new release is available and update notification message (#10689,#10777)

    โšก๏ธ General Cmdlet Updates and Fixes

    • โž• Add -NoEmphasize parameter to colorize Select-String output (#8963) (Thanks @derek-xia!)
    • โž• Add back Get-HotFix cmdlet (#10740)
    • ๐Ÿ‘‰ Make Add-Type usable in applications that host PowerShell (#10587)
    • ๐Ÿ‘‰ Use more effective evaluation order in LanguagePrimitives.IsNullLike() (#10781) (Thanks @vexx32!)
    • ๐Ÿ‘Œ Improve handling of mixed-collection piped input and piped streams of input in Format-Hex (#8674) (Thanks @vexx32!)
    • ๐Ÿ‘€ Use type conversion in SSHConnection hashtables when value doesn't match expected type (#10720) (Thanks @SeeminglyScience!)
    • ๐Ÿ›  Fix Get-Content -ReadCount 0 behavior when -TotalCount is set (#10749) (Thanks @eugenesmlv!)
    • Reword access denied error message in Get-WinEvent (#10639) (Thanks @iSazonov!)
    • Enable tab completion for variable assignment that is enum or type constrained (#10646)
    • โœ‚ Remove unused SourceLength remoting property causing formatting issues (#10765)
    • โž• Add -Delimiter parameter to ConvertFrom-StringData (#10665) (Thanks @steviecoaster!)
    • โž• Add positional parameter for ScriptBlock when using Invoke-Command with SSH (#10721) (Thanks @machgo!)
    • ๐Ÿ‘‰ Show line context information if multiple lines but no script name for ConciseView (#10746)
    • โž• Add support for \\wsl$\ paths to file system provider (#10674)
    • โž• Add the missing token text for TokenKind.QuestionMark in parser (#10706)
    • Set current working directory of each ForEach-Object -Parallel running script to the same location as the calling script. (#10672)
    • Replace api-ms-win-core-file-l1-2-2.dll with Kernell32.dll for FindFirstStreamW and FindNextStreamW APIs (#10680) (Thanks @iSazonov!)
    • ๐Ÿ‘‰ Tweak help formatting script to be more StrictMode tolerant (#10563)
    • โž• Add -SecurityDescriptorSDDL parameter to New-Service (#10483) (Thanks @kvprasoon!)
    • โœ‚ Remove informational output, consolidate ping usage in Test-Connection (#10478) (Thanks @vexx32!)
    • ๐Ÿ“œ Read special reparse points without accessing them (#10662) (Thanks @iSazonov!)
    • Direct Clear-Host output to terminal (#10681) (Thanks @iSazonov!)
    • โž• Add back newline for grouping with Format-Table and -Property (#10653)
    • โœ‚ Remove [ValidateNotNullOrEmpty] from -InputObject on Get-Random to allow empty string (#10644)
    • ๐Ÿ‘‰ Make suggestion system string distance algorithm case-insensitive (#10549) (Thanks @iSazonov!)
    • ๐Ÿ›  Fix null reference exception in ForEach-Object -Parallel input processing (#10577)

    Code Cleanup

    • โœ‚ Remove WorkflowJobSourceAdapter reference that is no longer used (#10326) (Thanks @KirkMunro!)
    • Cleanup COM interfaces in jump list code by fixing PreserveSig attributes (#9899) (Thanks @weltkante!)
    • โž• Add a comment describing why -ia is not the alias for -InformationAction common parameter (#10703) (Thanks @KirkMunro!)
    • ๐Ÿ“‡ Rename InvokeCommandCmdlet.cs to InvokeExpressionCommand.cs (#10659) (Thanks @kilasuit!)
    • โž• Add minor code cleanups related to update notifications (#10698)
    • โœ‚ Remove deprecated workflow logic from the remoting setup scripts (#10320) (Thanks @KirkMunro!)
    • โšก๏ธ Update help format to use proper case (#10678) (Thanks @tnieto88!)
    • ๐Ÿ’… Clean up CodeFactor style issues coming in commits for the last month (#10591) (Thanks @iSazonov!)
    • ๐Ÿ›  Fix typo in description of PSTernaryOperator experimental feature (#10586) (Thanks @bergmeister!)

    ๐ŸŽ Performance

    • โž• Add minor performance improvements for runspace initialization (#10569) (Thanks @iSazonov!)

    Tools

    • ๐Ÿ‘‰ Make Install-PowerShellRemoting.ps1 handle empty string in PowerShellHome parameter (#10526) (Thanks @Orca88!)
    • ๐Ÿš€ Switch from /etc/lsb-release to /etc/os-release in install-powershell.sh (#10773) (Thanks @Himura2la!)
    • ๐Ÿ Check pwsh.exe and pwsh in daily version on Windows (#10738) (Thanks @centreboard!)
    • โœ‚ Remove unneeded tap in installpsh-osx.sh (#10752)

    โœ… Tests

    • โœ… Temporary skip the flaky test TestAppDomainProcessExitEvenHandlerNotLeaking (#10827)
    • โœ… Make the event handler leaking test stable (#10790)
    • ๐Ÿ”€ Sync capitalization in CI YAML (#10767) (Thanks @RDIL!)
    • โž• Add test for the event handler leaking fix (#10768)
    • โž• Add Get-ChildItem test (#10507) (Thanks @iSazonov!)
    • โœ… Replace ambiguous language for tests from switch to parameter for accuracy (#10666) (Thanks @romero126!)

    ๐Ÿ— Build and Packaging Improvements

    • โšก๏ธ Update package reference for PowerShell SDK to preview.5 (Internal 10295)
    • โšก๏ธ Update ThirdPartyNotices.txt (#10834)
    • โฌ†๏ธ Bump Microsoft.PowerShell.Native to 7.0.0-preview.3 (#10826)
    • โฌ†๏ธ Bump Microsoft.ApplicationInsights from 2.10.0 to 2.11.0 (#10608)
    • โฌ†๏ธ Bump NJsonSchema from 10.0.24 to 10.0.27 (#10756)
    • โž• Add MacPorts support to the build system (#10736) (Thanks @Lucius-Q-User!)
    • โฌ†๏ธ Bump PackageManagement from 1.4.4 to 1.4.5 (#10728)
    • โฌ†๏ธ Bump NJsonSchema from 10.0.23 to 10.0.24 (#10635)
    • โž• Add environment variable to differentiate client/server telemetry in MSI (#10612)
    • โฌ†๏ธ Bump PSDesiredStateConfiguration from 2.0.3 to 2.0.4 (#10603)
    • โฌ†๏ธ Bump Microsoft.CodeAnalysis.CSharp from 3.2.1 to 3.3.1 (#10607)
    • โšก๏ธ Update to .Net Core 3.0 RTM (#10604) (Thanks @bergmeister!)
    • โšก๏ธ Update MSIX packaging so the version to Windows Store requirements (#10588)

    ๐Ÿ“š Documentation and Help Content

    • ๐Ÿ”€ Merge stable and servicing change logs (#10527)
    • โšก๏ธ Update used .NET version in build docs (#10775) (Thanks @Greg-Smulko!)
    • ๐Ÿ“„ Replace links from MSDN to docs.microsoft.com in powershell-beginners-guide.md (#10778) (Thanks @iSazonov!)
    • ๐Ÿ›  Fix broken DSC overview link (#10702)
    • โšก๏ธ Update Support_Question.md to link to Stack Overflow as another community resource (#10638) (Thanks @mklement0!)
    • โž• Add processor architecture to distribution request template (#10661)
    • โž• Add new PowerShell MoL book to learning PowerShell docs (#10602)

    ๐Ÿš€ SHA256 Hashes of the release artifacts

    • ๐Ÿง powershell-7.0.0-preview.5-linux-alpine-x64.tar.gz
      • 42E481CAD6A7F10EF806EB8C73B357EB99529CBE53B33321C78329CABCBC7B11
    • ๐Ÿง powershell-7.0.0-preview.5-linux-arm32.tar.gz
      • 456542654740F44E2BCEB34296E80AA9D2DF27508D08650D9B541540F78FBDD1
    • ๐Ÿง powershell-7.0.0-preview.5-linux-arm64.tar.gz
      • 3AA89533D295D8619D4BDD405831853F6741E0A9C3BB14F6200378F69898F353
    • ๐Ÿง powershell-7.0.0-preview.5-linux-x64.tar.gz
      • 0D667AAE3495C22551E7C81B54A56F67E79C4FE11C361B25630B6B6BFA7F04A8
    • ๐Ÿง powershell-7.0.0-preview.5-linux-x64-fxdependent.tar.gz
      • 94275BB35C76AD40E3F272B750A6D5FA17D6AE6665DF37B6BE712E3BF5C62096
    • powershell-7.0.0-preview.5-osx-x64.pkg
      • 338F5F36B0C7BEEBC301DEDA43C3A350D768F09AFADAABA714FF80272AB0DAC0
    • powershell-7.0.0-preview.5-osx-x64.tar.gz
      • DE196639CA34576B524EF443598EF5176D05E395D77231A1660C9E021A1EAB9E
    • PowerShell-7.0.0-preview.5-win-arm32.msix
      • 1E508B33DC895FFAC2837F7ACAFF5D6505C4679E7A9C06DEBE9FF831C562CCC7
    • PowerShell-7.0.0-preview.5-win-arm32.zip
      • 3ED98F8EDEC179119F9B8D8580B5BCDBF532D09331A0BACD43F3609D6874CB89
    • PowerShell-7.0.0-preview.5-win-arm64.msix
      • 44512F07239E22FE7EA1A866B3613F1A5E30236B4CC5B1ED550AF97BB56EC543
    • PowerShell-7.0.0-preview.5-win-arm64.zip
      • 75BBA733AA45F4739EBC22D740E6D81DBE007EB5922265D85C6A24E36304BB21
    • PowerShell-7.0.0-preview.5-win-fxdependent.zip
      • 513111991F68B9FF4C86049E209FC13907D3B9FA88C1D8C49D2E86E2259D3FB1
    • PowerShell-7.0.0-preview.5-win-fxdependentWinDesktop.zip
      • E35699AADBFFF04D528E8E42868A4EC8C6A4C7E0341A0930CC6500A07CAFCA9F
    • PowerShell-7.0.0-preview.5-win-x64.msi
      • 34DD3817C96EBAE7A29E16E36322A07C7EC170E943B3AFB141D9C1B4073EE9C6
    • PowerShell-7.0.0-preview.5-win-x64.msix
      • A77EFCAE9644EEEA1B9122F6779FCE623602C7333D2E70A4F664FB6EA181213B
    • PowerShell-7.0.0-preview.5-win-x64.zip
      • F344C8397FE3016CF764756E8ABE4ACE89898E6228F7142C176896A148B1381B
    • PowerShell-7.0.0-preview.5-win-x86.msi
      • 15859B51FF8C80A56F09DDD5B77599037C9091A602EFE83075F200E78074A71D
    • PowerShell-7.0.0-preview.5-win-x86.zip
      • 6CDAC42E223A9F183E7C2D0158AFA75320937B7B1ABB55FC58DCBA7FEA9662EE
    • powershell-preview_7.0.0-preview.5-1.debian.9_amd64.deb
      • 1D5B33EAD146088DFB9C0ADC2E40B38F064272D14C080470E36993F1FF33665E
    • powershell-preview_7.0.0-preview.5-1.ubuntu.16.04_amd64.deb
      • 67BE7548D6259AEC8B72E7DD42B8236705A6EB25233A34CD10A5C29631F7314C
    • powershell-preview_7.0.0-preview.5-1.ubuntu.18.04_amd64.deb
      • FAB403167A629080AE1F1F83823B81757BD32F3F327A8EA4B4BDAD58FAA4649F
    • powershell-preview-7.0.0_preview.5-1.rhel.7.x86_64.rpm
      • 59A43152734BB280B6749CFAAE5407EC9ADEC4E93E8CA1FB14D7A205BB4B80CA