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 withSilentlyContinue
(#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 toStart-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
andNew-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)
- ๐ Fix