v7.0.0-preview.5 Release of PowerShell Core
Pre-release
Pre-release
·
3825 commits
to master
since this release
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
CRand new line with a0x23CEcharacter in script logging (#10616) - Fix a resource leak by unregistering the event handler from
AppDomain.CurrentDomain.ProcessExit(#10626)
Experimental Features
- Implement
Get-Errorcmdlet as Experimental Feature (#10727,#10800) - Add
ConciseViewfor$ErrorViewand 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
pwshstartup when a new release is available and update notification message (#10689,#10777)
General Cmdlet Updates and Fixes
- Add
-NoEmphasizeparameter to colorizeSelect-Stringoutput (#8963) (Thanks @derek-xia!) - Add back
Get-HotFixcmdlet (#10740) - Make
Add-Typeusable 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
SSHConnectionhashtables when value doesn't match expected type (#10720) (Thanks @SeeminglyScience!) - Fix
Get-Content -ReadCount 0behavior when-TotalCountis 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
SourceLengthremoting property causing formatting issues (#10765) - Add
-Delimiterparameter toConvertFrom-StringData(#10665) (Thanks @steviecoaster!) - Add positional parameter for
ScriptBlockwhen usingInvoke-CommandwithSSH(#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.QuestionMarkin parser (#10706) - Set current working directory of each
ForEach-Object -Parallelrunning script to the same location as the calling script. (#10672) - Replace
api-ms-win-core-file-l1-2-2.dllwithKernell32.dllforFindFirstStreamWandFindNextStreamWAPIs (#10680) (Thanks @iSazonov!) - Tweak help formatting script to be more
StrictModetolerant (#10563) - Add
-SecurityDescriptorSDDLparameter 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-Hostoutput to terminal (#10681) (Thanks @iSazonov!) - Add back newline for grouping with
Format-Tableand-Property(#10653) - Remove [ValidateNotNullOrEmpty] from
-InputObjectonGet-Randomto allow empty string (#10644) - Make suggestion system string distance algorithm case-insensitive (#10549) (Thanks @iSazonov!)
- Fix null reference exception in
ForEach-Object -Parallelinput processing (#10577)
Code Cleanup
- Remove
WorkflowJobSourceAdapterreference that is no longer used (#10326) (Thanks @KirkMunro!) - Cleanup
COMinterfaces in jump list code by fixingPreserveSigattributes (#9899) (Thanks @weltkante!) - Add a comment describing why
-iais not the alias for-InformationActioncommon parameter (#10703) (Thanks @KirkMunro!) - Rename
InvokeCommandCmdlet.cstoInvokeExpressionCommand.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
CodeFactorstyle issues coming in commits for the last month (#10591) (Thanks @iSazonov!) - Fix typo in description of
PSTernaryOperatorexperimental feature (#10586) (Thanks @bergmeister!)
Performance
Tools
- Make
Install-PowerShellRemoting.ps1handle empty string inPowerShellHomeparameter (#10526) (Thanks @Orca88!) - Switch from
/etc/lsb-releaseto/etc/os-releaseininstall-powershell.sh(#10773) (Thanks @Himura2la!) - Check
pwsh.exeandpwshin 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
CIYAML(#10767) (Thanks @RDIL!) - Add test for the event handler leaking fix (#10768)
- Add
Get-ChildItemtest (#10507) (Thanks @iSazonov!) - Replace ambiguous language for tests from
switchtoparameterfor accuracy (#10666) (Thanks @romero126!)
Build and Packaging Improvements
- Update package reference for
PowerShell SDKtopreview.5(Internal 10295) - Update
ThirdPartyNotices.txt(#10834) - Bump
Microsoft.PowerShell.Nativeto7.0.0-preview.3(#10826) - Bump
Microsoft.ApplicationInsightsfrom2.10.0to2.11.0(#10608) - Bump
NJsonSchemafrom10.0.24to10.0.27(#10756) - Add
MacPortssupport to the build system (#10736) (Thanks @Lucius-Q-User!) - Bump
PackageManagementfrom1.4.4to1.4.5(#10728) - Bump
NJsonSchemafrom10.0.23to10.0.24(#10635) - Add environment variable to differentiate client/server telemetry in
MSI(#10612) - Bump
PSDesiredStateConfigurationfrom2.0.3to2.0.4(#10603) - Bump
Microsoft.CodeAnalysis.CSharpfrom3.2.1to3.3.1(#10607) - Update to
.Net Core 3.0 RTM(#10604) (Thanks @bergmeister!) - Update
MSIXpackaging so the version toWindows Storerequirements (#10588)
Documentation and Help Content
- Merge stable and servicing change logs (#10527)
- Update used
.NETversion in build docs (#10775) (Thanks @Greg-Smulko!) - Replace links from
MSDNtodocs.microsoft.cominpowershell-beginners-guide.md(#10778) (Thanks @iSazonov!) - Fix broken
DSCoverview link (#10702) - Update
Support_Question.mdto link toStack Overflowas 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