@daxian-dbw daxian-dbw released this Oct 6, 2017 · 1174 commits to master since this release

Assets 14

v6.0.0-beta.8 - 2017-10-05

Note: Starting from this release, we officially support Ubuntu.17.04, Debian 8 (jessie) and Debian 9 (stretch). Separate DEB packages are published for those distros. We also start to provide a single RPM package for the supported Red Hat family of distros.

Breaking changes

  • Changed New-Service to return error when given unsupported -StartupType and fixed Set-Service icon failing test. (#4802)
  • Allow * to be used in registry path for Remove-Item. (#4866)
  • Remove unsupported -ShowWindow switch from Get-Help. (#4903)
  • Fix incorrect position of a parameter which resulted in the args passed as input instead of as args for InvokeScript(). (#4963)

Engine updates and fixes

  • Make calls to void CodeMethod work. (#4850) (Thanks @powercode)
  • Get PSVersion and GitCommitId from the ProductVersion attribute of assembly (#4863) (Thanks @iSazonov)
  • Fix powershell -version and built-in help for powershell.exe to align with other native tools. (#4958 & #4931) (Thanks @iSazonov)
  • Load assemblies with Assembly.LoadFrom before Assembly.Load when the file path is given. (#4196)
  • Add a generic file watcher function in HelpersCommon.psm1. (#4775)
  • Update old links and fix broken links in docs/host-powershell/README.md. (#4877)
  • Fix when importing remote modules using version filters (and added tests). (#4900)
  • Enable transcription of native commands on non-Windows platforms. (#4871)
  • Add a new line to CommandNotFoundException error string. (#4934 & #4991)
  • Fix bug where PowerShell would exit with an error within an SSH remoting connection on Linux. (#4993)
  • Fix issues with expression redirected to file. (#4847)

General cmdlet updates and fixes

  • Added Remove-Service to Management module. (#4858) (Thanks @joandrsn)
  • Added functionality to set credentials on Set-Service command. (#4844) (Thanks @joandrsn)
  • Fix Select-String to exclude directories (as opposed to individual files) discovered from -Path. (#4829) (Thanks @iSazonov)
  • Get-Date now supports more argument completion scenarios by adding ArgumentCompletionsAttribute. (#4835) (Thanks @iSazonov)
  • Exclude -ComObject parameter of New-Object on unsupported (currently non-Windows) platforms. (#4922) (Thanks @iSazonov)
  • Updated default ModuleVersion in New-ModuleManifest to 0.0.1 to align with SemVer. (#4842) (Thanks @LDSpits)
  • Add Multipart support to web cmdlets. (#4782) (Thanks @markekraus)
  • Add -ResponseHeadersVariable to Invoke-RestMethod to enable the capture of response headers. (#4888) (Thanks @markekraus)
  • Initialize web cmdlets headers dictionary only once. (#4853) (Thanks @markekraus)
  • Change web cmdlets UserAgent from WindowsPowerShell to PowerShell. (#4914) (Thanks @markekraus)

Build and Packaging Improvements

  • Make the build output the WiX compilation log if it failed. (#4831) (Thanks @bergmeister)
  • Use a simple file based check in the MSI for the VC++ 2015 redistributables. (#4745) (Thanks @bergmeister)
  • New icon for PowerShell Core. (#4848)
  • Build Powershell Core using the generic RID linux-x64. (#4841)
  • Create generic Linux-x64 packages that are portable to all supported RPM Linux distros (and more similar for Debian based distros). (#4902 & #4994)
  • Suppress the output of building test tools in Compress-TestContent. (#4957)
  • Remove unnecessary error messages from output. (#4954)
  • Update Travis CI script so that PRs can fail due to Pester tests. (#4830)
  • Move release build definition into PowerShell. (#4884)
  • Fix credential scan issues. (#4927 & #4935)
  • Enable security flags in native compiler. (#4933)
  • Add VS 2017 solution file for powershell-win-core. (#4748)

Code Cleanup

  • Remove remainder of Utility.Activities (Workflow code). (#4880)
  • Remove Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll. (#4868)
  • Enable auto EOL on Git repo side, fix some character encoding issues. (#4912)
  • Updated EOL for all files to be LF in the repository. (#4943 & #4956)
  • Removed leading whitespace. (#4991)

DSC Language

  • Update version of PSDesiredStateConfiguration in project files to fix complication of MOF files with the Configuration keyword. (#4979)

Test

  • Replace httpbin.org tests with WebListener. (Thanks @markekraus)
  • Port tests for constrained language mode. (#4816)
  • Enable Select-String test from a network path. (#4921) (Thanks @iSazonov)
  • Reformat Measure-Object test. (#4972) (Thanks @iSazonov)
  • Mitigate intermittent failures in access denied tests. (#4788)
  • Fix tests that incorrectly use ShouldBeErrorId. (#4793)
  • Fix a test issue that causes tests to be skipped in Travis CI run (#4891)
  • Skip web cmdlet certificate authentication tests on CentOS and Mac. (#4822)
  • Validate product resource strings against resx files. (#4811 & #4861)
  • Add source files for coverage run. (#4925)
  • Add the UTC offset correctly in tests for CDXML cmdlets. (#4867)
  • Be sure to change PSDefaultParameterValue in the global scope. (#4977 & #4892)
  • Reduce output of Pester for CI. (#4855)
  • Add tests for
    • Get-Content (#4723) (Thanks @sarithsutha)
    • Remoting and Jobs (#4928)
    • Get-Help (#4895)
    • Get-Command -ShowCommandInfo (#4906)
    • Get-Content -Tail (#4790)
    • Get-Module over remoting (#4787)
    • Start/Stop/Suspend/Resume/Restart-Service cmdlets (#4774)
    • WSMan Config provider tests (#4756)
    • CDXML CIM DateTime test (#4796)

Documentation and Graphics

  • Sort .spelling (Thanks @markekraus)
  • Improve the guideline for performance consideration. (#4824)
  • Add setup steps for MacOS to use PSRP over SSH. (#4872)
  • Instructions to demo PowerShell Core on Raspbian. (#4882)
  • Added instructions to get permission to use PowerShell image assets. (#4938)
  • Added demo for using Windows PowerShell modules. (#4886)

SHA256 Hashes of the release artifacts:

  • powershell_6.0.0-beta.8-1.ubuntu.17.04_amd64.deb
    • F3ED5456E71BBF202A64855EA5C96B383AC3CBDD67DC5F3D772B375241B2EED8
  • powershell_6.0.0-beta.8-1.ubuntu.16.04_amd64.deb
    • EF0CF26BC40664FCEA79DC6B710E01363F26156D1EC84B6348FED80C9E9FC37D
  • powershell_6.0.0-beta.8-1.ubuntu.14.04_amd64.deb
    • 571451C2E6B72A6E49AAABCDAC23A983C15402F488693D2B63F450B666EBDD13
  • powershell_6.0.0-beta.8-1.debian.9_amd64.deb
    • 823F4EAEC59E981B9C9C67FA186CCDA2CB5D4D0EE6C143A0CAA2BA731672EC29
  • powershell_6.0.0-beta.8-1.debian.8_amd64.deb
    • 97850D5A3C6BCC07F2ECA2CF75C96C47389DBE7D018B003D048C090D80C054AD
  • powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
    • C15E59D52FEB122299FF7B0C1C1987401F306ACD28076A4E6D9AE7D30C441632
  • PowerShell-6.0.0-beta.8-x86_64.AppImage
    • F5AC46B8B27476474A0626BB20979B5598173BB67464CB1B5B04E3FBCB505F5C
  • PowerShell-6.0.0-beta.8-win-x64.zip
    • F21C9A79BC35D326F1CF52AEDDCCBA0DBFCC603AF921BAAF48F32512BE5F4888
  • PowerShell-6.0.0-beta.8-win-x86.zip
    • 63EB4186BB5360B076EAC0211D017BDAE76476930B20C3B7A09B3A370F95D8AC
  • PowerShell-6.0.0-beta.8-win-x64.msi
    • 5134A98417D5BBEF41D315603A2DABD685FEC3828F582CB2072E454E390A08FD
  • PowerShell-6.0.0-beta.8-win-x86.msi
    • DE41D8F5C0BBAD45D2F092AD415D187089B26F53159ADAC955A6FEB7CA24D94D
  • powershell-6.0.0-beta.8-osx.10.12-x64.pkg
    • 29E33F0A19C089A9A00E1987783803B6120B1379B370FAB33B8F74C56956A10A