PowerShell v6.0.0-beta.6 Release Notes

Release Date: 2017-08-24 // over 6 years ago
  • ๐Ÿ’ฅ Breaking change

    • ๐Ÿ‘‰ Make invalid argument error messages for -File and -Command consistent and make exit codes consistent with Unix standards (#4573)

    โšก๏ธ Engine updates and fixes

    • ๐Ÿ‘‰ Make resource loading to work with PowerShell SxS installation (#4139)
    • โž• Add missing assemblies to TPA list to make Pwrshplughin.dll work (#4502)
    • ๐Ÿ‘‰ Make sure running powershell starts instance of the current version of PowerShell. (#4481)
    • 0๏ธโƒฃ Make sure we only use Unicode output by default on Nano and IoT systems (#4074)
    • ๐Ÿ’… Enable powershell -WindowStyle to work on Windows. (#4573)
    • Enable enumeration of COM collections. (#4553)

    โšก๏ธ General cmdlet updates and fixes

    • ๐Ÿ›  Fix Web CmdLets -SkipHeaderValidation to work with non-standard User-Agent headers. (#4479 & #4512) (Thanks @markekraus)
    • โž• Add Certificate authentication support for Web CmdLets. (#4646) (Thanks @markekraus)
    • โž• Add support for content headers to Web CmdLets. (#4494 & #4640) (Thanks @markekraus)
    • โž• Add support for converting enums to string (#4318) (Thanks @KirkMunro)
    • Ignore casing when binding PSReadline KeyHandler functions (#4300) (Thanks @oising)
    • ๐Ÿ›  Fix Unblock-File for the case of a read-only file. (#4395) (Thanks @iSazonov)
    • ๐Ÿ‘‰ Use supported API to set Central Access Policy ID (CAPID) in SACL. (#4496)
    • ๐Ÿ‘‰ Make Start-Trace support paths that require escaping in the underlying APIs (#3863)
    • Removing #if CORECLR enabled, Enable-PSRemoting and Disable-PSRemoting (#2671)
    • โœ… Enable WSManCredSSP cmdlets and add tests. (#4336)
    • ๐Ÿ‘‰ Use .NET Core's implementation for ShellExecute. (#4523)
    • ๐Ÿ›  Fix SSH Remoting handling of KeyFileParameter when the path must be quoted. (#4529)
    • ๐ŸŒ Make Web CmdLets use HTML meta charset attribute value, if present (#4338)
    • ๐Ÿšš Move to .NET Core 2.0 final (#4603)

    ๐Ÿ— Build/test and code cleanup

    • โž• Add Amazon Linux Docker image and enable related tests. (#4393) (Thanks @DarwinJS)
    • ๐Ÿ‘‰ Make MSI verify pre-requisites are installed. (#4602) (Thank @bergmeister)
    • ๐Ÿ›  Fixed formatting issues in build files. (#4630) (Thanks @iSazonov)
    • ๐ŸŽ Make sure install-powershell.sh installs latest powershell on macOS, even if an old version is cached in brew. (#4509) (Thanks @richardszalay for reporting.)
    • ๐Ÿ›  Fixes install scripts issue for macOS. (#4631) (Thanks @DarwinJS)
    • Many stability improvements to our nightly code coverage automation. (#4313 & #4550)
    • โœ‚ Remove hash validation from nanoserver-insider Docker file, due to frequent changes. (#4498)
    • โšก๏ธ Update to make Travis-CI daily build badge more reliable. (#4522)
    • โœ‚ Remove unused build files, build code, and product code. (#4532, #4580, #4590, #4589, #4588, #4587, #4586, #4583, #4582, #4581)
    • โž• Add additional acceptance tests for PowerShellGet. (#4531)
    • ๐Ÿ— Only publish a NuGet of the full PowerShell core package on daily builds and not merge. (#4517)
    • โšก๏ธ Update nanoserver-insider Docker file due to breaking changes in the base image. (#4555)
    • โœ… Cleanup engine tests (#4551)
    • ๐Ÿ›  Fix intermittent failures in filesystem tests (#4566)
    • โž• Add tests for
      • New-WinEvent. (#4384)
      • tab completion. (#4560)
      • various types. (#4503)
      • CDXML CmdLets. (#4537)
    • Only allow packaging of powershell, if it was built from a repo at the root of the file system named powershell. (#4569 & #4600)
    • โšก๏ธ Update Format-Hex test cases to use -TestCase instead of foreach loops. (#3800)
    • โž• Added functionality to get code coverage for a single file locally. (#4556)

    ๐Ÿ“š Documentation

    • โž• Added Ilya (@iSazonov) as a Maintainer. (#4365)
    • Grammar fix to the Pull Request Guide. (#4322)
    • โž• Add homebrew for macOS to install documentation. (#3838)
    • โž• Added a CodeOwner file. (#4565 & #4597)

    Cleanup #if CORECLR code

    PowerShell 6.0 will be exclusively built on top of CoreCLR, so we are removing a large amount of code that's built only for FullCLR. ๐Ÿ”Š To read more about this, check out this blog post.