Releases: PowerShell/PowerShell
Releases · PowerShell/PowerShell
v6.1.0 Release of PowerShell Core
v6.1.0 - 2018-09-13
Engine Updates and Fixes
- Enable indexing operations on
System.Tuple
andSystem.ValueTuple
(#7633) (Thanks @SeeminglyScience!) - Use non-virtual call to invoke 'family or assembly' methods on base class from PowerShell class (#7624) (Thanks @yurko7!)
- Handle operations with
ByRef-like
types gracefully in PowerShell (#7533) - Make the
-settingfile
flag onpwsh
work forScriptBlock
logging on windows (#7631) - Ensure the
SSHClientSessionTransportManager
stream writer and reader fields are cleared after disposing (#7746) - Add
LocationChangedAction
handler to support the Windows Compatibility module (#7552)
General Cmdlet Updates and Fixes
- Fix
Set-Service -Status Stopped
to stop services with dependencies (#5525) (Thanks @zhenggu!) - Add the
Duration
property toHistoryInfo
(#5208) (Thanks @powercode!) - Fix null reference in
ConvertFrom-Markdown
when the markdown content is empty (#7463) - Fix file blocking issue with WebCmdlets (#7676) (Thanks @Claustn!)
- Fix performance issue in
WSMan
provider by usingRefresh()
to update the status rather than instantiatingServiceController
(#7680)
Code Cleanup
- Remove
Suspend-Job
andResume-Job
cmdlets from compilation on Unix platforms (#7650) - Remove extra spaces in error messages in
Modules.resx
(#7662) (Thanks @sethvs!) - Cleanup the platform runtime checks from
FileSystemProvider
(#7655) (Thanks @iSazonov!) - Improve code style of
Send-MailMessage
cmdlet (#7723) (Thanks @ThreeFive-O!)
Tools
- Add tools for PowerShell performance analysis (#7595) (Thanks @lzybkr!)
- Update code coverage module to download zip files based on job ID (#7653)
Tests
- Update test which assumes all previews have the name preview in the version (#7625)
- Update Pester syntax in
Set-Location
test (#7615) (Thanks @iSazonov!) - Add
ScriptBlock
logging test for Linux and macOS (#7599) (#7586) - Add tests to report when package references are out of date (#7661)
- Fix
ModuleSpecification.Tests.ps1
(#7663) (Thanks @sethvs!) - Updates Docker package tests (#7667)
Build and Packaging Improvements
- Update to the latest package references, dotnet core SDK and framework (#7646) (Thanks @iSazonov!)
- Make the artifact upload only occur for non-PR builds (#7657)
- Change to not upload artifacts during pull request due to missing VSTS feature (#7588)
- Remove workaround on VSTS that is no longer needed (#7666)
- Update docker files to use MCR (#7656)
- Add symbolic links for
libssl
andlibcrypto
to Debian 9 build to make remoting work (#7609) - Simplify the
StartupInfo
type used in Jumplist creation for fasterP/Invoke
(#7580) (Thanks @powercode!) - Add VSTS CI for Windows (#7536)
- Update the version of
PowerShellGet
module to1.6.7
(#7564) - update the version of
PSReadLine
module to2.0.0-beta3
(#7711) - Make sure MSI build works for non-preview builds (#7752)
- Build and package framework dependent package (#7729)
- Change locale of
mdspell
toen-US
(#7671) - Add daily build on non-windows platforms (#7683)
- Fix Windows MSI to remove the
Uninstall
shortcut during an uninstall when more than one version is installed (#7701) (Thanks @bergmeister!) - Fix docker image names for release build (#7726)
Documentation and Help Content
- Update the version of .NET Core in docs (#7467) (Thanks @bergmeister!)
- Fix links in
README.md
(#7619) (Thanks @iSazonov!) - Add VSTS CI build badges for master branch to
README.md
(#7691) (Thanks @bergmeister!) - Add a paragraph in
CONTRIBUTING.md
about updatingfiles.wxs
(#7695) (Thanks @iSazonov!)
SHA256 Hashes of the release artifacts
- powershell-6.1.0-1.rhel.7.x86_64.rpm
- FBF176D1E554BD363E406849A015CF69B98F9B1638DF6CFB6C8CF8DEB744AC12
- powershell-6.1.0-linux-arm32.tar.gz
- E2F68CE6BC34299E2F961A72D33C2D48C4907E33D4EDBCE94918358AAE101162
- powershell-6.1.0-linux-x64.tar.gz
- 68674CFBA84ABF759C7E10EF6FCD926CBC125D9958E11A1926AF7CF7F604506C
- powershell-6.1.0-osx-x64.pkg
- AA7BBD2C8286639FD26CFFAF3E586BC08DBC6E67B554A6291FDEDEBD140BD07D
- powershell-6.1.0-osx-x64.tar.gz
- F3DBC06EC6AA8615179A98765AC110CE63EC982239C5F3BE6FC52C434DDD9EF8
- PowerShell-6.1.0-win-arm32.zip
- C06D3B66405575D1D834D87F91B7AD122F477912F7CE01E5B1B6647D24402F65
- PowerShell-6.1.0-win-arm64.zip
- 003B1BB7EBC6A3A48EA917B6A1FDD5B37F01274C8E2F981634BE1BABB7DADBF9
- PowerShell-6.1.0-win-x64.msi
- E67A1460C3D24C52B1DE30DAECBCE7ED7BAAC62DCEF8A862D2FCADC31A9B4239
- PowerShell-6.1.0-win-x64.zip
- CA4ED36E663AB5F7FD32F636F9D274B1544173CEA05B8A78481EB51C3F23163D
- PowerShell-6.1.0-win-x86.msi
- 8DD936957DAF6BAF72A0FCD8EFE43758016A81F79940BC0C314F3CF6FFF0EEDA
- PowerShell-6.1.0-win-x86.zip
- B214DBA4E4FB3AFC8A4B946BCBEF95E8FBEC0E313214663938D57ECCD8B068B9
- powershell_6.1.0-1.debian.8_amd64.deb
- 0E6D3CC51639CF7F50BD17090B66922D5BEBA524CEDCDB3DE7044E32EDF5AFA3
- powershell_6.1.0-1.debian.9_amd64.deb
- 794618DAC86DB28D7660C86C26227B31E15F1CFD88F61A821FC65EEAB5D1542D
- powershell_6.1.0-1.ubuntu.14.04_amd64.deb
- 46D53ADA8FB9AF31BE925E2229E0096138411AD61B14B881765DBACAAD8BE076
- powershell_6.1.0-1.ubuntu.16.04_amd64.deb
- 2E94F89169D700C9E616ACF706B9E1E131F6113419520BA6C0753BD4C07D21DD
- powershell_6.1.0-1.ubuntu.18.04_amd64.deb
- 53342E67AA9A73925CD8CCB9DB661B9013583E38B50D61B4B9378C9CA48140E9
- powershell-6.1.0-linux-musl-x64.tar.gz
- FF49CEE41BE24916C1142CD9CFC0DDE54D649590DBB1ABA40A0505DBE3156AA6
v6.1.0-rc.1 Release of PowerShell Core
v6.1.0-rc.1 - 2018-08-22
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
- Fix to not duplicate the
System32
module path when startingpwsh
frompwsh
(#7414) - Fix sequence point update for
switch/if/for/while/do-while/do-until
statements (#7305) - Set the cursor to the place where a user hits tab key (#7299)
- Adding
LanguagePrimitives.TryCompare
to provide faster comparisons (#7438) (Thanks @powercode!) - Improving performance of
LanguagePrimitives.TryConvertTo
(#7418) (Thanks @powercode!) - Set
PowerShellVersion
to3.0
for built-in modules to make Windows PowerShell work when starting from PowerShell Core (#7365) - Avoid extra unnecessary allocations in
PSMemberInfoInternalCollection<T>
(#7435) (Thanks @iSazonov!) - Enforce the
CompatiblePSEditions
check for modules from the legacySystem32
module path (#7183) - Make sure that
SettingFile
argument is parsed before we load the settings (#7449) - Default to
DefaultConsoleWidth
when DotNet saysWindowWidth
is 0 (#7465)
General Cmdlet Updates and Fixes
- Fix parameter name in the
Get-Variable
cmdlet error message (#7384) (Thanks @sethvs!) - Fix
Move-Item -Path
with wildcard character (#7397) (Thanks @kwkam!) - Ignore
Newtonsoft.Json
metadata properties inConvertFrom-Json
(#7308) (Thanks @louistio!) - Fix several issues in Markdown cmdlets (#7329)
- Add support for parsing Link Header with variable whitespace (#7322)
- Change parameter order in
Get-Help
and help in order to get first-Full
and
then-Functionality
when using Get-Help-Fu
followed by pressing tab and help-Fu
followed by pressing tab (#7370) (Thanks @sethvs!) - Add support for passing files and Markdown directly to
Show-Markdown
(#7354) - Add
-SkipIndex
parameter toSelect-Object
(#7483) (Thanks @powercode!) - Improve performance of
Import-CSV
up to 10 times (#7413) (Thanks @powercode!) - Update
Enable-PSRemoting
so configuration name is unique for Preview releases (#7202) - Improve performance on JSON to PSObject conversion (#7482) (Thanks @powercode!)
- Fix error message for
Add-Type
when-AssemblyName
with wildcard is not found (#7444) - Make native globbing on Unix return an absolute path when it is given an absolute path (#7106)
- Improve the performance of
Group-Object
(#7410) (Thanks @powercode!) - Remove one unneeded verbose output from
ConvertTo-Json
(#7487) (Thanks @devblackops!) - Enable
Get-ChildItem
to produceMode
property even if cannot determine if hard link (#7355)
Code Cleanup
- Remove empty XML comment lines (#7401) (Thanks @iSazonov!)
- Cleanup Docker files (#7328)
- Correct the comment for
WSManReceiveDataResult.Unmarshal
(#7364) - Format Utility
csproj
with updatedcodeformatter
(#7263) (Thanks @iSazonov!) - Bulk update format for files in Management folder with
codeformatter
(#7346) (Thanks @iSazonov!) - Cleanup: replace
Utils.FileExists()/DirectoryExists()/ItemExists()
with DotNet methods (#7129) (Thanks @iSazonov!) - Update
Utils.IsComObject
to useMarshal.IsComObject
since CAS is no longer supported in DotNet Core (#7344) - Fix some style issues in engine code (#7246) (Thanks @iSazonov!)
Test
- Use
-BeExactly
and-HaveCount
instead of-Be
inBugFix.Tests.ps1
(#7386) (Thanks @sethvs!) - Use
-BeExactly
and-HaveCount
instead of-Be
inTabCompletion.Tests.ps1
(#7380) (Thanks @sethvs!) - Update CI scripts to support running tests for experimental features (#7419)
- Use
-HaveCount
instead of-Be
inWhere-Object.Tests.ps1
(#7379) (Thanks @sethvs!) - Fix ThreadJob tests so that they will run more reliably (#7360)
- Make logging tests for macOS pending (#7433)
Build and Packaging Improvements
- Update Build script owners (#7321)
- Make
MUSL
NuGet package optional (#7316) - Enable
pwsh-preview
to work on Windows (#7345) - Fix SDK dependencies
- Add back the
powershell-core
NuGet source for hosting tests - Fix typo in environment checker (#7547 & #7549)
- Only remove the revision if it is
0
from module version when restoring modules (#7538) - Update
WCF
andNJsonSchema
NuGet packages to latest released patch version (#7411) (Thanks @bergmeister!) - Add Linux and macOS VSTS CI (#7490, #7527, #7535, #7515 & #7516)
- Updated ThreadJob to version
1.1.2
(#7522) - Add xUnit project to
PowerShell.sln
and make it runnable from within VisualStudio (#7254) (Thanks @bergmeister!) - Update NuGet packaging code for the new markdown assembly (#7431)
- Update version of modules shipped with PowerShell (#7531)
- Retry restore on failure (#7544 & #7550)
- Update
PowerShellGet
version - Update NuGet package metadata (#7517)
- Update reference to use packages from
NuGet.org
(#7525) Start-DevPowerShell
: add-Configuration
and handle-ArgumentList
more properly (#7300) (Thanks @jazzdelightsme!)- Add preview icon to macOS launcher (#7448) (Thanks @thezim!)
- Add
Microsoft.PowerShell.MarkdownRender
tosigning.xml
(#7472) - Fix building on RedHat Enterprise Linux (#7489)
- Build: Also search PATH for
rcedit
(#7503) (Thanks @kwkam!) - Save modules to un-versioned folder to enable servicing (#7518 & #7523)
- Fix macOS launcher app to allow release and preview versions (#7306) (Thanks @thezim!)
Documentation and Help Content
- Fix docs comments in utility folder (#7192) (Thanks @iSazonov!)
- Fix a typo in
issue-management.md
(#7393) (Thanks @alexandair!) - Fix casing of
GitHub
inbest-practice.md
(#7392) (Thanks @alexandair!) - Fix typos in
docs/maintainers/README.md
(#7390) (Thanks @alexandair!) - Add maintainer's best practice document and update maintainer list (#7311)
- Update Docker link to
PowerShell-Docker
(#7351) (Thanks @JoshuaCooper!) - Add
Snapcraft
to spelling dictionary (#7318) - Update
README.md
andmetadata.json
for releasev6.0.4
(#7497) - Add
Former Repository Maintainers
section inmaintainers/README.md
(#7475) - Update the
HelpUri
forGet-ExperimentalFeature
(#7466)
SHA256 Hashes of the release artifacts
- powershell-6.1.0-rc.1-linux-arm32.tar.gz
- 494FE20B312AD7FEC193393DC59CDACDE67B3F1185A171A37205357EEEA5D6BC
- powershell-6.1.0-rc.1-linux-x64.tar.gz
- 575AAEB937007C96EF0E792DDE930BB85DD4612FE68B9381C77A3BBD8C0FABDA
- powershell-6.1.0-rc.1-osx-x64.pkg
- 26EC5668EC9E93CC511654986C1F4D88DB9CF20C668014850E31422E715F3B81
- powershell-6.1.0-rc.1-osx-x64.tar.gz
- 536FFE89DBDF9F0CC77CA95629602D2430B953CECE2AF4037EA718E82EDC20CA
- PowerShell-6.1.0-rc.1-win-arm32.zip
- 8C63B0B821608826FECF965D7292E239E7BD5389FA81B6C997F55BC01AC3031E
- PowerShell-6.1.0-rc.1-win-arm64.zip
- 4051328CF104F01AC5605CF4A0C371DD4D077FA86157A726E7D5510605072BCA
- PowerShell-6.1.0-rc.1-win-x64.msi
- C58F7842A09EC5EEF484ACCEA1A4DEFB02EE050C5B5DCC60A1A739F6B8841CDC
- PowerShell-6.1.0-rc.1-win-x64.zip
- 3A51CAFD2BEDFD9FAB52D043A67BC134E45FA45C4F9A1E0A0E678EB170D7D233
- PowerShell-6.1.0-rc.1-win-x86.msi
- B5A1046D0218F2739E1E7651B5FBC4C61597D2A98A274A2F67EC54AA27E35896
- PowerShell-6.1.0-rc.1-win-x86.zip
- E0BF9A4CB2ED10B3543596B0CB2523B0489734729D85322C5755E903E0E6672C
- powershell-preview-6.1.0-rc.1-1.rhel.7.x86_64.rpm
- FD04AF226699FF7244BB39627DF7B3C6B2D0E40427BDCF89958CA714E173A3FA
- powershell-preview_6.1.0-rc.1-1.debian.8_amd64.deb
- 346A7CAC2F9C166849B95E730BDF09765FC6F25A5C0B867F618EA0311379B720
- powershell-preview_6.1.0-rc.1-1.debian.9_amd64.deb
- C83AF3561F04B5AFFDDD83C1DB5CA9B1A62418182029FFA387CD8A10F7D7D20F
- powershell-preview_6.1.0-rc.1-1.ubuntu.14.04_amd64.deb
- 97D0B9D9D42F89FB6D36B1AAAECEF478E4E48843F3D66CED040FF36DEAE7038B
- powershell-preview_6.1.0-rc.1-1.ubuntu.16.04_amd64.deb
- 1400F33D3F81C4F4D6A59B498A33C58B700EBE482B77D6726D7F5F47E924A027
- powershell-preview_6.1.0-rc.1-1.ubuntu.18.04_amd64.deb
- 304910FB2445B9A6BDA4A116962DCFB8BB276385A7CB973090E39AD08E0AC423
v6.0.4 Release of PowerShell Core
v6.0.4 - 2018-08-10
Build and Packaging Improvements
- Aggregate native components into a single NuGet package "Microsoft.PowerShell.Native".
- Update the version of NuGet packages referenced by PowerShell.
- Fix release build for macOS.
Test
- Fix xUnit tests.
- Add new tests for hosting PowerShell SDK NuGet packages.
SHA256 Hashes of the release artifacts
- powershell-6.0.4-1.rhel.7.x86_64.rpm
- 24948521AB9AA1F1E7C245CBCF7AA4243F8BC560E658D04CE6A059B33E000AE7
- powershell-6.0.4-linux-arm32.tar.gz
- 5EACC4FEA2EBAD91E7842083A77D069C2E12C4BC0EBADEAD34F5E5110CB2AA56
- powershell-6.0.4-linux-x64.tar.gz
- BF085C3C8B6288C3FD64F0B0D757DCD54212FA3643DAA48CD77C67BD779EFCE2
- powershell-6.0.4-osx-x64.tar.gz
- 7CF6E229831A1F167D20646ACA2768D53D5EEA280727459171F03E497D154906
- powershell-6.0.4-osx.10.12-x64.pkg
- 0C59FF0FCACC957342012F44FCB8DB255FD05BABD081455EDB2648566E2B29CC
- PowerShell-6.0.4-win-arm32.zip
- 44630B8F5F1DB67F5142DC5F3A6CB6F537EDAE7DCF15B02B69719C4243A71578
- PowerShell-6.0.4-win-arm64.zip
- DFB27AE3EC304BBD21CC2E882E8E8B207DD2B72A1534DC5EB7E76CCD9747A50C
- PowerShell-6.0.4-win-x64.msi
- D511E8C409E0B67923B39741080BE3FD187EA1E600A0838FC8E2C2388976D4EC
- PowerShell-6.0.4-win-x64.zip
- 0B04B63D2B63D4631CF5BD6E531F26B60F3CC1B1DB41C8B5360F14776E66F797
- PowerShell-6.0.4-win-x86.msi
- 7490D13D797E7E1398EFDCD1E5253611D419B672B45B94D8AA99F837ABC4899C
- PowerShell-6.0.4-win-x86.zip
- 787FBECBA57CD385428DBF4F4A0B7E16F92EECEE3E6ADAE65D1AB04CA8CF41DD
- powershell_6.0.4-1.debian.8_amd64.deb
- D8935C65F0A778E57C795027718AF0C65F7D5D7DBE09523C435B1161D57F3B2A
- powershell_6.0.4-1.debian.9_amd64.deb
- A01D3513B15F0B6ED2149F9833F96EAD2D3117D6DEE49DEE14A89FBE1FE50576
- powershell_6.0.4-1.ubuntu.14.04_amd64.deb
- C7572032E6983EB176B88FD2891529A77E5E5F07914BCDE55CFBEDC1DBEBA94D
- powershell_6.0.4-1.ubuntu.16.04_amd64.deb
- EA0EA86085EE163CC46AFF6BE56C7530C855200B5D514D74CF59B39A86C7A3E6
- powershell_6.0.4-1.ubuntu.17.04_amd64.deb
- 935283289521C67C0369E51C0615B021FE1EB2B6626B704DDDDBFD717E7ED14A
v6.1.0-preview.4 Release of PowerShell Core
v6.1.0-preview.4 - 2018-07-19
Known Issues
- Ubuntu 18.04 has experienced issues with
PowerShellGet
with some configurations. Desktop and Server images from Ubuntu seem to work fine. - PowerShell Remoting on Windows ARM 32 doesn't work. (#7317)
Breaking Changes
- Remove the
VisualBasic
support from Add-Type (#7284) - Update PowerShell Direct to try
pwsh
then fallback topowershell
(#7241) - Make pwsh able to start in a directory with wildcards in the name (#7240)
- Update
Enable-PSRemoting
so configuration name is unique for Preview releases (#7202) - Enforce the
CompatiblePSEditions
check for modules from the legacySystem32
module path (#7183)
Engine Updates and Fixes
- Add support to experimental features (#7242)
- Fix error when using
Get-ChildItem c:
(#7033) (Thanks @sethvs!) - Add location history for
Set-Location
to enablecd -
scenario (issue #2188) (#5051) (Thanks @bergmeister!) - Fix padding for right aligned column in table formatting (#7136)
- Fix a performance regression to the
-replace
operator after addingScriptBlock
support (#7135) - Fix tab expansion for
Get-Process
on macOS (#7176) - When using PSRP, if we receive text instead of XML, output it as error to help troubleshoot (#7168)
- Fix trimming of whitespace when table is wrapped (#7184)
- Modified the
Group-Object -AsHashTable
to use the base object ofPSObject
as the key for theHashtable
(#7123) - Add back ADSI and WMI type accelerators (#7085)
- Add
CompatiblePSEditions
to PowerShell Core built-in modules (#7083) - Make
Start-Process -ArgumentList
to accept@()
or$null
(#6597) - Avoid calling native APIs to check for existence of FileSystem items (#6929) (Thanks @iSazonov!)
- Add copy environment variables from
ProcessStartInfo
to key/pair array used in creating SSH process (#7070) - Add markdown rendering feature assemblies to the trusted assembly list (#7280)
- Don't fail if
SaferPolicy
API is not available on Windows 10 IoT or NanoServer (#7075) - Fix conditions for transcription of
Write-Information
command. (#6917) (Thanks @hubuk!) - Fix a parsing error when
break
andcontinue
are used in a switch statement in a finally block (#7273) - Fix prompt string to be platform agnostic and keep its trailing spaces (#7255)
- Make progress panel display correctly on UNIX when the user is typing. (#6972)
- Revert change to have
SetLocation()
treat wildcarded path as literal if it exists (#7101) - Make
Select-Object
/ForEach-Object
/Where-Object
see dynamic properties (#6898) (Thanks @jazzdelightsme!) - Fix class searcher to ignore hidden properties (#7188)
- Update remote prompt when using SSH to show username if different (#7191)
- Remove
SemanticVersion
fromknowntypes
list in serialization code to enable interop between Windows PowerShell and PowerShell Core (#7016) - Add more information to job process failure error (#7251)
- Use .Net Core
File.Delete()
method to remove symbolic links and alternate streams (#7017) (Thanks @iSazonov!) - Enable
UseShellExecute
on all platforms (#7198) - Methods with return type
[object]
should returnnull
for an empty result (#7138)
General Cmdlet Updates and Fixes
- Add Markdown rendering cmdlets (#6926)
Send-MailMessage
: Update all parameters to supportValueFromPipelineByPropertyName
. (#6911) (Thanks @sethvs!)- Allow Basic Auth over HTTPS (#6890)
- Add
ThreadJob
module package and tests (#7169) - Fix Windows Event Log channel isolation semantics (#6956) (Thanks @Robo210!)
- Make
Measure-Object
handlescriptblock
properties. (#6934) - Added functionality to retry in
Invoke-RestMethod
andInvoke-WebRequest
. (#5760) - Add type inference for
Select-Object
command (#7171) (Thanks @powercode!) - Add
-AllStats
Switch parameter forMeasure-Object
cmdlet (#7220) (Thanks @kvprasoon!)
Code Cleanup
- Remove unneeded code that forces ARM platforms to run PowerShell in CL mode (#7046)
- Bulk update code base to put
null
on the right-hand-side of a comparison expression (#6949) (Thanks @iSazonov!) - Remove
MapSecurityZoneWithUrlmon
method and related code (#7103) - Cleanup: remove the unneeded type
RemotingCommandUtils
(#7029) - Remove unneeded "Windows-Full" modules (#7030)
- CodeFactor code style cleanup: replace literal empty strings with
string.Empty
(#6950) (Thanks @iSazonov!) - Remove dummy comments in Utility module files (#7224) (Thanks @iSazonov!)
- Use empty array for Functions/Cmdlets/
AliasesToExport
to follow the best practice (#7108) - Refactor module code related to
Get-Module -ListAvailable
(#7145) - Refactor module specification logic (#7126)
Test
- Add tests for module specifications (#7140)
- Update test string for better clarity in
Send-MailMessage.Tests.ps1
(#7195) (Thanks @sethvs!) - Add test to verify filesystem provider isn't used when accessing root path in
PSDrive
(#7173) - Fix to address
ThreadJob
tests reliability and speed (#7270) - Add additional checks for test that passes inconsistently (#7051)
Build and Packaging Improvements
install-powershell.sh
filter pre-releases (when available),params
documentation (#6849) (Thanks @DarwinJS!)- Fedora 28 was released, Fedora 26 and 25 went end of life. (#7079) (Thanks @adelton!)
- Disambiguate icon on Windows for preview builds/installers to use
Powershell_av_colors
and
make daily build usePowershell_avatar
instead (#7086) (Thanks @bergmeister!) - Update to build for Alpine (#7139)
- Update build and packaging modules for Alpine (#7149)
- Add ability to install previews side-by-side with production releases (#7194) (Thanks @DarwinJS!)
- Enable NuGet Package Registration for compliance (#7053)
- Fix the preview macOS package link (#7061)
- Remove PSReadLine from then
PowerShell.sln
file (#7137) - Fix the file
PowerShell.sln
that was corrupted by accident (#7288) - Fix the encoding of
PowerShell.sln
to beutf-8
(#7289) - Make sure all references to the Package ID for previews packages is powershell-preview (#7066)
- Update
internals.md
with the latest build changes (#7058) - When installing using MSI, set the working directory of the shortcut to the user home directory (#7072)
- Move to dotnet core 2.1.1 (#7161) (Thanks @iSazonov!)
- Update to latest package references, runtime framework, and SDK (#7272)
- AppVeyor build matrix: more efficient build job split to reduce total time by another 5 minutes (#7021) (Thanks @bergmeister!)
- Build: Fix the source location of
PowerShell.Core.Instrumentation.dll
(#7226) - Add Andrew to the default reviewers of the build related files (#7019)
- Build: Fix a check to avoid null argument in case
vcvarsall.bat
is absent (#7218) (Thanks @PetSerAl!) - Update
releaseTag
intools/metadata.json
(#7214) - Update
Start-PSPester
to make it more user friendly (#7210) (Thanks @bergmeister!) - Make
Start-PSBuild -Clean
not prompt due to locked files when Visual Studio is open by excludingsqlite3
folder and use-x
instead of-X
option ongit clean
(#7235) (Thanks @bergmeister!)
Documentation and Help Content
- Fix typos in
DOCSMIGRATION.md
(#7094) (Thanks @alexandair!) - Add instructions to update Homebrew formula for the preview version PowerShell (#7067) (Thanks @vors!)
- Merge Third Party Notices and License updates (#7203)
- Update third party notices (#7042)
- Fix Markdown and spelling errors in
CHANGELOG.md
(#7064) - Fix
New-TemporaryFile
online help URI (#6608) - Fix links to PowerShell install docs (#7001) (Thanks @jokajak!)
- Update links that contain
en-us
culture (#7013) (Thanks @bergmeister!) - Update docs for
ArgumentCompleterAttribute
class (#7227) (Thanks @Meir017!) - Fix the name of a
Register-EngineEvent
test (#7222) (Thanks @alexjordan6!) - Update README files for native code for migration (#7248)
- Comment about dynamic members for the
DotNetAdapter
,GetMember
andGetMembers
(#7087) - Update the PowerShell executable location in building guide docs (#7205) (Thanks @louistio!)
SHA256 Hashes of Release Artifacts
- PowerShell-6.1.0-preview.4-win-x64.msi
- 59B26D1EA488D1F42F0952D2064AEF8EBB52C66B9325CD6AA0034A9FA1543931
- PowerShell-6.1.0-preview.4-win-x86.msi
- 0CB997B3AC912899265FECE6305B3BC9FDA7527EFC5FE62AA1E3B0A33CB27CDF
- powershell-6.1.0-preview.4-linux-arm32.tar.gz
- 9F44FA78FD7D01D2B7F415A23084632EE063CB7097C9482AFF733FA7974F6EC5
- powershell-6.1.0-preview.4-linux-x64.tar.gz
- 805C1AFAA9A145BE1DD86FC6544F8A2475C4406851B66004D04744B2CE50A079
- powershell-6.1.0-preview.4-osx-x64.pkg
- 5CE2B78621042FCA2D1D0F02B01911E125E1EA324B96A1D1BE5E75C95A0C8D34
- powershell-6.1.0-preview.4-osx-x64.tar.gz
- 3DB120B908A9B279524D1EFA69280C8B3E905BC4935E4219E1FD5909F7D194D5
- PowerShell-6.1.0-preview.4-win-arm32.zip
- 8BFAB872FA09950DF137B29C5414E287291E3725A48D7AEDBC156DEFB2ECCF38
- PowerShell-6.1.0-preview.4-win-arm64.zip
- BC6D7D196B15E3D4C444F32BFAEE73AE562896752ADA1F71FB05CA50B4ADA8EF
- PowerShell-6.1.0-preview.4-win-x64.wixpdb
- 680A2616A1C3D3DF6D7D2CFBF713DB3EB1A73D3D3FFEE565E47CC82739CE21E2
- PowerShell-6.1.0-preview.4-win-x64.zip
- E9B0A0AB7034C157123C01F8F780B0BCD0748DEC39AE115E12781EA175A557BA
- PowerShell-6.1.0-preview.4-win-x86.wixpdb
- C7F43EED0B6C13277B4286E7D480869C8C27D798A0253075775E99F4E28B153C
- PowerShell-6.1.0-preview.4-win-x86.zip
- 528CB75A9186C6CD31C52A8B2B0498F3CDD330ECC673F56DB9B6680B6969E7A6
- powershell-preview-6.1.0-preview.4-1.rhel.7.x86_64.rpm
- 90E750096CBFBBFB59A59DBB481EE02AF43ADA98AA0B94638F26A6107FAA94B8
- powershell-preview_6.1.0-preview.4-1.debian.8_amd64.deb
- F4D173CCF188474255183D7C53F39F2CA1A0964D5D6EBFFD8EDA9A66B8239344
- powershell-preview_6.1.0-preview.4-1.debian.9_amd64.deb
- 02A697A82F298607FDB571D4766E367850EA5E49C9B1A30C081A83EFE16AA0FB
- powers...
v6.0.3 Release of PowerShell Core
v6.0.3 - 2018-07-19
Build and Packaging Improvements
- Remove
PackageManagement
installed byPowerShellGet
and pinPackageManagement
to1.1.7.0
to maintain the ability to patch - Pin
PowerShellGet
to1.6.0
to maintain the ability to patch MSI installs - Update NuGet package references to the latest and get fix for CVE-2018-8356
- Enable NuGet Package Registration for compliance (#7053)
- Restore when building test projects
- Update to DotNet Runtime Framework
2.0.8
- Specify the runtime when running 'dotnet restore' in 'Start-PSBuild' (#6345)
- Update version of
fpm
to resolve issues installing - MSI: Update path with proper value (#6441)
- MSI: Remove the version from the product name (#6415)
- Migrate the macOS official binary build to VSTS mac hosted preview (#6363)
Test
- Get newer xUnit Skippable Fact Package
SHA256 Hashes of the release artifacts
- powershell_6.0.3-1.debian.8_amd64.deb
- 5890E6C82D6B80609AEC444158B3A55C207FB5C1DC07F749A64EDB55A29E20DF
- powershell_6.0.3-1.debian.9_amd64.deb
- 0504F0A1C8A937C8FA1E2841F9018B26897B9A65B2851698C4CCC580502B8463
- powershell_6.0.3-1.ubuntu.14.04_amd64.deb
- 8B9AA7A97BF170B8B8A62CBF1672DB39313FD9F4D22EA0759B3AAECAB89B7776
- powershell_6.0.3-1.ubuntu.16.04_amd64.deb
- CC15A9F4592A183CF181E1F10A1F2F0A15D6DC65626339743F6247B542FCAC2E
- powershell-6.0.3-1.rhel.7.x86_64.rpm
- 9F21442EF90C58D1C292CDAC464BCA67CBF1AAE305987E622D4D675090E256FA
- powershell-6.0.3-linux-arm32.tar.gz
- 07FD83309F8F20C7AAAF20B8145A10A264F0DA7B5B265F66EA19D77B7C593198
- powershell-6.0.3-linux-x64.tar.gz
- A43D3056688FABC442BFBE0FD7A096F7E28036759EFF9D6EBE8CB9155C9D9AAB
- powershell-6.0.3-osx-x64.tar.gz
- 9161416723031CA9C5422A707376660EF2F5D6D64D3B8A94B107EB1AABF3D2F0
- powershell-6.0.3-osx.10.12-x64.pkg
- 4764E8F09D52AF77EAEE01650F9B09ED36A181010B84463E4DD67DD2B72ADBA9
- PowerShell-6.0.3-win-arm32.zip
- 28E05E2F21D5C269F0486C73406B23EC758C7A1634089B4339C2F287AE43B264
- PowerShell-6.0.3-win-arm64.zip
- 80756F7594A1B85432FFBF434457B19054A5A87354C957774FB14EB0B4DF4EA9
- PowerShell-6.0.3-win-x64.wixpdb
- E1907C30533DC4386BCDF3B9223784438A5D351903486A640D680B82670AFBF3
- PowerShell-6.0.3-win-x64.zip
- DFFBB84E3E474E00100F6E51F36F7CC1146C70E68CAB72F94AA91AB35CB24AC7
- PowerShell-6.0.3-win-x86.wixpdb
- B7A72975804A76ED6E538BB4817F135B9B771D61A00D30DCB6E57A638CEFD6AA
- PowerShell-6.0.3-win-x86.zip
- 51A3FB4AF86C72E300B3C9AAD93BE1665CE67E1077CF109B72CC57F4F8AC539C
- PowerShell-6.0.3-win-x64.msi
- 55E52CE55D734CAE391E904123604C24D4D3AA1C7B93DDCF34D938665F39AA08
- PowerShell-6.0.3-win-x86.msi
- 6F40D0897653FBE3DDE7E5402A3671E069FBEE1609A6E561EB5D93191BA16115
The following unsigned files were previously uploaded in error:
- PowerShell-6.0.3-win-x86.msi
- 216D8E278EC07B0077459A99A70D01DD1154595C25D5946102A13916D1D65751
- PowerShell-6.0.3-win-x64.msi
- FF3352B8F4C0E67B49F033C10311A90C075A17B03C00489557149BBBB0906391
v6.1.0-preview.3 Release of PowerShell Core
v6.1.0-preview.3 - 2018-06-13
Breaking Changes
- Clean up uses of
CommandTypes.Workflow
andWorkflowInfo
(#6708) - Disallow Basic Auth over HTTP in PowerShell Remoting on Unix (#6787)
- Change packaging to differentiate only between major versions and previews (#6968)
- Enhance and refactor
Add-Type
cmdlet (#6141) (Thanks @iSazonov!)- A few error strings were removed and thus the corresponding fully qualified error ids are no longer in use.
Engine Updates and Fixes
- Fix crash when terminal is reset (#6777)
- Fix a module-loading regression that caused an infinite loop (#6843)
- Further improve
PSMethod
toDelegate
conversion (#6851) - Blacklist
System.Windows.Forms
from loading to prevent a crash (#6822) - Fix
Format-Table
where rows were being trimmed unnecessarily if there's only one row of headers (#6772) - Fix
SetDate
function inlibpsl-native
to avoid corrupting memory duringP/Invoke
(#6881) - Fix tab completions for hash table (#6839) (Thanks @iSazonov!)
- Fix parser to continue parsing key-value pairs after an
If-Statement
value in aHashExpression
(#7002) - Add error handling for
#requires
in an interactive session (#6469)
General Cmdlet Updates and Fixes
- Improve parameter validation in
ExportCsvHelper
(#6816) (Thanks @sethvs!) - Quote
Multipart
form-data field names (#6782) (Thanks @markekraus!) - Fix Web Cmdlets for .NET Core 2.1 (#6806) (Thanks @markekraus!)
- Fix
Set-Location DriveName:
to restore current working directory in the drive (#6774) (Thanks @mcbobke!) - Add the alias
-lp
for-LiteralPath
parameters #6732 (#6770) (Thanks @kvprasoon!) - Remove
more
function and move the$env:PAGER
capability into thehelp
function (#6059) (Thanks @iSazonov!) - Add line break to the error message for
Set-ExecutionPolicy
(#6803) (Thanks @wesholton84!)
Code Cleanup
- Clean up
#if SILVERLIGHT
(#6907) (Thanks @iSazonov!) - Clean up the unused method
NonWindowsGetDomainName()
(#6948) (Thanks @iSazonov!) - Clean up FileSystem provider (#6909) (Thanks @iSazonov!)
Test
- Add tests for PowerShell hosting API to verify MyGet packages (#6737)
- Remove Web Cmdlets tests using proxy environment variables (#6808) (Thanks @iSazonov!)
- Enable Web Cmdlets tests for greater platform support (#6836) (Thanks @markekraus!)
- Convert
ShouldBeErrorId
toShould -Throw -ErrorId
in PowerShell tests (#6682) - Fix CIM cmdlets tests (#6755) (Thanks @sethvs!)
- Add tests for PowerShell classes inheriting from abstract .NET classes (#6752)
- Fix
Select-Object.Tests.ps1
which previously failed intermittently on Unix platforms. (#6747) - Update docker package tests to fix error on OpenSUSE 42 (#6783)
- Fix test and infrastructure that block code coverage runs (#6790)
- Update Tests
Isfile
to correct response for"/"
(#6754) (Thanks @Patochun!) - Improve code coverage in
Export-Csv.Tests.ps1
(#6795) (Thanks @sethvs!) - Change
-Quiet
parameter ofInvoke-Pester
to-Show None
inOpenCover.psm1
(#6798) (Thanks @sethvs!) - Replace
Dbg.Assert
withif () throw
inCSVCommands.cs
(#6910) (Thanks @sethvs!) - Fix xUnit test
GetTempFileName
(#6943) (Thanks @iSazonov!)
Build and Packaging Improvements
- Add Windows Compatibility Pack 2.0.0 to PowerShell Core and adopt the official .NET Core 2.1 (#6958)
- Add Jumplist 'Run as Administrator' to Taskbar on Windows (#6913, #6985) (Thanks @bergmeister!)
- Use AppVeyor matrix for faster Pull Request builds (#6945) (Thanks @bergmeister!)
- Fix
build.psm1
to not add tool path to $PATH twice (#6834) - Add script to create a container manifest (#6735)
- Fix docker manifest creation script to work with more complex tags and with repeated use (#6852)
- Add functions to merge Pester and xUnit logs (#6854)
- Enable generating full symbols for the Windows debug build (#6853)
- Add functions into
build.psm1
to save and restorePSOptions
between different sessions. (#6884) - Update signing XML based on new signing guidelines (#6893)
- Update the release docker files to allow specifying the version of to-be-installed PowerShell and the version of image to use (#6835)
- Updates docker files for Fedora 27 and Kali Linux (#6819)
- Change packaging to support Ubuntu 17.10 and 18.04 (#6769)
- Update
Get-ChangeLog
to make it more accurate (#6764) - Fix comparison to see if sudo test is needed in
install-*.sh
(#6771) (Thanks @bjh7242!) - Packaging: Add registry keys to support library folder background for explorer context menu (#6784) (Thanks @bergmeister!)
- Skip
dotnet-cli
initialization and stop caching thedotnet
folder for Travis CI (#7007) - Skip compiling the non-supported cmdlets on Unix in
System.Management.Automation.dll
to fix the crash in Unix debug build (#6939) - Use
PSReadLine
2.0.0-beta2 from PSGallery (#6998) - Update
PSRP
Linux NuGet package version to 1.4.2-* (#6711) - Add path cleanup utility
Reset-PWSHSystemPath.ps1
(#6892) (Thanks @DarwinJS!) - Add logic to create signing XML for NuGet packages (#6921)
- Add and config the
Settings.StyleCop
file (#6930, #6986) (Thanks @iSazonov!) - Fix the double curly bracket typo in a docker file (#6960) (Thanks @adelton!)
- Remove dependencies on
libcurl
andlibunwind
in packaging to match the .NET Core behavior (#6964) (Thanks @qmfrederik!) - Make the docker build fail when the curl operation fails. (#6961) (Thanks @adelton!)
Documentation and Help Content
- Update installation doc about Raspbian (#6859)
- Add code coverage report generation instructions (#6515)
- Migrate docs from PowerShell repository to Docs repository (#6899)
- Fix broken links due to migrating GitHub docs on Installation, Known Issues and Breaking Changes to
docs.microsoft.com
(#6981) (Thanks @bergmeister!) - Update documentation on how to write tests verifying errors conditions (#6687)
- Fix preview download links in
README.md
(#6762)
SHA256 Hashes of the release artifacts
- powershell-6.1.0-preview.3-linux-arm32.tar.gz
- 632CB6D985ADBA9A0AEFBF3D4E76A99577F7C1B1CD24A8917D9526E0B15E1062
- powershell-6.1.0-preview.3-linux-x64.tar.gz
- 3197D5A45AA72C32A81B9807548A5F08ACEFE4A1E1ED6AD923688802783396A7
- powershell-6.1.0-preview.3-osx-x64.pkg
- 95EFA9D091DE87746F877814AEE56D2AB8F25FDDF596ABA2653B1782DD2BA362
- powershell-6.1.0-preview.3-osx-x64.tar.gz
- 608109F2E8EFA12ADB3AA3F3BAEA91E622FB44CB5EB594F0FFCED8528F2D3180
- PowerShell-6.1.0-preview.3-win-arm32.zip
- 13F7AD13DEC1DBB5D2526B16EB1167C2BC8E55B04F5F878C0A65E8554102CA27
- PowerShell-6.1.0-preview.3-win-arm64.zip
- 18ADD1851ADB910013ACBF85C26E860B406812FA62BA26B285EC62DB8213B983
- PowerShell-6.1.0-preview.3-win-x64.msi
- A68C4AF35E36701CE02B0E0D79B0D8EF5E6D978A496A8B025CFA9F6BF08BC177
- PowerShell-6.1.0-preview.3-win-x64.zip
- 55C849547A03F19E8275BED5221FADB54F97759D6F540243A935D8477EE2C159
- PowerShell-6.1.0-preview.3-win-x86.msi
- 5A6D894329C5B2E8FF358FEC746AA1B56A7144DE98B2DEC5A9589C9EB2189427
- PowerShell-6.1.0-preview.3-win-x86.zip
- A95C6BA5698ED1530A27A26AB1E24B76F88CBE05FF06C8F493903A23A0B56919
- powershell-preview_6.1.0-preview.3-1.debian.8_amd64.deb
- 866CC959A0CDE5C7A20FEBA31CD8963E61D068C071C72B0731C091926C526757
- powershell-preview_6.1.0-preview.3-1.debian.9_amd64.deb
- 9D52C8D3474DB2116744D346A542EF89B21BF1AD7C07C00030043421F6CF0D99
- powershell-preview_6.1.0-preview.3-1.ubuntu.14.04_amd64.deb
- ED9A1A32F350009B5296C7B6106DD55E917A5EA826423968C1F42B16ADCAA882
- powershell-preview_6.1.0-preview.3-1.ubuntu.16.04_amd64.deb
- 681321927892DA94C5800BE912057388816DEF718E27412CB922D8205F0622AB
- powershell-preview_6.1.0-preview.3-1.ubuntu.17.10_amd64.deb
- 22B1B39221681EBEEAA30C033A402C78B658A27E4465B36C55A6E05EB2239782
- powershell-preview_6.1.0-preview.3-1.ubuntu.18.04_amd64.deb
- BFC2C34F5076A1A13375478F1E2D20118E86575D0084A42303D4F46208EF2F3A
- powershell-preview-6.1.0-preview.3-1.rhel.7.x86_64.rpm
- 4CFA056D4C5E6DCA4C8E7A28F3C5C1F25EB63D50E97C103727AB2486D15E53ED
v6.1.0-preview.2 Release of PowerShell Core
v6.1.0-preview.2 - 2018-04-27
Known Issue
pwsh
crashes on Win10 IoT arm32 - #6750
Breaking Changes
- Remove support for file to opt-out of telemetry, only support environment variable (#6601)
- Simplify the installation paths the MSI uses (#6442)
Engine Updates and Fixes
- Fix running
pwsh
produced fromdotnet build
(#6549) - Remove the
FullCLR-only
symbol-info related code fromEventManager.cs
(#6563) - Improve
PSMethod-to-Delegate
conversion (#6570) - Fix
PsUtils.GetManModule()
to avoid infinite loop when there was no main module (#6358) - Fix error in windows environment provider when the environment variable has duplicates that differ only by case (#6489) (Thanks @mklement0!)
- Make sure that the width of the header is at least the size of the label (or property name) (#6487)
- Enable
[Environment]::OSVersion
to return current OS rather than compatible version (#6457) - Change the
SaveError
method in Parser to usenameof
for error ids (#6498) - Fix error when
Format-Wide -AutoSize | Out-String
is called (#6491) (Thanks @stknohg!) - Make
LanguagePrimitive.GetEnumerable
treatDataTable
as Enumerable (#6511) - Fix formatting of tables where headers span multiple rows (#6504)
- Improve performance of parsing
RegexOption
for-split
by usingif
branches (#6605) (Thanks @iSazonov!) - Enable specifying
sshd
subsystem to use via-Subsystem
(#6603) - Add some optimizations in formatting subsystem (#6678) (Thanks @iSazonov!)
- Throw better parsing error when statements should be put in named block (#6434)
- Use
Unregister-Event
to remove an event subscriber when removingPSEdit
function (#6449) - Make the
PSISERemoteSessionOpenFile
a support event (#6582) - Add
-WorkingDirectory
parameter topwsh
(#6612) - Support importing module paths that end in trailing directory separator (#6602)
- Formatting: Use cache for dash padding strings for tables (#6625) (Thanks @iSazonov!)
- Port Windows PowerShell AppLocker and DeviceGuard
UMCI
application white listing support (#6133) - Reduce allocations in
TableWriter
(#6648) (Thanks @iSazonov!)
General Cmdlet Updates and Fixes
- Add
-Resume
Feature to WebCmdlets (#6447) (Thanks @markekraus!) - Support
user@host:port
syntax forSSH
transport (#6558) - Add ported
Test-Connection
cmdlet (#5328) (Thanks @iSazonov!) - Added line break to Access-Denied error message (#6607)
- Some fixes in
Get-Date -UFormat
(#6542) (Thanks @iSazonov!) - Added check for existence of Location HTTP header before using it (#6560) (Thanks @ffeldhaus!)
- Enable
Update-Help
to save help content in user scope by default (#6352) - Update
Enable-PSRemoting
to create PowerShell.6 endpoint and version specific endpoint (#6519, #6630) - Update error message that
Disconnect-PSSession
is only supported withWSMan
(#6689) - Make
Export-FormatData
print pretty XML output (#6691) (Thanks @iSazonov!) - Add
-AsArray
parameter toConvertoTo-Json
command (#6438) - Add
Test-Json
cmdlet (NJsonSchema
) (#5229) (Thanks @iSazonov!) - Correct a typo in comment for
Invoke-WebRequest
(#6700) (Thanks @gabrielsroka!) - Re-order
UFormat
options inGet-Date
(#6627) (Thanks @iSazonov!) - Add the parameter
-Not
toWhere-Object
(#6464) (Thanks @SimonWahlin!)
Code Cleanup
- Engine: Fix several code cleanup issues (#6552, #6609)
- Clean up workflow logic in the module loading component (#6523)
- Engine: Clean up unneeded
GetTypeInfo()
calls (#6613, #6636, #6633, #6635, #6634)
Test
- Fix line ending in
DefaultCommands.Tests.ps1
fromCRLF
toLF
(#6553) - Use new Pester parameter syntax in tests (#6490, #6574, #6535, #6536, #6488, #6366, #6351, #6349, #6256, #6250) (Thanks @KevinMarquette, @sethvs, @bergmeister!)
- Fix
Copy.Item.Tests.ps1
(#6596) (Thanks @sethvs!) - Fix typos or formatting in some test files (#6595, #6593, #6594, #6592, #6591) (Thanks @sethvs!)
- Add missing
Start-WebListener
to WebCmdlets tests (#6604) (Thanks @markekraus!) - Update Dockerfile test to use Ubuntu 17.10 as the base image (#6503)
- Add PowerShell logging tests for macOS and Linux (#6025)
- Add tests for
Format-Table -Wrap
(#6670) (Thanks @iSazonov!) - Reformat
Format-Table
tests (#6657) (Thanks @iSazonov!) - Add new reliable tests for
Get-Date -UFormat
(#6614) (Thanks @iSazonov!)
Build and Packaging Improvements
- Use C# latest language in
.csproj
files (#6559) (Thanks @iSazonov!) - Update
installpsh-<distrofamily>.sh
installers to handle "preview" in version number (#6573) (Thanks @DarwinJS!) - Enable
PowerShell.sln
to work in VisualStudio (#6546) - Remove duplicate
Restore-PSPackage
(#6544) - Use
-WorkingDirectory
parameter to handle context menu when path contains single quotes (#6660) (Thanks @bergmeister!) - Make
-CI
not depend on-PSModuleRestore
inStart-PSBuild
(#6450) - Restore for official Linux arm builds (#6455)
- Fix error about setting readonly variable in
install-powershell.sh
(#6617) - Make release macOS build work better (#6619, #6610)
- MSI: add function to generate a
MSP
package (#6445)
Documentation and Help Content
- Doc: Update Ubuntu source creation commands to use
curl -o
(#6510) (Thanks @M-D-M!) - Update stale bot message (#6462) (Thanks @iSazonov!)
- Remove extraneous SSH and install docs from the 'demos' folder (#6628)
SHA256 Hashes of the release artifacts
- powershell-6.1.0-preview.2-linux-arm32.tar.gz
- CD5EF3073B2C2E97A440AC9ACC115B778CE415B16D0D47037A46E166FC771542
- powershell-6.1.0-preview.2-linux-x64.tar.gz
- 7373392DE1F319D6289299B4CA59651D3123593C7705810BC3400193E1AADD17
- powershell-6.1.0-preview.2-1.rhel.7.x86_64.rpm
- 04BD512418ABBE5C346226963664AB7E6D5196AAEAF9BB52AFCA450DA8FDBB71
- powershell_6.1.0-preview.2-1.debian.8_amd64.deb
- F8E2B3D5A4D9A5A2517CE775F6F1BC4E62E831B9CCB97B2DF3105B73C173F9DF
- powershell_6.1.0-preview.2-1.debian.9_amd64.deb
- 77BC4480F33377C6054189CB75190D0A04C0702161F3A6D32BF6AC5250CB8B90
- powershell_6.1.0-preview.2-1.ubuntu.14.04_amd64.deb
- B4FD5F105169CBDE2D7CF7DAB5B60AB20DE166DB6AA163FDF4D1EAF3FCEA93BF
- powershell_6.1.0-preview.2-1.ubuntu.16.04_amd64.deb
- FF4216CF2BAC06AB1A7A0200488ED4323F16F89217A3131DFB0CDF3362130D1E
- powershell_6.1.0-preview.2-1.ubuntu.17.04_amd64.deb
- DA3D259982EC860E05380A2D5C6F31B9852A0FD10C21C7F62F05FA994C82F400
- PowerShell-6.1.0-preview.2-win-arm32.zip
- C9C22198E5DAAAB3303C89C921D8AEC91D7137313B7E851506EE571664C05E6E
- PowerShell-6.1.0-preview.2-win-arm64.zip
- FD3CC8C25129B3368C2505971158800D14E2B810720E44B4BABAEC3A2E1C91E8
- PowerShell-6.1.0-preview.2-win-x64.msi
- 67817D6E381934B0DE6894CD6E62217EA1E8A21067F52002D2886A1C279DFC8B
- PowerShell-6.1.0-preview.2-win-x64.zip
- 1D86504C3241EB65771B3D96547C054AD8852AD06506AE47C82483ED72C20941
- PowerShell-6.1.0-preview.2-win-x86.msi
- AC8663B96BD91143B7C0CE76D7C4165427A25AC8713303218FFCF654ED0BBFF2
- PowerShell-6.1.0-preview.2-win-x86.zip
- 2172237F4146C4B3BA0BFBDD1B3CDAC71FA8D3C2008FA3C35465186FBDD9802C
- powershell-6.1.0-preview.2-osx-x64.tar.gz
- 208BE7A74077B6C6A512C3992F3F0500CA09AAE2CE325BDAEDAFBE954D2B2508
- powershell-6.1.0-preview.2-osx.10.12-x64.pkg
- CB1E6662043744DF5B1C48C7CFFB27137CC3765072946BBAE144CAD22E408B9D
v6.1.0-preview.1 Release of PowerShell Core
v6.1.0-preview.1 - 2018-03-23
Known Issue
$PSVersionTable.PSVersion
throw error - #6482
Breaking Changes
- Throw terminating error in
New-TemporaryFile
and make it not rely on the presence of theTEMP
environment variable (#6182) (Thanks @bergmeister!) - Remove the unnecessary
AddTypeCommandBase
class fromAdd-Type
(#5407) (Thanks @iSazonov!) - Remove unsupported members from the enum
Language
inAdd-Type
(#5829) (Thanks @iSazonov!) - Fix range operator to work better with character ranges (#5732) (Thanks @iSazonov!)
Engine Updates and Fixes
- Fix
ValidateSet
with generator in a module (#5702) - Update
SAL
annotation and fix warnings (#5617) - Add
ForEach
andWhere
methods toPSCustomobject
(#5756) (Thanks @iSazonov!) - Add
Count
andLength
properties toPSCustomobject
(#5745) (Thanks @iSazonov!) - Make minor fixes in compiler to properly handle void type expression (#5764)
- Logging: Fix the escaped characters when generating
.resx
file from PowerShellETW
manifest. (#5892) - Remove
PSv2
only code fromTypes_Ps1Xml.cs
andHostUtilities.cs
(#5907) (Thanks @iSazonov!) - Enable passing arrays to
pwsh -EncodedArguments
on debug builds. (#5836) - Logging: Handle path that contains spaces in
RegisterManifest.ps1
(#5859) (Thanks @tandasat!) - Add
-settingsfile
topwsh
to support loading a custom powershell config file. (#5920) - Return better error for
pwsh -WindowStyle
on unsupported platforms. (#5975) (Thanks @thezim!) - Enable conversions from
PSMethod
toDelegate
(#5287) (Thanks @powercode!) - Minor code clean-up changes in tab completion code (#5737) (Thanks @kwkam!)
- Add lambda support to
-replace
operator (#6029) (Thanks @IISResetMe!) - Fix retrieval of environment variables on Windows in cases where variable names differ only by case. (#6320)
- Fix the
NullRefException
when using-PipelineVariable
withDynamicParam
block (#6433) - Add
NullReference
checks to two code paths related toPseudoParameterBinder
(#5738) (Thanks @kwkam!) - Fix
PropertyOnlyAdapter
to allow calling base methods (#6394) - Improve table view for
Certs
andSignatures
by addingEnhancedKeyUsageList
andStatusMessage
(#6123) - Fix the filtering of analytic events on Unix platforms. (#6086)
- Update copyright and license headers (#6134)
- Set pipeline thread stack size to 10MB (#6224) (Thanks @iSazonov!)
General Cmdlet Updates and Fixes
- Fix the
NullRefException
inEnter-PSHostProcess
(#5995) - Merge and Sort
BasicHtmlWebResponseObject
andContentHelper
in Web Cmdlets (#5720) (Thanks @markekraus!) - Encoding for
New-ModuleManifest
on all platforms should beUTF-8 NoBOM
(#5923) - Make
Set-Location
use path with wildcard characters as literal if it exists (#5839) - Combine Web Cmdlets partial class files (#5612) (Thanks @markekraus!)
- Change
Microsoft.PowerShell.Commands.SetDateCommand.SystemTime
tostruct
. (#6006) (Thanks @stknohg!) - Add Simplified
multipart/form-data
support to Web Cmdlets through-Form
parameter (#5972) (Thanks @markekraus!) - Make a relative redirect URI absolute when
Authorization
header present (#6325) (Thanks @markekraus!) - Make relation-link handling in Web Cmdlets case-insensitive (#6338)
- Make
Get-ChildItem -LiteralPath
acceptInclude
orExclude
filter (#5462) - Stop
ConvertTo-Json
whenCtrl+c
is hit (#6392) - Make
Resolve-Path -Relative
return useful path when$PWD
and-Path
is on different drive (#5740) (Thanks @kwkam!) - Correct the
%c
,%l
,%k
,%s
and%j
formats inGet-Date -UFormat
(#4805) (Thanks @iSazonov!) - Add standard deviation implementation on
Measure-Object
(#6238) (Thanks @CloudyDino!) - Make
Get-ChildItem <PATH>/* -file
include<Path>
as search directory (#5431) - Enable setting
PSSession
Name when usingSSHTransport
and addTransport
property (#5954) - Add
Path
alias to-FilePath
parameters and others for several commands (#5817) (Thanks @KevinMarquette!) - Add the parameter
-Password
toGet-PfxCertificate
(#6113) (Thanks @maybe-hello-world!) - Don't add trailing spaces to last column when using
Format-Table
(#5568) - Fix table alignment and padding. (#6230)
- Add
-SkipHeaderValidation
Support toContentType
on Web Cmdlets (#6018) (Thanks @markekraus!) - Add common aliases for all
write-*
commands default message parameter (#5816) (Thanks @KevinMarquette!) - Make
UTF-8
the default encoding forapplication/json
(#6109) (Thanks @markekraus!) - Enable
$env:PAGER
to work correctly if arguments are used (#6144)
Test
- Convert Web Cmdlets test to
one-true-brace-style
formatting (#5716) (Thanks @markekraus!) - Add a test for
IValidateSetValuesGenerator
in a module (#5830) (Thanks @iSazonov!) - Fix function to test for docker OS due to change to use
linuxkit
for macOS (#5843) - Replace
HttpListener
tests withWebListener
(#5806, #5840, #5872) (Thanks @markekraus!) - Stop
HttpListener
from running in Web Cmdlets tests (#5921) (Thanks @markekraus!) - Fix
PSVersion
inPSSessionConfiguration
tests (#5554) (Thanks @iSazonov!) - Update test framework to support Pester v4 (#6064)
- Update tests to use Pester v4 Syntax. (#6294, #6257, #6306, #6304, #6298)
- Add negative tests for
Copy-Item
over remote sessions (#6231) - Markdown test: Use strict in JavaScript (#6328)
- Add tests for
Get-Process
about the-Module
and-FileVersion
parameters (#6272) - Add test for the
OsLocalDateTime
property ofGet-ComputerInfo
. (#6253) - Change
Get-FileHash
tests to use raw bytes (#6430) - Remove
runas.exe
from tests as we have tags to control this behavior (#6432) - Refactor the
Get-Content
tests to use-TestCases
. (#6082) - Use
RequireAdminOnWindows
tag inSet-Date
tests (#6034) (Thanks @stknohg!) - Remove
-TimeOutSec
from non timeout related tests (#6055) (Thanks @markekraus!) - Add verbosity and more accurate timeout implementation for
Start-WebListener
(#6013) (Thanks @markekraus!) - Skip tests that use
ExecutionPolicy
cmdlets on Unix (#6021) - Change Web Cmdlet tests to use
127.0.0.1
instead ofLocalhost
(#6069) (Thanks @markekraus!) - Fix
Start-PSPester
to include or excludeRequireSudoOnUnix
tag smartly on Unix (#6241) - Fix the terse output on Windows for test runs without admin privilege (#6252)
- Add
RequireSudoOnUnix
tag forGet-Help
tests. (#6223) - Add tests for
*-Item
Cmdlets in function provider (#6172) - Support running tests in root privilege on Linux. (#6145)
Build and Packaging Improvements
- Add option to add explorer shell context menu in Windows installer (#5774) (Thanks @bergmeister!)
- Make the explorer shell context menu registry entries platform specific to allow side by side of
x86
andx64
. (#5824) (Thanks @bergmeister!) - Fix start menu folder clash of shortcut when
x86
andx64
are both installed by appending(x86)
forx86
installation. (#5826) (Thanks @bergmeister!) - Reduce image file sizes using lossless compression with
imgbot
(#5808) (Thanks @bergmeister!) - Windows installer: Allow
Launch PowerShell
checkbox to be toggled using the space bar. (#5792) (Thanks @bergmeister!) - Fix release packaging build (#6459)
- Fail
AppVeyor
Build ifMSI
does not build (#5755) (Thanks @bergmeister!) - Cleanup temporarily created
WiX
files after compilation to be able to have a clean re-build (#5757) (Thanks @bergmeister!) - Fix
install-powershell.ps1
for running during window setup (#5727) - Start using
Travis-CI
cache (#6003) - Fix build, packaging and installation scripts for
SLES
(#5918) (Thanks @tomconte!) - Update recommended
WiX
toolset link to be generic toWiX 3.x
but mention that latest version of 3.11 has to be taken (#5926) (Thanks @bergmeister!) - Add service point manager call in
Install-PowerShell.ps1
to forceTLS1.2
. (#6310) (Thanks @DarqueWarrior!) - Add
-Restore
when buildwin-arm
andwin-arm64
(#6353) - Make sure package verification failure fails the
AppVeyor
build (#6337) - Specify the runtime when running
dotnet restore
inStart-PSBuild
(#6345) - Rename
log
andlogerror
toWrite-Log [$message] [-error]
(#6333) - Make Linux packages use correct version scheme for preview releases (#6318)
- Add support for Debian in
installpsh-debian.sh
(#6314) (Thanks @pawamoy!) - MSI: Make preview builds to install Side by side with release builds (#6301)
- Add
TLS1.2
workaround for code coverage script (#6299) - Cleanup after Powershell install for
CentOS
andFedora
Docker images (#6264) (Thanks @strawgate!) - MSI: Update the environment variable PATH with proper value (#6441)
- MSI: Remove the version from the product name (#6415)
- Support non-GitHub commits in the change log generation script (#6389)
- Fix secret and JavaScript compliance issues (#6408)
- Remove
AppVeyor
specific cmdlet fromStart-NativeExecution
(#6263) - Restore modules from the
NuGet
package cache by usingdotnet restore
(#6111) - CI Build: Use
TRAVIS_PULL_REQUEST_SHA
to accurately get the commit message (#6024) - Use
TLS1.2
on Windows duringStart-PSBootstrap
(#6235) (Thanks @CallmeJoeBob!) - Use
TLS1.2
inStart-PSBootStrap
without breakingHTTPS
(#6236) (Thanks @markekraus!) - Add options to enable
PSRemoting
and register Windows Event Logging Manifest to MSI installer (#5999) (Thanks @bergmeister!)
Documentation and Help Content
- Separate macOS from Linux install instructions. (#5823) (Thanks @thezim!)
- Show usage (short) help if command line parameter is wrong (#5780) (Thanks @iSazonov!)
- Add the breaking changes doc for 6.0.0 release. (#5620) (Thanks @maertendMSFT!)
- Remove DockerFile for Fedora 25 and add DockerFile for Fedora 27 (#5984) (Thanks @seemethere!)
- Add a missing step to prepare the b...
v6.0.2 release of PowerShell Core
v6.0.2 - 2018-03-15
Engine updates and fixes
- Update PowerShell to use
2.0.6
dotnet core runtime and packages (d607f20)- This change addresses the following vulnerabilities:
Build and Packaging Improvements
- Add Ubuntu build without AppImage (#6380)
- Add scripts to set and or update the release tag in VSTS (#6107)
- Fix DSC Configuration compilation (#6225)
- Fix errors in
Start-PSBootStrap
during release builds (#6159) - Fix spelling failures in CI (#6191)
- Use PowerShell
windowsservercore
Docker image for release builds (#6226) - Use
ADD
instead ofInvoke-WebRequest
innanoserver
Docker file (#6255) - When doing daily/test build in a non-release branch use the branch name as the preview name (#6355)
- Add Environment Variable override of telemetry (#6063) (Thanks, @diddledan!)
- Build: Remove two unneeded lines from 'Invoke-AppveyorFinish' (#6344)
- MSI: Refactor
New-MsiPackage
intopackaging.psm1
and various fixes to enable patching
(#5871, #6221, #6254, #6303, #6356, #6208, #6334, #6379, #6094, #6192) - MSI: Use HKLM instead of HKCU registry keys since the current installation scope is perMachine. (#5915) (Thanks @bergmeister!)
SHA256 Hashes of the release artifacts
- powershell_6.0.2-1.debian.8_amd64.deb
- E19D71FDDABBAA34F7113B5F93D9E7A9560C629C151A0D3A2DDC1AB3DA608C04
- powershell_6.0.2-1.debian.9_amd64.deb
- 46C88AF987CC1A9709BDF59A170597D8F66A7C03725475EB65E4F511B75A16AC
- powershell_6.0.2-1.ubuntu.14.04_amd64.deb
- 6B25681E93B361811EB88042120D11B4A2F39B3846DF7123DBCE573B4AF9C5C3
- powershell_6.0.2-1.ubuntu.16.04_amd64.deb
- 9E16D366277BC51BF2AA3E610989CC69F9F41F0274DCE03D7BA4571B3FA895CF
- powershell_6.0.2-1.ubuntu.17.04_amd64.deb
- 032431DF1D5D7AFF1287F94C3D85C06FFB55949B3A0637F6DFBD47B8EC3F9CAC
- powershell-6.0.2-1.rhel.7.x86_64.rpm
- 9E1455B27886B377C5AC96B76ED47E5047EA5BA9A9073BF445EC7696EC5EABD5
- powershell-6.0.2-linux-arm32.tar.gz
- EFE610860DFB34A8F09C30204BC9A44BDA13E205F9BF7BF300FE0CBECC2E1790
- powershell-6.0.2-linux-x64.tar.gz
- 092F628A7F1672C8FB46EC0D7EC90590B8CD372188DE3243E2E18660C9EC6F29
- powershell-6.0.2-osx-x64.tar.gz
- F2311BDA90CA02251D9AD930BE2167B6B906B3EA6B62EF323CA79FA4B5AA3B31
- powershell-6.0.2-osx.10.12-x64.pkg
- C757808305076570CC0945FEAB8433A3488500A3558DEA4DD4BB8E5A770DEA99
- PowerShell-6.0.2-win-arm32.zip
- 3E04542FEE481B3A9AF9119B471A80BDCC80C9670E152BC3FA5C3198E9046669
- PowerShell-6.0.2-win-arm64.zip
- D9D5B311D710D34F825A4935F740AE57618F6F5E14976AFB5A8DA802011B2AC8
- PowerShell-6.0.2-win-x64.msi
- 48EB15306876ED800A8E510873ED7A60C74858454C66A31E565D28C1EF7EAF2F
- PowerShell-6.0.2-win-x64.zip
- 8CB153E540ED9D9A7FE00CB3D1FE94A0ED089B574FD02E816AB2BB066F4C4F89
- PowerShell-6.0.2-win-x86.msi
- A707FB93EEBF1C43BC09EECE29B26AF9E71A25AA9E7E81E9B78A735BFFD2F300
- PowerShell-6.0.2-win-x86.zip
- 87048B0A2DBD56AA8FE1F92DDB7D7BBF8E904F8D54EE2A62443C7B31AE9E55F8
v6.0.1 release of PowerShell Core
v6.0.1 - 2018-01-25
Engine updates and fixes
- Update PowerShell to use
2.0.5
dotnet core runtime and packages. (#5903, #5961) (Thanks @iSazonov!)- This change addresses the following vulnerabilities:
Build and Packaging Improvements
- Re-release of
v6.0.0
asv6.0.1
due to issues upgrading from pre-release versions
Test
- Update regular expression to validate
GitCommitId
in$PSVersionTable
to not require a pre-release tag (#5893)
SHA256 Hashes of the release artifacts
- powershell_6.0.1-1.debian.8_amd64.deb
- 7BEC6CAB52B6799F7B9691BFF1312FD13506DBADACBDB2E4913FCCF8F484FEC3
- powershell_6.0.1-1.debian.9_amd64.deb
- 54169A8E9706022BD0F4B511C8461D3EE8C3AE1311E9D8D80E3BC5E7EEB219A0
- powershell_6.0.1-1.ubuntu.14.04_amd64.deb
- 084E584A2C3A998F34174C3B5FBF2ACAAE48311F2CCAD796066196E357FAEBD5
- powershell_6.0.1-1.ubuntu.16.04_amd64.deb
- 9AC42BC099249003B614997A211B67447C6A469BF3C373E9BDCD2286F0D0E7F5
- powershell_6.0.1-1.ubuntu.17.04_amd64.deb
- 5166FA07C99E6D37E799DA248D3CAC874923503DFCD854FDCA9A5A00E5050520
- powershell-6.0.1-1.rhel.7.x86_64.rpm
- 8746A7A00B100242D15F2649AE78317F3B6FCDECC8915D400ADF9E5CF23C2862
- powershell-6.0.1-linux-arm32.tar.gz
- 2618771F388729B79457CACA093346C25629C509CD9456E7B8C9B2F722B9A263
- powershell-6.0.1-linux-x64.tar.gz
- B906BC7F44D597271C115D0F77F49D453AAA2292D15B1974838653D4FB9E9CF9
- powershell-6.0.1-osx-x64.tar.gz
- 1A2455AEC8830805502ACC5EC3CCDD5193F7B5724C3F5C7560870EC8698FC951
- powershell-6.0.1-osx.10.12-x64.pkg
- CABED843A513666A658702A5E96DEEB6D02D895410DDCB81DA3481BDE8CA2093
- PowerShell-6.0.1-win-arm32.zip
- 88896BF23A79F1AC9D9794DFF6B92C270E74057F7D61639D91490D7F87C51F3A
- PowerShell-6.0.1-win-arm64.zip
- E0FB199800255E2D7A50BA0BF26F64D08B329083495C2A9D9C4EB688F2CD5B1B
- PowerShell-6.0.1-win-x64.msi
- 436A480459A5F38D4F07EBE195113D1B1698CDF5377015645ED710324A1900F7
- PowerShell-6.0.1-win-x64.zip
- EE2AA13D34ADFDB54FADE86995D3F54DBB1D40995C32E8DDCAC38327CA358083
- PowerShell-6.0.1-win-x86.msi
- 7C0886EA85F097DD3D435A0C725FB33DA6E807A3E1F5E7E3667C7405B6C68405
- PowerShell-6.0.1-win-x86.zip
- 4BAA8F90D49F9EB7F6FAFBC00336FD1D69233EB86C6E53A3F67DE964B1F18325
- powershell-6.0.1-x86_64.AppImage
- E4EA4A2C52ABB7722BBAD61ACD753FE3CEEE9E029B2E057E34E2813CFCF71B1D