PowerShell v6.0.0-beta.7 Release Notes

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

    • ๐Ÿ›  Fix Get-Content -Delimiter to not include the delimiter in the array elements returned (#3706) (Thanks @mklement0)
    • ๐ŸŽ Rename $IsOSX to $IsMacOS (#4757)

    โšก๏ธ Engine updates and fixes

    • ๐Ÿ‘‰ Use stricter rules when unwrapping a PSObject that wraps a COM object (#4614)
    • โœ‚ Remove appended Windows PowerShell PSModulePath on Windows. (#4656)
    • Ensure GetNetworkCredential() returns null if PSCredential has null or empty user name (#4697)
    • Push locals of automatic variables to 'DottedScopes' when dotting script cmdlets (#4709)
    • ๐Ÿ›  Fix using module when module has non-terminating errors handled with SilentlyContinue (#4711) (Thanks @iSazonov)
    • Enable use of 'Singleline,Multiline' option in split operator (#4721) (Thanks @iSazonov)
    • ๐Ÿ›  Fix error message in ValidateSetAttribute.ValidateElement() (#4722) (Thanks @iSazonov)

    โšก๏ธ General cmdlet updates and fixes

    • โž• Add Meta, Charset, and Transitional parameters to ConvertTo-HTML (#4184) (Thanks @ergo3114)
    • โœ… Prevent Test-ModuleManifest from loading unnecessary modules (#4541)
    • โœ‚ Remove AlternateStream code and -Stream from provider cmdlets on non-Windows (#4567)
    • โž• Add explicit ContentType detection to Invoke-RestMethod (#4692)
    • ๐Ÿ›  Fix an error on Enter-PSSession exit (#4693)
    • โž• Add -WhatIf switch to Start-Process cmdlet (#4735) (Thanks @sarithsutha)
    • โœ‚ Remove double spaces in .cs, .ps1, and .resx files (#4741 & #4743) (Thanks @korygill)
    • ๐Ÿ Replace 'Windows PowerShell' with 'PowerShell' in resx files (#4758) (Thanks @iSazonov)

    ๐Ÿ— Build and Packaging Improvements

    • ๐Ÿ”จ Refactor MSBuild project files to get PowerShell version from git tag (#4182) (Thanks @iSazonov)
    • ๐Ÿ Create a single package for each Windows supported architecture (x86 and amd64) (#4540)
    • ๐Ÿ Set the default windows RID to win7- (#4701)
    • Enable cross-compiling for Raspberry-PI arm32 (#4742)
    • ๐Ÿ›  Fix macOS brew reinstall command (#4627) (Thanks @TheNewStellW)
    • ๐Ÿ‘Œ Improvements to the Travis-CI script (#4689, #4731, #4807)
    • โšก๏ธ Update OpenSUSE docker image to 42.2 (#4737)
    • ๐Ÿ“ฆ Confirm Start-PSPackage produces a package (#4795)

    Code Cleanup

    • โœ‚ Remove Workflow code (#4777)
    • Clean up CORECLR preprocessor directives in TraceSource (#4684)

    โœ… Test

    • โž• Add test WebListener module and tests for Web Cmdlet Certificate Authentication (#4622) (Thanks @markekraus)
    • ๐Ÿšš Move WebCmdlets HTTPS tests to WebListener (#4733) (Thanks @markekraus)
    • โœ… Replace httpbin.org/get tests With WebListener (#4738) (Thanks @markekraus)
    • โœ… Use -PassThru on Pester tests to reliably catch failures (#4644)
    • โœ… Display the same number of tests regardless of platform (#4728)
    • ๐Ÿ‘Œ Improve comparison of code coverage values for a file (#4764)
    • โœ… Silence PSSessionConfiguration test warning messages in the log (#4794)
    • โž• Add tests for
      • Get-Service (#4773)
      • Set-Service and New-Service (#4785)
      • Trace-Command (#4288)
      • StaticParameter (#4779)
      • Test-Wsman (#4771)
      • New-Object -ComObject (#4776)
      • ProxyCommand APIs (#4791)
    • โœ… Disable tests
      • 'VC++ Redistributable'(#4673 & #4729)
      • "Test 01. Standard Property test - all properties ()" due to missing CsPhysicallyInstalledMemory (#4763)
      • New-Service failing test (#4806)

    ๐Ÿ“š Documentation

    • โšก๏ธ Update WritingPesterTests.md to recommend ShouldBeErrorId (#4637)
    • Clarify the Pull Request process, roles, and responsibilities (#4710)
    • โž• Add absolute URLs in the issue template and pull request template (#4718) (Thanks @chucklu)
    • โž• Add new approved Build and Deploy verbs (#4725)
    • โšก๏ธ Update using-vscode.md to use the new exe path (#4736)
    • โšก๏ธ Update coding guidelines to make it more concrete and useful in a review process (#4754)