PowerShell v7.0.0-preview.6 Release Notes
Release Date: 2019-11-21 // over 4 years ago-
v7.0.0-preview.6 - 11/21/2019
Note: The CentOS 8
deb
package is experimental for this release. A Docker image anddeb
package will be available, but thedeb
package will not be released to packages.microsoft.com. For more information please see: #11147๐ฅ Breaking Changes
- โก๏ธ Update
Test-Connection
to work more like the one in Windows PowerShell (#10697) (Thanks @vexx32!) - Preserve
$?
forParenExpression
,SubExpression
andArrayExpression
(#11040) - ๐ท Set working directory to current directory in
Start-Job
(#10920) (Thanks @iSazonov!)
โก๏ธ Engine Updates and Fixes
- ๐ Allow
pwsh
to inherit$env:PSModulePath
and enablepowershell.exe
to 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
Regex
instances (#10657) (Thanks @iSazonov!) - ๐ Improve processing of the PowerShell built-in type data from
types.ps1xml
,typesV3.ps1xml
andGetEvent.types.ps1xml
(#10898) - โก๏ธ Update
PSConfiguration.ReadValueFromFile
to 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
StopUpstreamCommandsException
doesn't get populated in-ErrorVariable
(#10840) - Set the output encoding to
[Console]::OutputEncoding
for native commands (#10824) - ๐ Support multi-line code blocks in examples (#10776) (Thanks @Greg-Smulko!)
- โ Add Culture parameter to
Select-String
cmdlet (#10943) (Thanks @iSazonov!) - ๐ Fix
Start-Job
working directory path with trailing backslash (#11041) - 0๏ธโฃ
ConvertFrom-Json
: Unwrap collections by default (#10861) (Thanks @danstur!) - ๐ Use case-sensitive Hashtable for
Group-Object
cmdlet with-CaseSensitive
and-AsHashtable
switches (#11030) (Thanks @vexx32!) - ๐ป Handle exception if enumerating files fails when rebuilding path to have correct casing (#11014)
- ๐ Fix
ConciseView
to showActivity
instead ofmyCommand
(#11007) - ๐ Allow web cmdlets to ignore HTTP error statuses (#10466) (Thanks @vdamewood!)
- ๐ Fix piping of more than one
CommandInfo
toGet-Command
(#10929) - โ Add back
Get-Counter
cmdlet for Windows (#10933) - ๐ Make
ConvertTo-Json
treat[AutomationNull]::Value
and[NullString]::Value
as$null
(#10957) - โ Remove brackets from
ipv6
address for SSH remoting (#10968) - ๐ Fix crash if command sent to pwsh is just whitespace (#10977)
- โ Added cross-platform
Get-Clipboard
andSet-Clipboard
(#10340) - ๐ Fix setting original path of filesystem object to not have extra trailing slash (#10959)
- ๐ Support
$null
forConvertTo-Json
(#10947) - โ Add back
Out-Printer
command on Windows (#10906) - ๐ Fix
Start-Job -WorkingDirectory
with whitespace (#10951) - 0๏ธโฃ Return default value when getting
null
for a setting inPSConfiguration.cs
(#10963) (Thanks @iSazonov!) - ๐ป Handle IO exception as non-terminating (#10950)
- โ Add
GraphicalHost
assembly to enableOut-GridView
,Show-Command
, andGet-Help -ShowWindow
(#10899) - ๐ Take
ComputerName
via 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
TabExpansion2
to not require-CursorColumn
and 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-List
command (#10922) - โก๏ธ Update
FWLink
Id forClear-RecycleBin
(#10925) - During tab completion, skip file if can't read file attributes (#10910)
- โ Add back
Clear-RecycleBin
for Windows (#10909) - โ Add
$env:__SuppressAnsiEscapeSequences
to 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
PSSession
class (#11001) - โ Remove the not-working 'run
Update-Help
fromGet-Help
whenGet-Help
runs 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
ConsolePrompting
and avoid unnecessary string creation when queryingExecutionPolicy
setting (#10985) - โก๏ธ Disable update notification check for daily builds (#10903) (Thanks @bergmeister!)
- Reinstate debugging API lost in #10338 (#10808)
Tools
- โ Add default setting for the
SDKToUse
property 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
stringdata
test 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.md
andmetadata.json
for Preview.5 (#10854) - โ Select the files for compliance tests which are owned by PowerShell (#10837)
- ๐ Allow
win7x86
msix
package to build. (Internal 10515) - ๐ Allow semantic versions to be passed to
NormalizeVersion
function (#11087) - โฌ๏ธ Bump .NET core framework to
3.1-preview.3
(#11079) - โฌ๏ธ Bump
PSReadLine
from2.0.0-beta5
to2.0.0-beta6
in /src/Modules (#11078) - โฌ๏ธ Bump
Newtonsoft.Json
from12.0.2
to12.0.3
(#11037) (#11038) - โ Add Debian 10, 11 and CentOS 8 packages (#11028)
- ๐ Upload
Build-Info
Json file with theReleaseDate
field (#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.Signed
from0.17.1
to0.18.0
(#10887) - โฌ๏ธ Bump
ThreadJob
from2.0.1
to2.0.2
(#10886) - โก๏ธ Update
AppX
Manifest 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.ps1
script (#11024) (Thanks @kilasuit!) - ๐ Fix to
Select-String
emphasis andImport-DscResource
in 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
- โก๏ธ Update