v6.2.0-preview.2 Release of PowerShell Core
Pre-release
Pre-release
·
4456 commits
to master
since this release
v6.2.0-preview.2 - 2018-11-15
Breaking Changes
- Honor
-OutputFormat
if specified in non-interactive, redirected, encoded command used withpwsh
(#8115) - Load assembly from module base path before trying to load from the
GAC
(#8073) - Remove tilde from Linux preview packages (#8244)
- Move processing of
-WorkingDirectory
before processing of profiles (#8079)
Known Issues
- PowerShell WSMan remoting does not work on Debian 9 due to missing symbolic links.
For more information and a workaround see issue #7598
Engine Updates and Fixes
- Enable case-insensitive tab completion for files and folders on case-sensitive filesystem (#8128)
- Experimental feature: Implicit remoting batching performance improvements (#8038)
- Add a path for checking
ZoneInformation
without throwing an exception (#8025) (Thanks @powercode!) - Fix CVE-2018-8256,
issues with expandingZIP
files with relative paths (#8252) - Fix CVE-2018-8415,
issue logging when thescriptblock
has a null character (#8253) - Make
PSVersionInfo.PSVersion
andPSVersionInfo.PSEdition
public (#8054) (Thanks @KirkMunro!) - Enable distinct
ModuleAnalysisCache
files for each installation ofpwsh
(#8174) - Consolidation of all Windows PowerShell work ported to PowerShell Core (#8257)
- Fix incorrect name check when auto-loading required modules (#8218)
- Adding verbose output for experimental implicit remoting batching feature (#8166)
- Add Type Inference for
$_ / $PSItem in catch{ }
blocks (#8020) (Thanks @vexx32!) - Fix static method invocation type inference (#8018) (Thanks @SeeminglyScience!)
General Cmdlet Updates and Fixes
- Reduce allocations in
Get-Content
cmdlet (#8103) (Thanks @iSazonov!) - Enable
Set-Location -LiteralPath
to work with folders named-
and+
(#8089) - Enable
Add-Content
to share read access with other tools while writing content (#8091) - Add new
Offset
andCount
parameters toFormat-Hex
and refactor the cmdlet (#7877) (Thanks @iSazonov!) - Add
-Name
,-NoUserOverrides
and-ListAvailable
parameters toGet-Culture
cmdlet (#7702) (Thanks @iSazonov!) - Allow dynamic parameter to be returned even if path does not match any provider (#7957)
- Style fixes in
Format-Hex
(#8083) (Thanks @iSazonov!) - Fix logic to rely on PowerShell major and minor version instead of build number to determine whether to output
formatdata
(#8063) - Fix
Rename-Item -Path
with wildcardchar
(#7398) (Thanks @kwkam!) - When using
Start-Transcript
and file exists, empty file rather than deleting (#8131) (Thanks @paalbra!) - Error message enhancement for
Clear-Content
cmdlet when targeting a directory (#8134) (Thanks @kvprasoon!) - Make
Select-String
faster by not doing extra work (#7673) (Thanks @powercode!) - Remove
ShouldProcess
fromFormat-Hex
(#8178)
Code Cleanup
- Remove clone of command-line arguments array (#7910) (Thanks @iSazonov!)
- Use
DefaultPathSeparator
char
instead ofDefaultPathSeparatorString
(#8082) (Thanks @iSazonov!) - Replace
StringComparision.CurrentCulture
withStringComparision.Ordinal
(#8068) (Thanks @iSazonov!) - Fix typo in
-icontains
description fromincase sensitive
tocase insensitive
(#7840) (Thanks @StingyJack!) - Refactor module version/
GUID
comparison logic (#7125)
Tools
- Update
installpsh-amazonlinux.sh
for container specific issues (#7907) (Thanks @DarwinJS!) - Update the
codeowners
file (#8017)
Tests
- Filter the
TestPackage
artifact upload by name to avoid otherZIP
files being uploaded (#8116) - Adding
fxdependent
PowerShell package tests (#7830) - Fix Windows Feature tests running in Azure DevOps (#8220)
- Create
$PROFILE
if it does not exist for-WorkingDirectory
processing test (#8152) - Add test coverage for additional
Get-Module
parameters (#8137) (Thanks @KevinMarquette!) - Fix conflict with
Get-AdlStoreChildItem
fromaz
module in tab completion tests (#8167) - Fix static secret in code (#8186)
Build and Packaging Improvements
- Bump
xunit.runner.visualstudio
from2.4.0
to2.4.1
(#8139) - Bump
xunit
from2.4.0
to2.4.1
(#8140) - Bump
Microsoft.ApplicationInsights
from2.8.0
to2.8.1
(#8104) - Bump
NJsonSchema
from9.11.1
to9.12.1
(#8183, #8248) - Fix
Start-PSBuild -Output
(#7504) (Thanks @kwkam!) - Adding
YML
for Linux builds (#8168) - Publish test package at
AGENT_WORKFOLDER
ifTEMP
is not available (#8108) - Fix
psmodulerestore
path when built in Visual Studio Code (#8075) - Use approved verb instead of
Generate-CrossGenAssembly
(#8151) (Thanks @kvprasoon!) - Add path filters to CI
YAML
(#8222) - Update
SignType
insigning.xml
(#8223) - Update metadata for
6.0.5
and6.1.1
releases (#8259) - Port changes to allow Azure DevOps NuGet feeds for Mac build (Internal 5818)
- Update version for dependencies (Internal 5822)
- Add code to use private NuGet feeds when running in internal CI system (#8187)
- Add title to
Open Here
window forMSI
installer (#8164) - Remove build and documentation references to
git
submodules (#8177) (Thanks @andschwa!) - Add function to create a new
nuget.config
file (#8170) - Update macOS release build to create the
nuget.config
(#8185) - Workaround for accessing Azure Artifacts (#8188)
- Fix script path for
PowerShellPackageVsts.ps1
(#8189) Microsoft.PowerShell.Native
now hasMUSL
binaries for Alpine.
Documentation and Help Content
- Fix grammar in
README.md
(#8059) (Thanks @daviddreher2!) - Update
powershell-beginners-guide.md
to add alias forClear-Host
(#7912) (Thanks @aavdberg!) - Add Microsoft Docs link to FAQ (#8133) (Thanks @vongrippen!)
- Added updated photo of Visual Studio Code due to new version of Code (#8084) (Thanks @lassehastrup!)
- Update
license.rtf
to only have major version (#8127) - Updated Pester Syntax in Writing Tests Guide (#8039) (Thanks @markwragg!)
- Remove duplicate parts from license file (#8143) (Thanks @azkarmoulana!)
- Fix spellings in
CHANGELOG.md
(#8062) - Update license RTF to 6.2 (#8065)
- Combine notes about
ITuple
changes in Change Log (#8077) (Thanks @Jocapear!) - Correct typos in
powershell-beginners-guide.md
(#8088) (Thanks @nycjan!) - Added
Learn Windows PowerShell in a Month of Lunches
as recommended reading (#8067) (Thanks @tobvil!) - Update
README.md
forv6.1.1
(#8255) - Fix some typos (#8206) (Thanks @jeis2497052!)
- Promote
HTTPS
(#8160) (Thanks @RDIL!) - Simple grammatical correction in
README.md
file (#7978) (Thanks @iGotenz!) - Update URLs to use
HTTPS
instead ofHTTP
in the documentation (#8165) (Thanks @RDIL!) - Remove #7633 from
v6.2.0-preview.1
CHANGELOG.md
updates. (#8101) (Thanks @stknohg!)
SHA256 Hashes of the release artifacts
- powershell-6.2.0-preview.2-linux-arm32.tar.gz
- 5CF8D7B18D1CD7E4A5560D212377DF20881F3464032274A7C0270A7D71D574AD
- powershell-6.2.0-preview.2-linux-x64-fxdependent.tar.gz
- 6D47C6393EF405E7837EED7E7BA2EC296C69E559ADF4751FC61D30811F2D5380
- powershell-6.2.0-preview.2-linux-x64.tar.gz
- 412C89D9B506A793AA2888A4F310C94A127239F8526F4693DFCC4890EE878B66
- powershell-6.2.0-preview.2-osx-x64.pkg
- A017E02F0B69FAD35CF61B96F1DDBFC587909EBC93F61F1BF7AAE574542B33CC
- powershell-6.2.0-preview.2-osx-x64.tar.gz
- 6B4B98A803FD769FDB689AAF47C130FEB8B00D5856F8F21FF229436C7887C485
- PowerShell-6.2.0-preview.2-win-arm32.zip
- A57C5258E2FAABB606BF3D4DF272D027EBAEE16A994D2EBA3344C13EAD7FAD31
- PowerShell-6.2.0-preview.2-win-arm64.zip
- 11A4DD69F1E4BF8580823A4DD57B2E44368183D6219AFBBFE4B0DCA9A5026F45
- PowerShell-6.2.0-preview.2-win-fxdependent.zip
- 8BB9EBA5558497E8E4389E46EB7BD92AD11454DD4EB8006CCC3CCBFD31D8A5F7
- PowerShell-6.2.0-preview.2-win-x64.msi
- 0094038E71FDC674823029DAA989CDEB00A79B6E3566D28330D66BABD6D7AF3E
- PowerShell-6.2.0-preview.2-win-x64.zip
- 058446B6DC1591CEA7E4C75C0313046A1D87EF65FD6F6F6AC096127AD60A37E9
- PowerShell-6.2.0-preview.2-win-x86.msi
- A858E94006B3046DBDC839F033A22644C3F64669B79AC8662701A67F21DF88FA
- PowerShell-6.2.0-preview.2-win-x86.zip
- 9EC6A29839C9806D6397A09770B6D4D9087423B88926C2E473A8A0238C6CCBC4
- powershell-preview-6.2.0_preview.2-1.rhel.7.x86_64.rpm
- 5CC0C8867CB55B49393F38FAEC4EC07A2980798C5911013C4C004A4853560064
- powershell-preview_6.2.0-preview.2-1.debian.8_amd64.deb
- 05C6B0BA8A9D13AD4431FC4B5971F5E6856D76724AEC10D132967A877D2734E9
- powershell-preview_6.2.0-preview.2-1.debian.9_amd64.deb
- 6DFA063F6D529DFFFE1D3A7507C2DC1CA22AC04185DADC1024614334AD616933
- powershell-preview_6.2.0-preview.2-1.ubuntu.14.04_amd64.deb
- E682D0763AFBEBF533D1E1303A710685C703B24046343FE45E6E975B6723003F
- powershell-preview_6.2.0-preview.2-1.ubuntu.16.04_amd64.deb
- 8D4D3BC4E4A919366542613E4FF118A69567B07081F18DF4105FDA91992A2373
- powershell-preview_6.2.0-preview.2-1.ubuntu.18.04_amd64.deb
- 8CD81279FD6DF471DA46A24B2518B805EF4DE433922962546042491EE83F0EC0