v7.0.0-preview.6 Release of PowerShell Core
Pre-release
Pre-release
·
3765 commits
to master
since this release
v7.0.0-preview.6 - 11/21/2019
Note: The CentOS 8 deb package is experimental for this release. A Docker image and deb package will be available, but the deb package will not be released to packages.microsoft.com. For more information please see: #11147
Breaking Changes
- Update
Test-Connectionto work more like the one in Windows PowerShell (#10697) (Thanks @vexx32!) - Preserve
$?forParenExpression,SubExpressionandArrayExpression(#11040) - Set working directory to current directory in
Start-Job(#10920) (Thanks @iSazonov!)
Engine Updates and Fixes
- Allow
pwshto inherit$env:PSModulePathand enablepowershell.exeto start correctly (#11057)
Experimental Features
- Provide Unix stat information in filesystem output (#11042)
- Support null-conditional operators
?.and?[]in PowerShell language (#10960) - Support using non-compatible Windows PowerShell modules in PowerShell Core (#10973)
Performance
- Avoid using closure in
Parser.SaveError(#11006) - Improve the caching when creating new
Regexinstances (#10657) (Thanks @iSazonov!) - Improve processing of the PowerShell built-in type data from
types.ps1xml,typesV3.ps1xmlandGetEvent.types.ps1xml(#10898) - Update
PSConfiguration.ReadValueFromFileto make it faster and more memory efficient (#10839)
General Cmdlet Updates and Fixes
- Add limit check in
Get-WinEvent(#10648) (Thanks @iSazonov!) - Fix command runtime so
StopUpstreamCommandsExceptiondoesn't get populated in-ErrorVariable(#10840) - Set the output encoding to
[Console]::OutputEncodingfor native commands (#10824) - Support multi-line code blocks in examples (#10776) (Thanks @Greg-Smulko!)
- Add Culture parameter to
Select-Stringcmdlet (#10943) (Thanks @iSazonov!) - Fix
Start-Jobworking directory path with trailing backslash (#11041) ConvertFrom-Json: Unwrap collections by default (#10861) (Thanks @danstur!)- Use case-sensitive Hashtable for
Group-Objectcmdlet with-CaseSensitiveand-AsHashtableswitches (#11030) (Thanks @vexx32!) - Handle exception if enumerating files fails when rebuilding path to have correct casing (#11014)
- Fix
ConciseViewto showActivityinstead ofmyCommand(#11007) - Allow web cmdlets to ignore HTTP error statuses (#10466) (Thanks @vdamewood!)
- Fix piping of more than one
CommandInfotoGet-Command(#10929) - Add back
Get-Countercmdlet for Windows (#10933) - Make
ConvertTo-Jsontreat[AutomationNull]::Valueand[NullString]::Valueas$null(#10957) - Remove brackets from
ipv6address for SSH remoting (#10968) - Fix crash if command sent to pwsh is just whitespace (#10977)
- Added cross-platform
Get-ClipboardandSet-Clipboard(#10340) - Fix setting original path of filesystem object to not have extra trailing slash (#10959)
- Support
$nullforConvertTo-Json(#10947) - Add back
Out-Printercommand on Windows (#10906) - Fix
Start-Job -WorkingDirectorywith whitespace (#10951) - Return default value when getting
nullfor a setting inPSConfiguration.cs(#10963) (Thanks @iSazonov!) - Handle IO exception as non-terminating (#10950)
- Add
GraphicalHostassembly to enableOut-GridView,Show-Command, andGet-Help -ShowWindow(#10899) - Take
ComputerNamevia pipeline inGet-HotFix(#10852) (Thanks @kvprasoon!) - Fix tab completion for parameters so that it shows common parameters as available (#10850)
- Fix
GetCorrectCasedPath()to first check if any system file entries is returned before callingFirst()(#10930) - Set working directory to current directory in
Start-Job(#10920) (Thanks @iSazonov!) - Change
TabExpansion2to not require-CursorColumnand treat as$InputScript.Length(#10849) - Handle case where Host may not return Rows or Columns of screen (#10938)
- Fix use of accent colors for hosts that don't support them (#10937)
- Add back
Update-Listcommand (#10922) - Update
FWLinkId forClear-RecycleBin(#10925) - During tab completion, skip file if can't read file attributes (#10910)
- Add back
Clear-RecycleBinfor Windows (#10909) - Add
$env:__SuppressAnsiEscapeSequencesto control whether to have VT escape sequence in output (#10814)
Code Cleanup
- Cleanup style issues in
Compiler.cs(#10368) (Thanks @iSazonov!) - Remove the unused type converter for
CommaDelimitedStringCollection(#11000) (Thanks @iSazonov!) - Cleanup style in
InitialSessionState.cs(#10865) (Thanks @iSazonov!) - Code clean up for
PSSessionclass (#11001) - Remove the not-working 'run
Update-HelpfromGet-HelpwhenGet-Helpruns for the first time' feature (#10974) - Fix style issues (#10998) (Thanks @iSazonov!)
- Cleanup: use the built-in type alias (#10882) (Thanks @iSazonov!)
- Remove the unused setting key
ConsolePromptingand avoid unnecessary string creation when queryingExecutionPolicysetting (#10985) - Disable update notification check for daily builds (#10903) (Thanks @bergmeister!)
- Reinstate debugging API lost in #10338 (#10808)
Tools
- Add default setting for the
SDKToUseproperty so that it builds in VS (#11085) Install-Powershell.ps1: Add parameter to use MSI installation (#10921) (Thanks @MJECloud!)- Add basic examples for
install-powershell.ps1(#10914) (Thanks @kilasuit!)
Tests
- Fix
stringdatatest to correctly validate keys of hashtables (#10810) - Unload test modules (#11061) (Thanks @iSazonov!)
- Increase time between retries of testing URL (#11015)
- Update tests to accurately describe test actions. (#10928) (Thanks @romero126!)
Build and Packaging Improvements
- Updating links in
README.mdandmetadata.jsonfor Preview.5 (#10854) - Select the files for compliance tests which are owned by PowerShell (#10837)
- Allow
win7x86msixpackage to build. (Internal 10515) - Allow semantic versions to be passed to
NormalizeVersionfunction (#11087) - Bump .NET core framework to
3.1-preview.3(#11079) - Bump
PSReadLinefrom2.0.0-beta5to2.0.0-beta6in /src/Modules (#11078) - Bump
Newtonsoft.Jsonfrom12.0.2to12.0.3(#11037) (#11038) - Add Debian 10, 11 and CentOS 8 packages (#11028)
- Upload
Build-InfoJson file with theReleaseDatefield (#10986) - Bump .NET core framework to
3.1-preview.2(#10993) - Enable build of x86 MSIX package (#10934)
- Update the dotnet SDK install script URL in
build.psm1(#10927) - Bump
Markdig.Signedfrom0.17.1to0.18.0(#10887) - Bump
ThreadJobfrom2.0.1to2.0.2(#10886) - Update
AppXManifest and Packaging module to conform to MS Store requirements (#10878)
Documentation and Help Content
- Update
CONTRIBUTING.md(#11096) (Thanks @mklement0!) - Fix installation doc links in
README.md(#11083) - Adds examples to
install-powershell.ps1script (#11024) (Thanks @kilasuit!) - Fix to
Select-Stringemphasis andImport-DscResourcein CHANGELOG.md (#10890) - Remove the stale link from
powershell-beginners-guide.md(#10926)
SHA256 Hashes of the release artifacts
- powershell-7.0.0-preview.6-linux-alpine-x64.tar.gz
- D2A2EA5F381BDB4D61C2B44E998B23A0429C344CE7C846D85416CCD3BC9EC96F
- powershell-7.0.0-preview.6-linux-arm32.tar.gz
- 2371E4AABCBA06B1EFD3B1F0918B1CA1C8E9F1FF4707F67B44A222FD497F2CBD
- powershell-7.0.0-preview.6-linux-arm64.tar.gz
- 297624AD47E1293A89471E58EF75DD4462FCDE096C162F0068ADFCE6805EF364
- powershell-7.0.0-preview.6-linux-x64.tar.gz
- 9726F2177F61BDE83FC2D1F8F346B9C80F65B83157E5682D12DB7490ABB476DC
- powershell-7.0.0-preview.6-linux-x64-fxdependent.tar.gz
- 62835E90E8BAF5B1646171552BC4BA8669CDB5AD1F533BCD932B5A785B76C9DF
- powershell-7.0.0-preview.6-osx-x64.pkg
- 37EA862FA8919167C5A9D43664EE71AF6250BEFEECD2D38239999C6CE1C36785
- powershell-7.0.0-preview.6-osx-x64.tar.gz
- 6C66FECA9435B5874B84649198520D30F382A50D3EC033CFCAA7AABE7712C007
- PowerShell-7.0.0-preview.6-win-arm32.msix
- 335AF7A718F57E44BDD33BFC6983069A9F2F65921CAB01AF4B7E90B6964787A4
- PowerShell-7.0.0-preview.6-win-arm32.zip
- 548D10335AD3B3D326C75875A2D10C0963D1C425A314598FE1C7352547DE08A7
- PowerShell-7.0.0-preview.6-win-arm64.msix
- 483DA7FCD3E6583966CFE94120154BCAA682B27E43B280AB4DDE48671D18569B
- PowerShell-7.0.0-preview.6-win-arm64.zip
- 6F889A005B0ECB3FE6C5AF014F0C622BEBA8811C6D5D77AA4372C283D6305805
- PowerShell-7.0.0-preview.6-win-fxdependent.zip
- FA18474209581E9093D019987CC82A27A3781496ACB33355AE5CDE30766D97A9
- PowerShell-7.0.0-preview.6-win-fxdependentWinDesktop.zip
- D0C5150147CDC754C9F2D292ECE8D0C96E389D70AB539D62083E15A59EC2806B
- PowerShell-7.0.0-preview.6-win-x64.msi
- 67EA17E4FC55589C5FF34FC869DD18B9BC842CB886379100EF16F4795F35198E
- PowerShell-7.0.0-preview.6-win-x64.msix
- AEB5DEA778A1FA6A17CEAC1EF6339ACDB22AA4EF901A0F16911C2BB8EDD0C83B
- PowerShell-7.0.0-preview.6-win-x64.zip
- CDDA77C0F8BBED57249B0ABC6E31DB87BA302FAD0CB76FAA4AD77AAB74E95811
- PowerShell-7.0.0-preview.6-win-x86.msi
- A96119B6DB4C65758501E09CCDFA44B2CB8354456F754C53440021B7A0C68743
- PowerShell-7.0.0-preview.6-win-x86.msix
- 780E0CAC2A20AB92EE0A92660E5BBC27D9F178323E2F252BBAD9F64D89F4DE6E
- PowerShell-7.0.0-preview.6-win-x86.zip
- 9EBEDFBA967BF5F4C77672ABFC8EED0BEB11568E7A56B5D5F025CD9DF6D44F2A
- powershell-preview_7.0.0-preview.6-1.debian.10_amd64.deb
- A71B32D998CF03B0BEF39A6FF56FC1B033F9A73B649F849175B09ACFAE042CF6
- powershell-preview_7.0.0-preview.6-1.debian.9_amd64.deb
- 7EB47090FC79133F75E6503DC84236B7292080C1A6F48F78AFE10CD0C964D9C2
- powershell-preview_7.0.0-preview.6-1.ubuntu.16.04_amd64.deb
- 9BFB877A95B3838EFD7492036B707B2DB87F3148C24F2D2F29AF0DA36EDFA0E4
- powershell-preview_7.0.0-preview.6-1.ubuntu.18.04_amd64.deb
- D99F3198DBF8809E2CB30285E0B9FFF8BFF2362E8BA3B51A4C4FB6BD846EDA35
- powershell-preview-7.0.0_preview.6-1.centos.8.x86_64.rpm
- 64926F4F2D648785D11096813BF1D53A5F976843B58283D098B13411BEF59B5D
- powershell-preview-7.0.0_preview.6-1.rhel.7.x86_64.rpm
- 6CE031494564566490D937572FB4B7F42841E2A7B858F541CF2C2589D04820A4