v6.0.0-rc release of PowerShell Core
Breaking changes
- Fix
-Verbose
to not override$ErrorActionPreference
. (#5113) - Fix
Get-Item -LiteralPath a*b
to return error ifa*b
doesn't actually exist. (#5197) - Remove
AllScope
from most default aliases to reduce overhead on creating new scopes. (#5268) - Change
$OutputEncoding
default to beUTF8
withoutBOM
rather thanASCII
. (#5369) - Add error on legacy credential over non-HTTPS for Web Cmdlets. (#5402) (Thanks @markekraus!)
- Fix single value JSON
null
inInvoke-RestMethod
. (#5338) (Thanks @markekraus!) - Add
PSTypeName
Support forImport-Csv
andConvertFrom-Csv
. (#5389) (Thanks @markekraus!)
Engine updates and fixes
- Add char range overload to the
..
operator, so'a'..'z'
returns characters from 'a' to 'z'. (#5026) (Thanks @IISResetMe!) - Remove
CommandFactory
because it serves no real purpose. (#5266) - Change to not insert line breaks at console window width to output (except for tables). (#5193)
- Use
Ast
for context in parameter binding and fix to glob the native command argument only when it's not quoted. (#5188) - Fix dynamic class assembly name. (#5292)
- Update powershell to use
2.0.4-servicing
dotnet core runtime. (#5295) - Fix
ExecutionContext.LoadAssembly
to load with name when file cannot be found. (#5161) - Speed up the check for suspicious content in script texts. (#5302)
- Use native
os_log
APIs on macOS for PowerShell Core logging. (#5310) - Redirect
ETW
logging toSyslog
on Linux. (#5144) - Improve how we pass the array literal to native commands. (#5301)
- Make
SemanticVersion
compatible withSemVer 2.0
. (#5037) (Thanks @iSazonov!) - Revert refactoring changes that broke remoting to Windows PowerShell 5.1. (#5321)
- Port some fixes in
Job
for an issue that causes PowerShell to not respond. (#5258) - Multiple improvements by
CodeRush
static analysis. (#5132) (Thanks @Himura2la!) - Fix the Runspace cleanup issue that causes PowerShell to not respond on exit. (#5356)
- Update PowerShell to depend on new version of
psrp
andlibmi
nuget packages on Unix platforms. (#5469)
General cmdlet updates and fixes
- Add
-AsHashtable
toConvertFrom-Json
to return aHashtable
instead. (#5043) (Thanks @bergmeister!) - Fix
Import-module
to not report a loaded module was not found. (#5238) - Fix performance issues in
Add-Type
. (#5243) (Thanks @iSazonov!) - Fix
PSUserAgent
generation for Web Cmdlets on Windows 7. (#5256) (Thanks @markekraus!) - Remove
DCOM
support from*-Computer
cmdlets. (#5277) - Add multiple link header support to Web Cmdlets. (#5265) (Thanks @markekraus!)
- Use wider columns for process id and user. (#5303)
- Add
Remove-Alias
Command. (#5143) (Thanks @PowershellNinja!) - Update
installpsh-suse.sh
to work with thetar.gz
package. (#5309) - Add
Jobject
serialization support toConvertTo-Json
. (#5141) - Display full help with 'help' function. (#5195) (Thanks @rkeithhill!)
- Fix
help
function to not pipe tomore
if objects are returned instead of help text. (#5395) - Fix
Unblock-File
to not write an error if the file is already unblocked. (#5362) (Thanks @iSazonov!) - Clean up FullCLR code from Web Cmdlets. (#5376) (Thanks @markekraus!)
- Exclude cmdlets that are not supported on Unix platforms. (#5083)
- Make
Import-Csv
supportCR
,LF
andCRLF
as line delimiters. (#5363) (Thanks @iSazonov!) - Fix spelling in Web Cmdlet errors. (#5427) (Thanks @markekraus!)
- Add
SslProtocol
support to Web Cmdlets. (#5329) (Thanks @markekraus!)
Build and Packaging Improvements
- Use
RCEdit
to embed icon and version information intopwsh.exe
. (#5178) - Update Docker file for Nano Server 1709 release. (#5252)
- Change VSCode build task to use
pwsh
. (#5255) - Refactor building and packaging scripts for signing in release build workflow. (#5300)
- Always build with
-CrossGen
in CI to verify a fix inCrossGen
tool. (#5315) - Separate
Install-PowerShellRemoting.ps1
frompsrp.windows
nuget package. (#5330) - Include symbols folder an embedded zip when packaging symbols. (#5333)
- Add Uniform Type Identifier conforming with Apple standards using a reverse DNS style prefix. (#5323)
- Update
Wix
toolset download link to newer version 3.11 (#5339) (Thanks @bergmeister!) - Re-enable macOS launcher after fixing an issue that blocked macOS package generation. (#5291) (Thanks @thezim!)
- Set expected binaries and variable name for folder for symbols build. (#5357)
- Rename and update PowerShell
ETW
manifest to remove the Windows PowerShell dependency. (#5360) - Add ability to produce
tar.gz
package for Raspbian. (#5387) - Update
Find-Dotnet
to find dotnet with the compatible SDK. (#5341) (Thanks @rkeithhill!) - Add signing manifest and script to update it with production values. (#5397)
- Add
install-powershell.ps1
to install PowerShell Core on windows. (#5383) - Make
-Name
a dynamic parameter inStart-PSPackage
. (#5415) - Support
[package]
tag in PR CI and fix nightly build on macOS. (#5410) - Enhance
install-powershell.ps1
to work on Linux and macOS. (#5411) - Move the
RCEdit
step to the build phase rather than the packaging phase. (#5404) - Allow packaging from a zip package to allow for signing. (#5418)
- Add automation to validate PowerShell Core packages using Docker containers. (#5401)
- Fix the
brew update
issue in bootstrap script. (#5400) - Enable
install-powershell.ps1
to update the current running PowerShell Core. (#5429) - Add standard set of VSCode workspace setting files. (#5457) (Thanks @rkeithhill!)
- Add support for installing PowerShell Core on Amazon Linux via
install-powershell.sh
. (#5461) (Thanks @DarwinJS!) - Get
PowerShellGet
andPackageManagement
from the PowerShell Gallery. (#5452) - Fix
Start-PSBuild
onWSL
if repository was already built on Windows. (#5346) (Thanks @bergmeister!) - Fix build in VSCode and use an improved version of
tasks.json
from @rkeithhill. (#5453) - Add scripts for signing packages in the release build workflow. (#5463)
Documentation and Help Content
- Fix the codebase to use the consistent copyright string. (#5210)
- Add documentation about how to create
libpsl
andpsrp.windows
nuget packages. (#5278) - Add help strings in PowerShell banner. (#5275) (Thanks @iSazonov!)
- Change all links in
README.md
to absolute as they are being used in other places outside of GitHub. (#5354) - Update instructions to build on VSCode based on
pwsh
. (#5368) - Update
FAQ.md
about how to use PowerShell Core nuget packages. (#5366) - Correct the Fedora documentation (#5384) (Thanks @offthewoll!)
- Add instructions about how to create the
PowerShell.Core.Instrumentation
nuget package. (#5396) - Updated PowerShell to use the latest help package. (#5454)
Compliance Work
Compliance
work is required for Microsoft to continue to sign and release packages from the project as official Microsoft packages.
- Replace the word
hang
with something more appropriate and add rules about other terms. (#5213, #5297, #5358) - Use simplified names for compliance folders (#5388)
- Add compliance label description (#5355)
- Set
requestedExecutionLevel
toasInvoker
forpwsh.exe
on Windows. (#5285) - Add
HighEntropyVA
to building pwsh. (#5455)
SHA256 Hashes of the release artifacts:
- powershell_6.0.0-rc-1.debian.8_amd64.deb
- 57B8F7ECCF6BF1CB1ED547952E389D6793D5E9FFD6884DF3E0F099566119FCB8
- powershell_6.0.0-rc-1.debian.9_amd64.deb
- 03AE7A5A9821C48FD31C7F2D07ED814B306F4943CF4CF58CA1B367FA2F7B5A70
- powershell_6.0.0-rc-1.ubuntu.14.04_amd64.deb
- 85F5B36163655CE509A21A0B8E70878F190DADB95730FA7FC76BC8A213A57271
- powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb
- 16027D471EAF0F5F3B6B6090A93B9B0689D7650826803F94BD851B47C8170B67
- powershell_6.0.0-rc-1.ubuntu.17.04_amd64.deb
- F4654B3997216DA9AE1C10E4C451414970D7053377D820E234E4A42D710979D7
- powershell-6.0.0_rc-1.rhel.7.x86_64.rpm
- 3BB8117EAA88F8406FFE5F9CC92908F6C1EED37E1541B97CF006D72B817B8193
- powershell-6.0.0-rc-linux-arm32.tar.gz
- 312A575F80B4E8CF0E7419A2460BF135A33143153D08821BA4600D97F32B5621
- powershell-6.0.0-rc-linux-x64.tar.gz
- 7F47F81494D880031D60357E1105EBD29732821BA278C87C15E6A3E103C6C4E1
- powershell-6.0.0-rc-osx-x64.tar.gz
- 2C5183776D3FD03C69950D5E86831F9513757E7D7D9A20EA82AD5C6980E9544C
- powershell-6.0.0-rc-osx.10.12-x64.pkg
- 187DC2772E06319A8E71C71197A8A8287CB12515C4A9E6A9546DEC717720609C
- PowerShell-6.0.0-rc-win-x64.msi
- 92B6FBB0784F7C0AD778BABB6A678A27CDDD6D49E585B6CC9770AC603C6A04F4
- PowerShell-6.0.0-rc-win-x64.zip
- 076BB3A71044CE68352E010F55C4319F6FFFD5B47E3CD0173F14A3FEE77B4CEE
- PowerShell-6.0.0-rc-win-x86.msi
- DAF927B5F51583E044FF70092DFB3B07310CCC8051BC7E48D105C4479B879F68
- PowerShell-6.0.0-rc-win-x86.zip
- B8028B07CD30D88CF374BC6655A3E08D89B99EAE8DBCE63100214B75044578CA
- powershell-6.0.0-rc-x86_64.AppImage
- 9F5E0D399FEACF81BF22FFBF29B557B3F7897DD7D2BB17923DA856B694FEED78