PowerShell v6.0.0-rc.2 Release Notes

Release Date: 2017-12-14 // over 6 years ago
  • ๐Ÿ’ฅ Breaking changes

    • Skip null-element check for collections with a value-type element type (#5432)
    • ๐Ÿ‘‰ Make AllSigned execution policy require modules under $PSHome to be signed (#5511)

    โšก๏ธ Engine updates and fixes

    • โšก๏ธ Update PowerShell to use 2.0.4 dotnet core runtime. (#5677)
    • โœ‚ Remove references to the old executable powershell or powershell.exe (#5408)

    โšก๏ธ General cmdlet updates and fixes

    • โœ‚ Remove unnecessary check for Paths.count > 0, in the *-FileCatalog CmdLets (#5596)
    • ๐Ÿ‘‰ Use explicit libpsl-native binary name for dllimport. (#5580)

    ๐Ÿ— Build and Packaging Improvements

    • ๐Ÿ›  Fix Get-EnvironmentInformation to properly check for CoreCLR (#5592) (Thanks @markekraus!)
    • ๐Ÿ‘ท Make Travis CI use libcurl+openssl+gssapi (#5629) (Thanks @markekraus!)
    • ๐Ÿ Disambiguate icon for daily builds on Windows (#5467) (Thanks @bergmeister!)
    • ๐Ÿ›  Fix Import-CliXml tests which still use powershell instead of pwsh and make sure it fails if it regresses (#5521) (Thanks @markekraus!)
    • โšก๏ธ Update port number used for WebCmdlets tests which broke due to a change in AppVeyor (#5520) (Thanks @markekraus!)
    • โœ… Clean up use of Runspaceconfiguration from comments and xUnit test code (#5569) (Thanks @Bhaal22!)
    • โœ… Replace HttpListener Response Tests with WebListener (#5540, #5605) (Thanks @markekraus!)
    • ๐Ÿ›  Fix the path to powershell_xxx.inc in Start-Build (#5538) (Thanks @iSazonov!)
    • โœ‚ Remove Pester as a module include with the PowerShell Packages. You should be able to add it by running Install-Module Pester. (#5623, #5631)
    • ๐Ÿ”จ Refactor New-UnixPackaging into functions to make the large function more readable. (#5625)
    • ๐Ÿ‘‰ Make the experience better when Start-PSPester doesn't find Pester (#5673)
    • ๐Ÿš€ Update packaging and release build scripts to produce zip packages for win-arm and win-arm64 (#5664)
    • ๐Ÿง Enable Install-Debian to work with VSTS Hosted Linux Preview (#5659)
    • โž• Add linux-arm tarball package to release build (#5652, #5660)
    • ๐Ÿ— Enable building for win-arm and win-arm64 (#5524)
    • ๐ŸŽ Make macOS package require 10.12 or newer (#5649, #5654)
    • โšก๏ธ Update signing subjects to something meaningful (#5650)
    • ๐Ÿ“ฆ Make New-UnixPackage more readable (#5625)
    • โšก๏ธ Update PowerShellGet tests to validate the new install location of AllUsers scope. (#5633)
    • ๐Ÿ‘ท Increase reliability of flaky test that fails intermittently in CI (#5641)
    • โœ… Exclude markdown files from Pester folder from the Markdown meta test (#5636)
    • ๐Ÿ Run tests for Windows installer only on Windows (#5619)
    • โœ… Suppress the expected errors from Select-Xml tests (#5591)
    • โž• Add retry logic to prerequisite URL and output URL on failure so you can more easily troubleshoot (#5601, #5570)
    • ๐Ÿš€ Make sure submodule are initialized when running Mac release build (#5496)
    • โœ‚ Remove duplicate files in Windows packages in a folder called signed (#5527)
    • โž• Add PowerShell VSCode style settings (#5529) (Thanks @bergmeister)
    • โž• Add Travis CI matrix for improved job tagging (#5547)
    • โœ‚ Remove community docker files from official docker image validation (#5508)

    ๐Ÿ“š Documentation and Help Content

    • ๐Ÿ“š XML documentation fix for CompletionResult (#5550) (Thanks @bergmeister!)
    • ๐Ÿ”„ Change synopsis of install-powershell.ps1 to reflect that it works cross-platform (#5465) (Thanks @bergmeister!)
    • โž• Add more helpful message for AmbiguousParameterSet exception (#5537) (Thanks @kvprasoon!)
    • โšก๏ธ Update the contribution guideline to note that updating the changelog is required. (#5586)
    • โšก๏ธ Updated doc to build arm/arm64 versions of psrp.windows and PowerShell.Core.Instrumentation.dll libraries (#5668)
    • โšก๏ธ Update Contribution guidelines with work in progress guidance (#5655)
    • โšก๏ธ Update code coverage tests to get GitCommitId using the ProductVersion from Assembly (#5651)
    • โœ‚ Remove requirement to updating changelog update in PR (#5644, #5586)
    • ๐Ÿš€ Minor refactoring of the release build scripts (#5632)
    • โšก๏ธ Update PowerShell executable name in using-vscode.md (#5593)
    • ๐Ÿ›  Fix xUnit test for PS (#4780)
    • โšก๏ธ Update install link and instructions for R-Pi (#5495)

    Compliance Work

    ๐Ÿ“„ Compliance ๐Ÿš€ work is required for Microsoft to continue to sign and release packages from the project as official Microsoft packages.

    • โœ‚ Remove PerformWSManPluginReportCompletion, which was not used, from pwrshplugin.dll (#5498) (Thanks @bergmeister!)
    • โœ‚ Remove exclusion for hang and add context exception for remaining instances (#5595)
    • Replace strlen with strnlen in native code (#5510)