PowerShell v7.0.0-preview.5 Release Notes
Release Date: 2019-10-23 // over 4 years ago-
v7.0.0-preview.5 - 10/23/2019
Note: If there is an issue installing macOS package on Catalina please refer to this issue #10874
๐ฅ Breaking Changes
โก๏ธ Engine Updates and Fixes
- ๐ Move to
.NET Core 3.1 preview 1
(#10798) - ๐จ Refactor reparse tag checks in file system provider (#10431) (Thanks @iSazonov!)
- ๐ฒ Replace
CR
and new line with a0x23CE
character in script logging (#10616) - ๐ Fix a resource leak by unregistering the event handler from
AppDomain.CurrentDomain.ProcessExit
(#10626)
Experimental Features
- Implement
Get-Error
cmdlet as Experimental Feature (#10727,#10800) - โ Add
ConciseView
for$ErrorView
and update it to remove unnecessary text and not color entire line in red (#10641,#10724) - ๐ Support the pipeline chain operators
&&
and||
in PowerShell language (#9849,#10825,#10836) - Implement null coalescing (
??
) and null coalescing assignment (??=
) operators (#10636) - ๐ Support notification on
pwsh
startup when a new release is available and update notification message (#10689,#10777)
โก๏ธ General Cmdlet Updates and Fixes
- โ Add
-NoEmphasize
parameter to colorizeSelect-String
output (#8963) (Thanks @derek-xia!) - โ Add back
Get-HotFix
cmdlet (#10740) - ๐ Make
Add-Type
usable in applications that hostPowerShell
(#10587) - ๐ Use more effective evaluation order in
LanguagePrimitives.IsNullLike()
(#10781) (Thanks @vexx32!) - ๐ Improve handling of mixed-collection piped input and piped streams of input in
Format-Hex
(#8674) (Thanks @vexx32!) - ๐ Use type conversion in
SSHConnection
hashtables when value doesn't match expected type (#10720) (Thanks @SeeminglyScience!) - ๐ Fix
Get-Content -ReadCount 0
behavior when-TotalCount
is set (#10749) (Thanks @eugenesmlv!) - Reword access denied error message in
Get-WinEvent
(#10639) (Thanks @iSazonov!) - Enable tab completion for variable assignment that is enum or type constrained (#10646)
- โ Remove unused
SourceLength
remoting property causing formatting issues (#10765) - โ Add
-Delimiter
parameter toConvertFrom-StringData
(#10665) (Thanks @steviecoaster!) - โ Add positional parameter for
ScriptBlock
when usingInvoke-Command
withSSH
(#10721) (Thanks @machgo!) - ๐ Show line context information if multiple lines but no script name for
ConciseView
(#10746) - โ Add support for
\\wsl$\
paths to file system provider (#10674) - โ Add the missing token text for
TokenKind.QuestionMark
in parser (#10706) - Set current working directory of each
ForEach-Object -Parallel
running script to the same location as the calling script. (#10672) - Replace
api-ms-win-core-file-l1-2-2.dll
withKernell32.dll
forFindFirstStreamW
andFindNextStreamW
APIs (#10680) (Thanks @iSazonov!) - ๐ Tweak help formatting script to be more
StrictMode
tolerant (#10563) - โ Add
-SecurityDescriptorSDDL
parameter toNew-Service
(#10483) (Thanks @kvprasoon!) - โ Remove informational output, consolidate ping usage in
Test-Connection
(#10478) (Thanks @vexx32!) - ๐ Read special reparse points without accessing them (#10662) (Thanks @iSazonov!)
- Direct
Clear-Host
output to terminal (#10681) (Thanks @iSazonov!) - โ Add back newline for grouping with
Format-Table
and-Property
(#10653) - โ Remove [ValidateNotNullOrEmpty] from
-InputObject
onGet-Random
to allow empty string (#10644) - ๐ Make suggestion system string distance algorithm case-insensitive (#10549) (Thanks @iSazonov!)
- ๐ Fix null reference exception in
ForEach-Object -Parallel
input processing (#10577)
Code Cleanup
- โ Remove
WorkflowJobSourceAdapter
reference that is no longer used (#10326) (Thanks @KirkMunro!) - Cleanup
COM
interfaces in jump list code by fixingPreserveSig
attributes (#9899) (Thanks @weltkante!) - โ Add a comment describing why
-ia
is not the alias for-InformationAction
common parameter (#10703) (Thanks @KirkMunro!) - ๐ Rename
InvokeCommandCmdlet.cs
toInvokeExpressionCommand.cs
(#10659) (Thanks @kilasuit!) - โ Add minor code cleanups related to update notifications (#10698)
- โ Remove deprecated workflow logic from the remoting setup scripts (#10320) (Thanks @KirkMunro!)
- โก๏ธ Update help format to use proper case (#10678) (Thanks @tnieto88!)
- ๐
Clean up
CodeFactor
style issues coming in commits for the last month (#10591) (Thanks @iSazonov!) - ๐ Fix typo in description of
PSTernaryOperator
experimental feature (#10586) (Thanks @bergmeister!)
๐ Performance
Tools
- ๐ Make
Install-PowerShellRemoting.ps1
handle empty string inPowerShellHome
parameter (#10526) (Thanks @Orca88!) - ๐ Switch from
/etc/lsb-release
to/etc/os-release
ininstall-powershell.sh
(#10773) (Thanks @Himura2la!) - ๐ Check
pwsh.exe
andpwsh
in daily version on Windows (#10738) (Thanks @centreboard!) - โ Remove unneeded tap in
installpsh-osx.sh
(#10752)
โ Tests
- โ
Temporary skip the flaky test
TestAppDomainProcessExitEvenHandlerNotLeaking
(#10827) - โ Make the event handler leaking test stable (#10790)
- ๐ Sync capitalization in
CI
YAML
(#10767) (Thanks @RDIL!) - โ Add test for the event handler leaking fix (#10768)
- โ Add
Get-ChildItem
test (#10507) (Thanks @iSazonov!) - โ
Replace ambiguous language for tests from
switch
toparameter
for accuracy (#10666) (Thanks @romero126!)
๐ Build and Packaging Improvements
- โก๏ธ Update package reference for
PowerShell SDK
topreview.5
(Internal 10295) - โก๏ธ Update
ThirdPartyNotices.txt
(#10834) - โฌ๏ธ Bump
Microsoft.PowerShell.Native
to7.0.0-preview.3
(#10826) - โฌ๏ธ Bump
Microsoft.ApplicationInsights
from2.10.0
to2.11.0
(#10608) - โฌ๏ธ Bump
NJsonSchema
from10.0.24
to10.0.27
(#10756) - โ Add
MacPorts
support to the build system (#10736) (Thanks @Lucius-Q-User!) - โฌ๏ธ Bump
PackageManagement
from1.4.4
to1.4.5
(#10728) - โฌ๏ธ Bump
NJsonSchema
from10.0.23
to10.0.24
(#10635) - โ Add environment variable to differentiate client/server telemetry in
MSI
(#10612) - โฌ๏ธ Bump
PSDesiredStateConfiguration
from2.0.3
to2.0.4
(#10603) - โฌ๏ธ Bump
Microsoft.CodeAnalysis.CSharp
from3.2.1
to3.3.1
(#10607) - โก๏ธ Update to
.Net Core 3.0 RTM
(#10604) (Thanks @bergmeister!) - โก๏ธ Update
MSIX
packaging so the version toWindows Store
requirements (#10588)
๐ Documentation and Help Content
- ๐ Merge stable and servicing change logs (#10527)
- โก๏ธ Update used
.NET
version in build docs (#10775) (Thanks @Greg-Smulko!) - ๐ Replace links from
MSDN
todocs.microsoft.com
inpowershell-beginners-guide.md
(#10778) (Thanks @iSazonov!) - ๐ Fix broken
DSC
overview link (#10702) - โก๏ธ Update
Support_Question.md
to link toStack Overflow
as another community resource (#10638) (Thanks @mklement0!) - โ Add processor architecture to distribution request template (#10661)
- โ Add new PowerShell MoL book to learning PowerShell docs (#10602)
๐ SHA256 Hashes of the release artifacts
- ๐ง powershell-7.0.0-preview.5-linux-alpine-x64.tar.gz
- 42E481CAD6A7F10EF806EB8C73B357EB99529CBE53B33321C78329CABCBC7B11
- ๐ง powershell-7.0.0-preview.5-linux-arm32.tar.gz
- 456542654740F44E2BCEB34296E80AA9D2DF27508D08650D9B541540F78FBDD1
- ๐ง powershell-7.0.0-preview.5-linux-arm64.tar.gz
- 3AA89533D295D8619D4BDD405831853F6741E0A9C3BB14F6200378F69898F353
- ๐ง powershell-7.0.0-preview.5-linux-x64.tar.gz
- 0D667AAE3495C22551E7C81B54A56F67E79C4FE11C361B25630B6B6BFA7F04A8
- ๐ง powershell-7.0.0-preview.5-linux-x64-fxdependent.tar.gz
- 94275BB35C76AD40E3F272B750A6D5FA17D6AE6665DF37B6BE712E3BF5C62096
- powershell-7.0.0-preview.5-osx-x64.pkg
- 338F5F36B0C7BEEBC301DEDA43C3A350D768F09AFADAABA714FF80272AB0DAC0
- powershell-7.0.0-preview.5-osx-x64.tar.gz
- DE196639CA34576B524EF443598EF5176D05E395D77231A1660C9E021A1EAB9E
- PowerShell-7.0.0-preview.5-win-arm32.msix
- 1E508B33DC895FFAC2837F7ACAFF5D6505C4679E7A9C06DEBE9FF831C562CCC7
- PowerShell-7.0.0-preview.5-win-arm32.zip
- 3ED98F8EDEC179119F9B8D8580B5BCDBF532D09331A0BACD43F3609D6874CB89
- PowerShell-7.0.0-preview.5-win-arm64.msix
- 44512F07239E22FE7EA1A866B3613F1A5E30236B4CC5B1ED550AF97BB56EC543
- PowerShell-7.0.0-preview.5-win-arm64.zip
- 75BBA733AA45F4739EBC22D740E6D81DBE007EB5922265D85C6A24E36304BB21
- PowerShell-7.0.0-preview.5-win-fxdependent.zip
- 513111991F68B9FF4C86049E209FC13907D3B9FA88C1D8C49D2E86E2259D3FB1
- PowerShell-7.0.0-preview.5-win-fxdependentWinDesktop.zip
- E35699AADBFFF04D528E8E42868A4EC8C6A4C7E0341A0930CC6500A07CAFCA9F
- PowerShell-7.0.0-preview.5-win-x64.msi
- 34DD3817C96EBAE7A29E16E36322A07C7EC170E943B3AFB141D9C1B4073EE9C6
- PowerShell-7.0.0-preview.5-win-x64.msix
- A77EFCAE9644EEEA1B9122F6779FCE623602C7333D2E70A4F664FB6EA181213B
- PowerShell-7.0.0-preview.5-win-x64.zip
- F344C8397FE3016CF764756E8ABE4ACE89898E6228F7142C176896A148B1381B
- PowerShell-7.0.0-preview.5-win-x86.msi
- 15859B51FF8C80A56F09DDD5B77599037C9091A602EFE83075F200E78074A71D
- PowerShell-7.0.0-preview.5-win-x86.zip
- 6CDAC42E223A9F183E7C2D0158AFA75320937B7B1ABB55FC58DCBA7FEA9662EE
- powershell-preview_7.0.0-preview.5-1.debian.9_amd64.deb
- 1D5B33EAD146088DFB9C0ADC2E40B38F064272D14C080470E36993F1FF33665E
- powershell-preview_7.0.0-preview.5-1.ubuntu.16.04_amd64.deb
- 67BE7548D6259AEC8B72E7DD42B8236705A6EB25233A34CD10A5C29631F7314C
- powershell-preview_7.0.0-preview.5-1.ubuntu.18.04_amd64.deb
- FAB403167A629080AE1F1F83823B81757BD32F3F327A8EA4B4BDAD58FAA4649F
- powershell-preview-7.0.0_preview.5-1.rhel.7.x86_64.rpm
- 59A43152734BB280B6749CFAAE5407EC9ADEC4E93E8CA1FB14D7A205BB4B80CA
- ๐ Move to