Releases: PowerShell/PowerShell
Releases · PowerShell/PowerShell
v7.0.0-preview.2 Release of PowerShell
v7.0.0-preview.2 - 07/17/2019
Breaking Changes
- Cleanup workflow - remove
PSProxyJob
(#10083) (Thanks @iSazonov!) - Disable
Enter-PSHostProcess
cmdlet when system in lock down mode (Internal 9168) - Consider
DBNull.Value
andNullString.Value
the same as$null
when comparing with$null
and casting to bool (#9794) (Thanks @vexx32!)
Engine Updates and Fixes
- Allow methods to be named after keywords (#9812) (Thanks @vexx32!)
- Create
JumpList
inSTA
thread as someCOM
APIs
are strictlySTA
only to avoid sporadicCLR
crashes (#9928) (#10057) (Thanks @bergmeister!) - Skip
JumpList
onNanoServer
andIoT
(#10164) - Display
COM
method signature with argument names (#9858) (Thanks @nbkalex!) - Use the original precision (prior-dotnet-core-3) for double/float-to-string conversion (#9893)
Import-DscResource
should allow to overwrite DSC built-in resources. (#9879)- Add ability to pass
InitialSessionState
to theConsoleShell.Start
(#9802) (Thanks @asrosent!) - Have console host not enter command prompt mode when using
Read-Host -Prompt
(#9743) - Fix use of
Start-Process http://bing.com
(#9793) - Support negative numbers in
-split
operator (#8960) (Thanks @ece-jacob-scott!)
General Cmdlet Updates and Fixes
- Support DSC compilation on Linux. (#9834)
- Add alias for Service
StartType
(#9940) (Thanks @NeoBeum!) - Add
-SecurityDescriptorSddl
parameter toSet-Service
(#8626) (Thanks @kvprasoon!) - Fix auto-download of files when enumerating files from a
OneDrive
folder (#9895) - Set request headers when request body is empty in Web Cmdlets (#10034) (Thanks @markekraus!)
- Fix wrong comparison in
CertificateProvider
(#9987) (Thanks @iSazonov!) - Sync docs changes into the embedded help for
pwsh
(#9952) - Display Duration when displaying
HistoryInfo
(#9751) (Thanks @rkeithhill!) - Update console startup and help
url
for PowerShell docs (#9775) - Make
UseAbbreviationExpansion
andTempDrive
official features (#9872) - Fix
Get-ChildItem -Path
with wildcardchar
(#9257) (Thanks @kwkam!)
Performance
- Add another fast path to
WildcardPattern.IsMatch
for patterns that only have an asterisk in the end (#10054) (Thanks @iSazonov!) - Move some of the creations of
WildcardPattern
in outer loop to avoid unnecessary allocation (#10053) (Thanks @iSazonov!) - Make
Foreach-Object
2 times faster by reducing unnecessary allocations and boxing (#10047) - Use a static cache for
PSVersionInfo.PSVersion
to avoid castingSemanticVersion
toVersion
every time accessing that property (#10028) - Reduce allocations in
NavigationCmdletProvider.NormalizePath()
(#10038) (Thanks @iSazonov!) - Add fast path for wildcard patterns that contains no wildcard characters (#10020)
- Avoid
Assembly.GetName()
inClrFacade.GetAssemblies(string)
to reduce allocations ofCultureInfo
objects (#10024) (Thanks @iSazonov!) - Avoid the
int[]
andint[,]
allocation when tokenizing line comments and matching wildcard pattern (#10009)
Tools
- Update change log generation tool to deal with private commits (#10096)
- Update
Start-PSBuild -Clean
logic ofgit clean
to ignore locked files fromVS2019
(#10071) (Thanks @bergmeister!) - Indent fix in
markdown-link.tests.ps1
(#10049) (Thanks @RDIL!) Start-PSBuild -Clean
does not remove all untracked files (#10022) (Thanks @vexx32!)- Add module to support Pester tests for automating debugger commands (
stepInto
,stepOut
, etc.), along with basic tests (#9825) (Thanks @KirkMunro!) - Remove
markdownlint
tests due to security issues (#10163)
Code Cleanup
- Cleanup
CompiledScriptBlock.cs
(#9735) (Thanks @vexx32!) - Cleanup workflow code (#9638) (Thanks @iSazonov!)
- Use
AddOrUpdate()
instead ofRemove
thenAdd
to register runspace (#10007) (Thanks @iSazonov!) - Suppress
PossibleIncorrectUsageOfAssignmentOperator
rule violation by adding extra parenthesis (#9460) (Thanks @xtqqczze!) - Use
AddRange
inGetModules()
(#9975) (Thanks @iSazonov!) - Code cleanup: use
IndexOf(char)
overload (#9722) (Thanks @iSazonov!) - Move
consts
and methods to singleCharExtensions
class (#9992) (Thanks @iSazonov!) - Cleanup: Use
EndsWith(char)
andStartsWith(char)
(#9994) (Thanks @iSazonov!) - Remove
LCIDToLocaleName
P/Invoke
fromGetComputerInfoCommand
(#9716) (Thanks @iSazonov!) - Cleanup Parser tests (#9792) (Thanks @vexx32!)
- Remove
EtwActivity
empty constructor and make minor style fixes (#9958) (Thanks @RDIL!) - Fix style issues from last commits (#9937) (Thanks @iSazonov!)
- Remove dead code about
IsTransparentProxy
(#9966) - Fix minor typos in code comments (#9917) (Thanks @RDIL!)
- Style fixes for
CimAsyncOperations
(#9945) (Thanks @RDIL!) - Fix minor
CodeFactor
style issues inModuleCmdletBase
(#9915) (Thanks @RDIL!) - Clean up the use of
SetProfileRoot
andStartProfile
in ConsoleHost (#9931) - Fix minor style issues come from last commits (#9640) (Thanks @iSazonov!)
- Improve whitespace for Parser tests (#9806) (Thanks @vexx32!)
- Use new
string.ConCat()
inProcess.cs
(#9720) (Thanks @iSazonov!) - Code Cleanup: Tidy up
scriptblock.cs
(#9732) (Thanks @vexx32!)
Tests
- Mark
Set-Service
tests with password asPending
(#10146) - Fix test password generation rule to meet Windows complexity requirements (#10143)
- Add test for
New-Item -Force
(#9971) (Thanks @robdy!) - Fix gulp versions (#9916) (Thanks @RDIL!)
- Indentation fixes in
ci.psm1
(#9947) (Thanks @RDIL!) - Remove some
Travis-CI
references (#9919) (Thanks @RDIL!) - Improve release testing Docker images (#9942) (Thanks @RDIL!)
- Use
yarn
to install global tools (#9904) (Thanks @RDIL!) - Attempt to work around the zip download issue in Azure DevOps Windows CI (#9911)
- Update PowerShell SDK version for hosting tests (Internal 9185)
Build and Packaging Improvements
- Update the target framework for reference assemblies to
netcoreapp3.0
(#9747) - Pin version of
netDumbster
to2.0.0.4
(#9748) - Fix daily
CodeCoverageAndTest
build by explicitly callingStart-PSBootStrap
(#9724) - Split the
fxdependent
package on Windows into two packages (#10134) - Bump
System.Data.SqlClient
(#10109) - Bump
System.Security.AccessControl
(#10100) - Add performance tag to change log command (Internal)
- Upgrade .Net Core 3 SDK from
preview5
topreview6
and related out of bandNuget
packages from2.1
to3.0-preview6
(#9888) (Thanks @bergmeister!) - Add to
/etc/shells
on macOS (#10066) - Bump
Markdig.Signed
from0.17.0
to0.17.1
(#10062) - Update copyright symbol for
NuGet
packages (#9936) - Download latest version
(6.2.0)
ofPSDesiredStateConfiguration
nuget
package. (#9932) - Add automated
RPM
signing to release build (#10013) - Bump
ThreadJob
from1.1.2
to2.0.1
in/src/Modules
(#10003) - Bump
PowerShellGet
from2.1.4
to2.2
in /src/Modules (#9933) (#10085) - Bump
PackageManagement
from1.4
to1.4.3
in/src/Modules
(#9820) (#9918) (#10084) - Update to use
TSAv2
(#9914) - Bump
NJsonSchema
from9.14.1
to10.0.21
(#9805) (#9843) (#9854) (#9862) (#9875) (#9885) (#9954) (#10017) - Bump
System.Net.Http.WinHttpHandler
from4.5.3
to4.5.4
(#9786) - Bump
Microsoft.ApplicationInsights
from2.9.1
to2.10.0
(#9757) - Increase timeout of NuGet job to workaround build timeout (#9772)
Documentation and Help Content
- Change log
6.1.4
(#9759) - Change log for release
6.2.1
(#9760) - Add quick steps for adding docs to cmdlets (#9978)
- Update readme
gitter
badge (#9920) (Thanks @RDIL!) - Update
README
andmetadata.json
for7.0.0-preview.1
release (#9767)
SHA256 Hashes of the release artifacts
- powershell-7.0.0-preview.2-linux-alpine-x64.tar.gz
- 52AAD50F74A51BB36F601C9A0B8D3C2E8B4C76D6B364CB42777C404363D30FBB
- powershell-7.0.0-preview.2-linux-arm32.tar.gz
- DD3BF6F9D4092FD9C70120B26E83407CB18FCF6BB945F9D7E80A1CD29BD3131A
- powershell-7.0.0-preview.2-linux-arm64.tar.gz
- 12B5CE3BA0FEF1C9820785623FD20798E4B6FCC8ABE5322DA4DD15E6B3C09A49
- powershell-7.0.0-preview.2-linux-x64.tar.gz
- F12124BBD8C89754517F6C53D641059D5B24FA8964EEBE8D5063F6ED01D77700
- powershell-7.0.0-preview.2-linux-x64-fxdependent.tar.gz
- 4F9B682698FAE8B4C3DC64BD19B433299D34DB6268B3E999345AAC0881C1FA4F
- powershell-7.0.0-preview.2-osx-x64.pkg
- B9CA20B7121EC8443A8E3AA1E61D431E1F49D803CCFC1AA17168C98BD8AA0F12
- powershell-7.0.0-preview.2-osx-x64.tar.gz
- 7412B7E9BAC04D6495A829A390E6E5B73B5EB77E5E40680AB0E4F39F448E6AC6
- PowerShell-7.0.0-preview.2-win-arm32.zip
- B374AD20AFE352AF65970599832B0C8535DCB7B3F33F4356C440896110FFA8E3
- PowerShell-7.0.0-preview.2-win-arm64.zip
- 0D521BBD88BAA7EF7EE31D5E8FC8078D1AE138B86F7F02FC02446859DE4160F8
- PowerShell-7.0.0-preview.2-win-fxdependent.zip
- 8BEF26FF757F4531C3FCBA7465CDF998B27635846B768998B038123AD646AC3C
- PowerShell-7.0.0-preview.2-win-fxdependentWinDesktop.zip
- 04C8D286D22644BF8F47BF325A788A4DC5B1805974DADE964D97FC30F0749F16
- PowerShell-7.0.0-preview.2-win-x64.msi
- 123135D14758E84D60BB759D0C16684963194EB3847B8C3964DBE3A9648D2255
- PowerShell-7.0.0-preview.2-win-x64.zip
- CE068509141A24E086C9CC72936899104341C5BB766FE10FD84FEC2390166D66
- PowerShell-7.0.0-preview.2-win-x86.msi
- B2C6ECE5EE5A79C99240150E38DBE9098566B4E8DF145981711AEEB690281A0F
- PowerShell-7.0.0-preview.2-win-x86.zip
- 794350403185BCE9CB31F6432F13E0BD3C74AC44A0095C0A35F2346B7E2370EF
- powershell-preview_7.0.0-preview.2-1.debian.9_amd64.deb
- 478F715BA860C2ADD10E3F4B842E1E27AF9F6D6BE65F160C08DD859C09484646
- powershell-preview_7.0.0-preview.2-1.ubuntu.16.04_amd64.deb
- 469464EA3292645DA65B078599A2EE2774B20EAC78036EDC0485B68792B8C5D4
- powershell-preview_7.0.0-preview.2-1.ubuntu.18.04_amd64.deb
- AF5C54559942CE2FBBC200AAAD221F00B3F9EA772...
v6.2.2 Release of PowerShell Core
v6.2.2 - 07/16/2019
Breaking Changes
- Disable
Enter-PSHostProcess
cmdlet when system in lock down mode (Internal 8969)
Engine Updates and Fixes
- Create
JumpList
in STA thread as some COM APIs are strictly STA only to avoid sporadic CLR crashes (#10057, #9928) (Thanks @bergmeister!)
Build and Packaging Improvements
- Update DotNet SDK and runtime framework version (Internal 9082, 9088, 9092)
- Make
Hashtable
case insensitivity test use current culture rather than shell to set culture (Internal 8529) - Add automated RPM signing to release build (#10013)
- Update copyright symbol for NuGet packages (#9936)
- Bump
Microsoft.ApplicationInsights
from2.9.1
to2.10.0
(#9757) - Switch from BMP to PNG for graphical MSI installer assets (#9606)
- Bump
System.Net.Http.WinHttpHandler
from4.5.3
to4.5.4
(#9789) - Enable building of MSIX package (#9289, #9715)
SHA256 Hashes of the release artifacts
- powershell_6.2.2-1.debian.9_amd64.deb
- 8A8CC383A363EFC014D304A11072DAA1B07A0B771EEA8E2C28286EDD8C3DA4CF
- powershell_6.2.2-1.ubuntu.16.04_amd64.deb
- DC8C42203817BB2B82968DA31C282EB480E498C2E4DEF1A5AD7B294DF2DF5AFB
- powershell_6.2.2-1.ubuntu.18.04_amd64.deb
- 2C9F82AD3F30B861BE60F178158B60210861C0BC80637022DF73090228122499
- powershell-6.2.2-1.rhel.7.x86_64.rpm
- E8BFF71ADAEDA36ECB95D2C7778990A9B4E76B669BED9B006B3216EC43375F86
- powershell-6.2.2-linux-alpine-x64.tar.gz
- 31C2E202A0AEEBAF7530111EFF34C3400AAB5502132015A4DEB8FF8698FE05EC
- powershell-6.2.2-linux-arm32.tar.gz
- AEF43DFBD7B68E5FC1548F9188CD3F7C2EA273B6D97BC88555686A5C1CDB8C41
- powershell-6.2.2-linux-arm64.tar.gz
- 85FCFF9AFF369F976140B7D3DC377CBE9A566EF2C29DD8E36C614DA6C6828570
- powershell-6.2.2-linux-x64.tar.gz
- 7C98B4471B13FE358A4DF51E7E9315746CFCAD9C557823D63772873796C192E5
- powershell-6.2.2-linux-x64-fxdependent.tar.gz
- 36A4E78AD3588E23D8679835566EC77481A1461D316D2F1962A63C9FEB0A7821
- powershell-6.2.2-osx-x64.pkg
- 1D4E6B21BB5FCE90F3D3B90640A978A90F2860672483FE2BC7C249F2E9AE58CD
- powershell-6.2.2-osx-x64.tar.gz
- 6C1F435F863088C7938033E0F97FB2878239E35135DBE17E6DE92BB234B187F5
- PowerShell-6.2.2-win-arm32.zip
- CDB7B45B9ED27D3E82DFF26C456B3FE5837F99C10BC695FBD19CA469D32CD713
- PowerShell-6.2.2-win-arm64.zip
- 8FE46CB51D04B3B5F5E512918643E27C570A780EDEF97E17C12196B49857EBF2
- PowerShell-6.2.2-win-fxdependent.zip
- C3DD2307E40F36C98EDFD04034BEAB209D109A297A24A375D36633AB841672CD
- PowerShell-6.2.2-win-x64.msi
- FBFAF00A72018D9C49A6C5A05C6D05F9EA4BC6A4F6952D9F3B4FCCA96274E963
- PowerShell-6.2.2-win-x64.zip
- 777E747DDA5B684E8B05D720330FB5EFDF3D4939F718D17446F33A0471BF6092
- PowerShell-6.2.2-win-x86.msi
- 016D39CA5A735AEDE369F803DDC91E65D113B65226F134E2B0AFFD589B126B48
- PowerShell-6.2.2-win-x86.zip
- CF492E43FD5A75EE5C542F6B45B6611382F80B362ACA46FD8BE6F95154791EA0
v6.1.5 Release of PowerShell Core
6.1.5 - 2019-07-16
Breaking changes
- Disable
Enter-PSHostProcess
cmdlet when system in lock down mode (Internal 8968)
Build and Packaging Improvements
- Update DotNet SDK and runtime framework version (Internal 9087)
- Add automated RPM signing to release build (#10013)
- Update copyright symbol for NuGet packages (#9936)
- Bump
System.Net.Http.WinHttpHandler
from4.5.3
to4.5.4
(#9790) - Integrate building NuGet package in the coordinated build (#8947) (#9708)
- Bump
Newtonsoft.Json
(#9662)
SHA256 Hashes of the release artifacts
- powershell_6.1.5-1.debian.9_amd64.deb
- 8942AE964664DD6BCBCF04B798B0D0B8D97CB5307CF43C4FCE493C960CBFEB23
- powershell_6.1.5-1.ubuntu.14.04_amd64.deb
- FE2AF860B80C53D510254E5F6E07AE9955BC1FFAA6081EDADD1EBEB63DFC429A
- powershell_6.1.5-1.ubuntu.16.04_amd64.deb
- 397361860F0C529176D1F39B2102D32A16A043E919DF90D3A192F42CC699B6DA
- powershell_6.1.5-1.ubuntu.18.04_amd64.deb
- 43A5C68F0F54BB434FAE5F293BA20AE4068C59D0AABE83DCEA3DF6BE090AEEE9
- powershell-6.1.5-1.rhel.7.x86_64.rpm
- 8F95AF2F115BBB27954634D34F76EE6B987A3279EB9DC57CAB5F6EC85F8714BA
- powershell-6.1.5-linux-alpine-x64.tar.gz
- 95876D3AA8F1B2E35D293B89CAE06DA98388EB929AA39B82F52B3BCACBEBA7EB
- powershell-6.1.5-linux-arm32.tar.gz
- 35FC74D4355C846A46E2D9DBE50D2548244AF0D8C041244DE298CFBA22692212
- powershell-6.1.5-linux-x64.tar.gz
- A50F8781AF02B962B967E3670B74377DEA7BC8B8B2D06E9045D81E2495D23B1A
- powershell-6.1.5-linux-x64-fxdependent.tar.gz
- 0610ECDBD64A4FE8C92EE504DCE6B6535694E15C0017639C2FDC5686021B5FF9
- powershell-6.1.5-osx-x64.pkg
- 35AD929A3B832D009D77CC08126EF01C5B9B7A16EE87BA1F03BFBF76DE109CFE
- powershell-6.1.5-osx-x64.tar.gz
- 9C0A5D2F3CA5B08F7480671F7BEDA0DF9F78F3E8936E7C84F2CE5E973B3E0577
- PowerShell-6.1.5-win-arm32.zip
- 14736DB354C806E090D624C15B2FE0AC2E47E9D27847C40AAC88B928DD421F6A
- PowerShell-6.1.5-win-arm64.zip
- D331713D471AD2EDF69355652DDC54D76A5131107D7D8C8B94DDDFE059E7AA3A
- PowerShell-6.1.5-win-fxdependent.zip
- 91211BDFC83F68CEB27B312244A292CED0C76ABC2474133C21526A4C7D7CDF65
- PowerShell-6.1.5-win-x64.msi
- 5B8227A95654E8BB8E6AAC67187923ED06F8D6F0E10C1041715C47306FCEBAC4
- PowerShell-6.1.5-win-x64.zip
- F5E230D50921A134D0383DF7DB4E40B274093D801559807D05CF6B93139690AF
- PowerShell-6.1.5-win-x86.msi
- C8E0B49D96A95755BDB09CB36DA8646C390DB879742BA949AFE0DF4F5E39ED45
- PowerShell-6.1.5-win-x86.zip
- 2A5DFC5B0B81D9E27BEFE76F7F232F3817A81E9680008EF3B5ECCAD6CBD3C57A
v7.0.0-preview.1 Release of PowerShell
v7.0.0-preview.1 - 05/30/2019
Breaking Changes
- Disable the debugger when in system lock-down mode (#9645)
- Fix
Get-Module -FullyQualifiedName
option to work with paths (#9101) (Thanks @pougetat!) - Fix
-NoEnumerate
behavior inWrite-Output
(#9069) (Thanks @vexx32!) - Make command searcher treat wildcard as literal if target exists for execution (#9202)
Engine Updates and Fixes
- Port PowerShell to .NET Core 3.0 (#9597)
- Make sure we always return an object in command searcher (#9623)
- Support line continuance with pipe at the start of a line (#8938) (Thanks @KirkMunro!)
- Add support for
ValidateRangeKind
toParameterMetadata.GetProxyAttributeData
(#9059) (Thanks @indented-automation!) - Allow passing just a dash as an argument to a file via pwsh (#9479)
- Fix tab completion for functions (#9383)
- Reduce string allocation in console output code (#6882) (Thanks @iSazonov!)
- Fixing test run crash by not passing script block to the callback (#9298)
- Add Binary Parsing Support & Refactor
TryGetNumberValue
&ScanNumberHelper
(#7993) (Thanks @vexx32!) - Add PowerShell remoting enable/disable cmdlet warning messages (#9203)
- Add
xsd
forcdxml
(#9177) - Improve formatting performance by having better primitives on
PSObject
(#8785) (Thanks @powercode!) - Improve type inference of array literals and foreach statement variables (#8100) (Thanks @SeeminglyScience!)
- Fix for
FormatTable
remote deserialization regression (#9116) - Get
MethodInfo
from .NET public type with explicit parameter types (#9029) (Thanks @iSazonov!) - Add retry logic to the operation that updates
powershell.config.json
(#8779) (Thanks @iSazonov!) - Update the task-based
async
APIs added to PowerShell to return a Task object directly (#9079) - Add 5
InvokeAsync
overloads andStopAsync
to thePowerShell
type (#8056) (Thanks @KirkMunro!) - Remove unused cached types (#9015)
General Cmdlet Updates and Fixes
- Fix use of unicode ellipsis in
XML
for truncating error messages (#9589) - Improve error message in FileSystemProvider when removing a folder containing hidden or read only files (#9551) (Thanks @iSazonov!)
- Enable recursion into
OneDrive
by not treating placeholders as symlinks (#9509) - Change
MatchType
forEnumerationOptions
to beWin32
making this consistent with Windows PowerShell (#9529) - Add Support for null Usernames in Web Cmdlet Basic Auth (#9536) (Thanks @markekraus!)
- Fix null reference when
Microsoft.PowerShell.Utility
is loaded as asnapin
in hosting scenarios (#9404) - Update width of
DateTime
to accommodate change in JapanDateTime
format with new era starting 5/1/19 (#9503) - Fix
Get-Runspace
runspace object format Type column (#9438) - Return correct casing of filesystem path during normalization (#9250)
- Move warning message to
EndProcessing
so it only shows up once (#9385) - Fix the platform check in
CimDSCParser.cs
(#9338) - New
New-PSBreakpoint
cmdlet & new-Breakpoint
parameter forDebug-Runspace
(#8923) - Fix help paging issues on macOS/Linux and with custom pager that takes arguments (#9033) (Thanks @rkeithhill!)
- Add
QuoteFields
parameter toConvertTo-Csv
andExport-Csv
(#9132) (Thanks @iSazonov!) - Fix progress for Get-ComputerInfo (#9236) (Thanks @powercode!)
- Add
ItemSeparator
andAltItemSeparator
properties inProviderInfo
(#8587) (Thanks @renehernandez!) - Add timestamp to
pshost
trace listener (#9230) - Implement
Get-Random -Count
without specifying anInputObject
list (#9111) (Thanks @pougetat!) - Enable
SecureString
cmdlets for non-Windows (#9199) - Add Obsolete message to
Send-MailMessage
(#9178) - Fix
Restart-Computer
to work onlocalhost
when WinRM is not present (#9160) - Make
Start-Job
throw terminating exception when-RunAs32
is specified in 64-bit pwsh (#9143) - Make
Start-Job
throw terminating error when PowerShell is being hosted (#9128) - Made
-Subject
parameter ofSend-MailMessage
command no longer mandatory. (#8961) (Thanks @ece-jacob-scott!) - Make
New-ModuleManifest
consistent withUpdate-ModuleManifest
(#9104) (Thanks @pougetat!) - Add support for empty
NoteProperty
inGroup-Object
(#9109) (Thanks @iSazonov!) - Remove
Hardlink
fromMode
property in default file system format (#8789) (Thanks @powercode!) - Fixing issue with help progress with
Get-Help
not callingCompleted
(#8788) (Thanks @powercode!) - Allow
Test-ModuleManifest
to work whenRootModule
has no file extension (#8687) (Thanks @pougetat!) - Add
UseQuotes
parameter toExport-Csv
andConvertTo-Csv
cmdlets (#8951) (Thanks @iSazonov!) - Update version for
PowerShell.Native
and hosting tests (#8983) - Refactor shuffle in
Get-Random
to save a full iteration of the objects. (#8969) (Thanks @st0le!) - Suggest
-Id pid
forGet-Process pid
(#8959) (Thanks @MohiTheFish!)
Code Cleanup
Attributes.cs
- Style / Formatting Fixes (#9625) (Thanks @vexx32!)- Remove Workflow from
PSSessionType
(#9618) (Thanks @iSazonov!) - Update use of "PowerShell Core" to just "PowerShell" (#9513)
- Use
IPGlobalProperties
on all platforms for getting host name (#9530) (Thanks @iSazonov!) - Remove
IsSymLink()
P/Invoke on Unix (#9534) (Thanks @iSazonov!) - Cleanup unused P/Invokes on Unix (#9531) (Thanks @iSazonov!)
- Update use of
Windows PowerShell
to justPowerShell
(#9508) - Cleanup: sort
usings
(#9490) (Thanks @iSazonov!) - Cleanup
Export-Command
fromAssemblyInfo
(#9455) (Thanks @iSazonov!) - Run CodeFormatter for
System.Management.Automation
(#9402) (Thanks @iSazonov!) - Run CodeFormatter with
BraceNewLine
,UsingLocation
,FormatDocument
,NewLineAbove
rules (#9393) (Thanks @iSazonov!) - Run CodeFormatter for
WSMan.Management
(#9400) (Thanks @iSazonov!) - Run CodeFormatter for
WSMan.Runtime
(#9401) (Thanks @iSazonov!) - Run CodeFormatter for
Security
module (#9399) (Thanks @iSazonov!) - Run CodeFormatter for
MarkdownRender
(#9398) (Thanks @iSazonov!) - Run CodeFormatter for
Eventing
(#9394) (Thanks @iSazonov!) - Use
Environment.NewLine
for new lines inConsoleHost
code (#9392) (Thanks @iSazonov!) - Run CodeFormatter for Diagnostics module (#9378) (Thanks @iSazonov!)
- Run CodeFormatter for
Microsoft.PowerShell.Commands.Management
(#9377) (Thanks @iSazonov!) - Run CodeFormatter for Utility module (#9376) (Thanks @iSazonov!)
- Style: Match file name casings of C# source files for Utility commands (#9329) (Thanks @ThreeFive-O!)
- Update repo for Ubuntu 14.04 EOL (#9324)
- Cleanup: sort
usings
(#9283) (Thanks @iSazonov!) - Fix StyleCop Hungarian Notation (#9281) (Thanks @iSazonov!)
- Style: Update StyleCop rules (#8500)
- Enhance the P/Invoke code for
LookupAccountSid
inProcess.cs
(#9197) (Thanks @iSazonov!) - Fix coding style for
NewModuleManifestCommand
(#9134) (Thanks @pougetat!) - Remove unused method
CredUIPromptForCredential
fromHostUtilities.cs
(#9220) (Thanks @iSazonov!) - Remove non-existent paths from
.csproj
files (#9214) (Thanks @ThreeFive-O!) - Typo in new parameter set (#9205)
- Minor
FileSystemProvider
cleanup (#9182) (Thanks @RDIL!) - Cleanup style issues in
CoreAdapter
andMshObject
(#9190) (Thanks @iSazonov!) - Minor cleanups in
Process.cs
(#9195) (Thanks @iSazonov!) - Refactor
ReadConsole
P/Invoke inConsoleHost
(#9165) (Thanks @iSazonov!) - Clean up
Get-Random
cmdlet (#9133) (Thanks @pougetat!) - Fix to not pass
StringBuilder
by reference (out
orref
) in P/Invoke (#9066) (Thanks @iSazonov!) - Update AppVeyor comments in
Implicit.Remoting.Tests.ps1
(#9020) (Thanks @RDIL!) - Remove AppImage from tools (#9100) (Thanks @Geweldig!)
- Using supported syntax for restoring warnings - Visual Studio 2019 complains about enable. (#9107) (Thanks @powercode!)
- Use
Type.EmptyTypes
andArray.Empty<T>()
to replace our custom code of the same functionality (#9042) (Thanks @iSazonov!) - Rename private methods in
MshCommandRuntime.cs
(#9074) (Thanks @vexx32!) - Cleanup & update
ErrorRecord
class code style (#9021) (Thanks @vexx32!) - Remove unused cached types from
CachedReflectionInfo
(#9019) (Thanks @iSazonov!) - Fix CodeFactor brace style issues in
FileSystemProvider
(#8992) (Thanks @RDIL!) - Use
List.AddRange
to optimize-Split
(#9001) (Thanks @iSazonov!) - Remove Arch Linux Dockerfile (#8990) (Thanks @RDIL!)
- Cleanup
dllimport
(#8847) (Thanks @iSazonov!)
Tools
- Convert custom attribute
ValidatePathNotInSettings
to function (#9406) - Create
DependaBot
config.yml
(#9368) - Add more users to failures detection and fix alias for static analysis (#9292)
- Make
install-powershell.ps1
work on Windows Server 2012 R2 (#9271) - Enable
PoshChan
for getting and automatic retrieval of test failures for a PR (#9232) - Fix capitalization cases for
PoshChan
(#9188) (Thanks @RDIL!) - Update to new format for
PoshChan
settings and allow all users access to reminders (#9198) - Fix settings to use dashes instead of underscore (#9167)
- Fix
AzDevOps
context names and add all PowerShell team members (#9164) - Add settings for
PoshChan
(#9162) - Adding
CmdletsToExport
andAliasesToExport
to test module manifests. (#9108) (Thanks @powercode!) - Delete Docker manifest creation script (#9076) (Thanks @RDIL!)
- Make install scripts more consistent over different operating systems (#9071) (Thanks @Geweldig!)
- Comment cleanup in
releaseTools.psm1
(#9064) (Thanks @RDIL!) - Fix duplicate recommendation of Azure DevOps extension for Visual Studio Code (#9032) (Thanks @ThreeFive-O!)
- Code coverage artifacts (#8993)
Tests
v6.2.1 Release of PowerShell Core
v6.2.1 - 05/21/2019
Engine Updates and Fixes
- Re-enable tab completion for functions (#9383)
- Disable debugger in System Lock down mode (Internal 8428)
Code Cleanup
- Update repo for Ubuntu 14.04 EOL (#9324)
Tests
- Fix skipping of tests in
RemoteSession.Basic.Tests.ps1
(#9304) - Update tests to account for when
$PSHOME
is read only (#9279) - Mark tests in macOS CI which use
applescript
as pending/inconclusive (#9352) - Make sure non-Windows CI fails when a test fails (#9303)
Build and Packaging Improvements
- Partially revert "Fix the failed test and update
Publish-TestResults
to makeAzDO
fail the task when any tests failed (#9457)" - Bump
Markdig.Signed
from0.16.0
to0.17.0
(#9595) - Bump
Microsoft.PowerShell.Archive
from1.2.2.0
to1.2.3.0
in/src/Modules
(#9594) - Enable building on Kali Linux (#9471)
- Fix the failed test and update
Publish-TestResults
to makeAzDO
fail the task when any tests failed (#9457) - Add Preview assets for
msix
(#9375) - Create code coverage and test packages for non-windows (#9373)
- Fix publishing daily
nupkg
to MyGet (#9269) - Bump
PackageManagement
from1.3.1
to1.3.2
in/src/Modules
(#9568) - Bump
NJsonSchema
from9.13.27
to9.13.37
(#9524) - Bump
gulp
from4.0.0
to4.0.2
in/test/common/markdown
(#9443) - Bump
Newtonsoft.Json
from12.0.1
to12.0.2
(#9433) - Bump
System.Net.Http.WinHttpHandler
from4.5.2
to4.5.3
(#9367) - Add
AccessToken
variable to jobs that perform signing (#9351) - Create test package for macOS on release builds (#9344)
- Add component detection to all jobs (#8964)
- Move artifacts to artifact staging directory before uploading (#9273)
SHA256 Hashes of the release artifacts
- powershell_6.2.1-1.debian.9_amd64.deb
- 8F82DA9935196C420B82F5AAD731FC2992043668F49275E6955611440780C6F7
- powershell_6.2.1-1.ubuntu.16.04_amd64.deb
- D2AF5AC877098ED4A2F86987C5F4D74DC2CFECF9E75805ECD04521EE2E4B25D0
- powershell_6.2.1-1.ubuntu.18.04_amd64.deb
- B3FE1E5E03B566DE81EDB3C1B767BCBA76715D6FF9CA37BF3692B1711F076306
- powershell-6.2.1-1.rhel.7.x86_64.rpm
- 1CDF5E804A2FC84E91999E46231B00B8A8635D3595218E9709ADAA8208D02C4D
- powershell-6.2.1-linux-alpine-x64.tar.gz
- F1AB8E64706858190355AA41C5E481E0074A8E485DB4687E5BA5D1F1595726D9
- powershell-6.2.1-linux-arm32.tar.gz
- 1C1ED1C764980C98092FAF8DABAA4C635AD9ED9BA43F5D1872DC27C47C7FD923
- powershell-6.2.1-linux-arm64.tar.gz
- 7605F347F543880A90C1F67305C802562384A4DCDA9E797D501E7BBF674645AC
- powershell-6.2.1-linux-x64.tar.gz
- E8287687C99162BF70FEFCC2E492F3B54F80BE880D86B9A0EC92C71B05C40013
- powershell-6.2.1-linux-x64-fxdependent.tar.gz
- 36F70A4D79094FEEA7BA21527531C0A4C3F2691EFA554AEA012E73285C2E9841
- powershell-6.2.1-osx-x64.pkg
- F490DC74E47467BD171E0F6B0496900F094467B34F85498DE043D15572D6B35B
- powershell-6.2.1-osx-x64.tar.gz
- 264AF97471D42795F61DAAE52746FF08AB701892EC58B34669DD15B11FC1041E
- PowerShell-6.2.1-win-arm32.zip
- 7BC3852DF425571C6C33AF96CA3418360C5EBD798E52E0471552260331A525AE
- PowerShell-6.2.1-win-arm64.zip
- E0ABA4E85ADAA1325B4BCD3037C4C1916F6CD1FA1E439DEC134BCE46424D1BD2
- PowerShell-6.2.1-win-fxdependent.zip
- 541008A6F968AE13727428F939089F3B0430E47C2772272F58621874002ADB2B
- PowerShell-6.2.1-win-x64.msi
- C24406CA8F65440FA0381E417B05A16161227276EB3B77091FDB9D174B7F3144
- PowerShell-6.2.1-win-x64.zip
- 6BCC0F80CA549A8ADB317B2EC1294F103C4BF75CC29EFA8AC03A27F9A860B1F4
- PowerShell-6.2.1-win-x86.msi
- 0FE4EA7B87A948C4C42551AB68E22FCD12BFF593954DD4483CFFDF541C23A5E4
- PowerShell-6.2.1-win-x86.zip
- F8A713A2614603267683F463B75CE9A81756107F0C927F198BBDD747ACB10AC0
v6.1.4 Release of PowerShell Core
6.1.4 - 2019-05-21
Build and Packaging Improvements
- Disable debugger in System Lock down mode (Internal 8430)
- Port changes for release automation to
6.1
(Internal 8402) - Fix
MSI
WIX
generation (#9013) (Internal 8385) - Update
Microsoft.PowerShell.Archive
version (Internal 8380) - Update package version in hosting test (Internal 8374)
- Bump to
dotnet
2.1.11
release - Remove update build table logic from release build (Internal 8364)
- Add
AccessToken
variable to jobs that perform signing (#9351) - Support release branches based on the forward slash separator (#8903)
SHA256 Hashes of the release artifacts
- powershell_6.1.4-1.debian.9_amd64.deb
- 9ECC6CA26170C82C46111EDDB4440E98F2F940B2A747080DD064F3B881CE794A
- powershell_6.1.4-1.ubuntu.14.04_amd64.deb
- 2043137B188BDF41637F603F959ABD6052AF2A6710983FF50B821346E7A17A62
- powershell_6.1.4-1.ubuntu.16.04_amd64.deb
- 850CDBAA7931C454D2D7BF43F2C977B95578918FF21AD7E10D4EBC49D852A32B
- powershell_6.1.4-1.ubuntu.18.04_amd64.deb
- 3888528DD4FD38595C81253EF8C6E4CBB2481F6C54BF32000FC83D6161D10F69
- powershell-6.1.4-1.rhel.7.x86_64.rpm
- EF671D577F6A88D527DEB28775C3486EBCE731C44B1631DD3DD6EDF810B69CC0
- powershell-6.1.4-linux-alpine-x64.tar.gz
- 05F5835CEF702D610E9298FBD00DC7E6E69394F32D8A67B4C6980EF9CD8272FC
- powershell-6.1.4-linux-arm32.tar.gz
- 8231F4C9F1A0B7054CA4872639D4FA2999BB53E94A9E7329D418C6C5F4A50E72
- powershell-6.1.4-linux-x64.tar.gz
- 8C6086CEA82D811F843077A329C6E3982CF2CFF46AA5C7076664122632D6116C
- powershell-6.1.4-linux-x64-fxdependent.tar.gz
- 12AAAE8614F959B380D8AEF28A76F7E9D5CAE4C2D91524E21E552C683748FD85
- powershell-6.1.4-osx-x64.pkg
- CC28A081EF6E1965381871CE3174C24C08884B2E93576E46ED24B7CFD93F23F3
- powershell-6.1.4-osx-x64.tar.gz
- 7F62DECA55B29E783EF7CE5411F92A3CD739BFB129F20133BC4B2008209CAE7D
- PowerShell-6.1.4-win-arm32.zip
- B2984A5E92C17607EB2FA47158ECE83DBA02FB6CDB27326E117790D7E67323FE
- PowerShell-6.1.4-win-arm64.zip
- EB83F6E9548051C5A2E49A9FCB55D3E36693D58E372B7036A93A293FF1EE7F08
- PowerShell-6.1.4-win-fxdependent.zip
- 73ADAAB2515B57FD0040DD1FD066709E7E8535F336F0DA3169275A0FCF6910DA
- PowerShell-6.1.4-win-x64.msi
- 6ED3C60A0CC547D9020ABBA4A88A1DD788FA022FDF775DE0A232F404D3CED6C5
- PowerShell-6.1.4-win-x64.zip
- E86A61EE07845F66337FF277617CA74E35ABC07B67D2C7A4BC048369D8F7B807
- PowerShell-6.1.4-win-x86.msi
- AA8EA4C0CBF774F721482CA40F5B26D277E88A28F24879692FF350550DED144A
- PowerShell-6.1.4-win-x86.zip
- 915046BE600EB01DE83335A5586A116EBD45AF428973ABC02B9285AFD9E8E719
v6.2.0 Release of PowerShell Core
v6.2.0 - 2019-03-28
Breaking Changes
- Fix
-NoEnumerate
behavior inWrite-Output
to be consistent with Windows PowerShell (#9069) (Thanks @vexx32!)
Engine Updates and Fixes
- Add PowerShell remoting enable/disable cmdlet warning messages (#9203)
- Fix for
FormatTable
remote deserialization regression (#9116) - Update the task-based
async
APIs added to PowerShell to return a Task object directly (#9079) - Add 5
InvokeAsync
overloads andStopAsync
to thePowerShell
type (#8056) (Thanks @KirkMunro!)
General Cmdlet Updates and Fixes
- Enable
SecureString
cmdlets for non-Windows by storing the plain text (#9199) - Add Obsolete message to
Send-MailMessage
(#9178) - Fix
Restart-Computer
to work onlocalhost
when WinRM is not present (#9160) - Make
Start-Job
throw terminating error when PowerShell is being hosted (#9128) - Update version for
PowerShell.Native
and hosting tests (#8983)
Tools
- Adding
CmdletsToExport
andAliasesToExport
to test module manifests. (#9108) (Thanks @powercode!) - Comment cleanup in
releaseTools.psm1
(#9064) (Thanks @RDIL!)
Tests
- Fix
Enter-PSHostProcess
tests flakiness (#9007) - Add tests for command globbing (#9180)
- Add source for
Install-package
to installnetDumbster
(#9081) (Thanks @Geweldig!) - Fix tab completion test to handle multiple matches (#8891)
- Refactor macOS and Linux CI so that tests run in parallel (#9056, #9209)
- Added
RequireSudoOnUnix
tags toPowerShellGet
tests and remove-pending
parameter (#8954) (Thanks @RDIL!) - Pending
NamedPipeConnectionInfo
test (#9003) (Thanks @iSazonov!) - Add test for
-WhatIf
forNew-FileCatalog
(#8966) (Thanks @mjanko5!)
Build and Packaging Improvements
- Performance improvements for release build (#9179)
- Add
tsaVersion
property asTsaV1
for compliance build phase (#9176) - Publish global tool packages to
pwshtool
blob and bug fixes (#9163) - Translate Skipped test results into something Azure DevOps does not understand (#9124)
- Disable Homebrew analytics in macOS VSTS builds (#9130) (Thanks @RDIL!)
- Remove AppVeyor references from packaging tools (#9117) (Thanks @RDIL!)
- Fixed Dockerfile syntax highlighting (#8991) (Thanks @RDIL!)
- Fix dependencies of NuGet build to wait on DEB uploads to finish (#9118)
- Fix artifact download issue in release build (#9095)
- Publish test package on release builds (#9063)
- Bump
Microsoft.PowerShell.Native
from6.2.0-rc.1
to6.2.0
(#9200) - Bump
NJsonSchema
from9.13.19
to9.13.27
(#9044, #9136, #9166, #9172, #9184 #9196) - Bump
PowerShellGet
from2.0.4
to2.1.2
in /src/Modules (#9110, #9145) - Bump
SelfSignedCertificate
in/test/tools/Modules
(#9055)
Documentation and Help Content
- Update docs for
6.2.0-rc.1
release (#9022)
SHA256 Hashes of the release artifacts
- powershell_6.2.0-1.debian.9_amd64.deb
- 0EB45D8947ABF93C21B2F8C31F6709C5058D92EA9DC2C57E9D1766852F8F0243
- powershell_6.2.0-1.ubuntu.14.04_amd64.deb
- F582CEE379DDD17D4EE8109086885C68038009B9A70C041E4515DFB58F8AF3A4
- powershell_6.2.0-1.ubuntu.16.04_amd64.deb
- 8249339596A55302B819849B240EC7E6DDD85CEBD159F0617354B818801EE082
- powershell_6.2.0-1.ubuntu.18.04_amd64.deb
- 38DCB2164C1FE3B4F0200ABA2D5969C4856526BAA1D8983F818CD06003C355CE
- powershell-6.2.0-1.rhel.7.x86_64.rpm
- BEE23FAF5AC7B4A30E68DCE04F7D4F51C9B8DD01173A5178F7ACBC016665DE4B
- powershell-6.2.0-linux-alpine-x64.tar.gz
- A44243CA24AF415F7393C53BE6BF3E7A5B546B79C9F3F870F9A974CAFE8831E6
- powershell-6.2.0-linux-arm32.tar.gz
- 6C83216F495A55933565BB2E27A0338FFCBA3C28CCECFF6989D33A540C22155D
- powershell-6.2.0-linux-arm64.tar.gz
- AB89D03EE7D8D5D5ABFEC16E97610D6F2BB1F60CFF3ADBFC8946A94B1308C462
- powershell-6.2.0-linux-x64.tar.gz
- F2EA5BEA2A4396902737EC93BB146DB3C4D5BF96A94555CE60EE03FEFE43FC20
- powershell-6.2.0-linux-x64-fxdependent.tar.gz
- 896B964A41CFBE7F1D9A9E12E32EC7CBF7187E6FD9ADBEEBF7FDF9C6616BEABD
- powershell-6.2.0-osx-x64.pkg
- 96FCBEBECDABD2C05C5DA5F785968111AF22FA805C93B83073FEED95000A84E1
- powershell-6.2.0-osx-x64.tar.gz
- 4198AE1D79C98A62BCCE68B4B75773239F4A2124F33075249BCB5F19A7D0ADED
- PowerShell-6.2.0-win-arm32.zip
- 8E4677F0CEB658649AF0475476D5A5E6EE091F2E768873AD4DA083BC175BEF3C
- PowerShell-6.2.0-win-arm64.zip
- BB243F3D27681F255DDB6EB11E55AB7D52DEDA7B5A55EB8598C752AE58C31A3C
- PowerShell-6.2.0-win-fxdependent.zip
- BCC5A0A37713DA121E4A2C6832332675538607E0FC0A510DF616649E37C30A24
- PowerShell-6.2.0-win-x64.msi
- BF4CBCE14ED448BBAE2DC38293AA637B8C82932893E3804E7711649DFB28E53F
- PowerShell-6.2.0-win-x64.zip
- C02AF438D3BC8DC61815110C99189A694ED161E64C64A59B49AB01D945DFC73A
- PowerShell-6.2.0-win-x86.msi
- 99C5F517B5A3B88238C0DFDEF259EA8AB9666C72DA47D093769126C97FF3EE78
- PowerShell-6.2.0-win-x86.zip
- DAE9D3D2AD332A82312D2DAFA398287670FB5CBB94128C80D422E1F3679F8EB2
v6.2.0-rc.1 Release of PowerShell Core
v6.2.0-rc.1 - 2019-03-05
NOTE: The snap package update is delayed due to a snap build issue.
Breaking Changes
- Make
Join-String -InputObject 1,2,3
result equal to1,2,3 | Join-String
result (#8611) (Thanks @sethvs!)
Engine Updates and Fixes
- Improve check for developer mode by checking minimum required build number (#8749)
- Simplify the declaration of new experimental features (#8726)
- Remove AMSI uninitialized assert and replace with call to uninitialized (#8713)
- Port Security bypass fixes from 6.1.3 (#8915)
- Enable discovering modules that have names same as a culture (e.g.
Az
) (#8777) - Flatten interface hierarchy when generating properties that implement interface properties (#8382) (Thanks @IISResetMe!)
- Don't use Win32 native APIs on non-Windows for cryptography of secure string over remoting (#8746)
- Allow
.exe
files to be used as IL binary modules (#7281) - Remove unused cached types (#9015)
Experimental Features
- Add the experimental feature for creating
Temp:\
drive whenFileSystemProvider
initializes (#8696) - Move
CommandNotFoundException
suggestion to an experimental feature (#8805)
General Cmdlet Updates and Fixes
- Correctly Report impact level when
SupportsShouldProcess
is not set to 'true' (#8209) (Thanks @vexx32!) - Fix Request Charset Issues in Web Cmdlets (#8742) (Thanks @markekraus!)
- Refactor
ConvertTo-Json
to exposeJsonObject.ConvertToJson
as a public API (#8682) - Add
-CustomPipeName
topwsh
andEnter-PSHostProcess
(#8889) - Add configurable maximum depth in
ConvertFrom-Json
with-Depth
(#8199) (Thanks @louistio!) - Enable creating relative symbolic links on Windows with
New-Item
(#8783) - Parse numeric strings as numbers again during conversions (#8681) (Thanks @vexx32!)
- Expose file attributes of
OneDrive
placeholders (#8745) (Thanks @sba923!) - Enable
Write-Information
to accept$null
(#8774) - Adding parameter
ReplyTo
toSend-MailMessage
(#8727) (Thanks @replicaJunction!) - Fix
Get-Help
PSTypeName
issue with-Parameter
when only one parameter is declared (#8754) (Thanks @pougetat!)
Code Cleanup
- Use HTTPS in URLs where available (#8622) (Thanks @xtqqczze!)
- Update code to use single method to check if path is UNC (#8680)
- Fix typo:
aganist
➜against
(#8943) (Thanks @lupino3!) - Use the
OperationCancellationException
to replace theStoppingException
inConvertToJson
(#8920) - Fix style issues in CSV cmdlets (#8894) (Thanks @iSazonov!)
- Fix
LGTM
issues (#8843) (Thanks @iSazonov!) - Fix length check in
PSSnapinQualifiedName.GetInstance()
(#8837) (Thanks @hvitved!) - Reduce string allocations when formatting file system objects. (#8831) (Thanks @powercode!)
- Fix many instances of CodeFactor style issue
A single-line comment must not be followed by a blank line
(#8825) (Thanks @RDIL!) - Refactor
appveyor.psm1
toci.psm1
(#8733, #8854, #8709, #8756, #8867) (Thanks @RDIL!) - Refactor
travis.ps1
intoci.psm1
(#8822, #8888) (Thanks @RDIL!) - Fix Markdown lint issues (#8929)
- Fix code-of-conduct linting (#8896) (Thanks @RDIL!)
Tools
- Fix broken reference (#8753) (Thanks @RDIL!)
- Remove
GitKracken
files from.gitignore
(#8743) (Thanks @RDIL!) - Update path of
test\xUnit\xUnit.tests.csproj
inPowerShell.sln
(#8730) (Thanks @markekraus!) - Ignore files added by
SelfSignedCertificate
(#8728) (Thanks @markekraus!) - Build Global tool for PowerShell and SDK container (#8984)
- Add Experimental Features to change log creation (#8827)
- Remove unneeded
Invoke-Expression
on unvalidated input (#8826) - Update CLA pull request labeling info (#8820) (Thanks @RDIL!)
- Update some info in
md-link-checks
(#8757) (Thanks @RDIL!)
Tests
- Fix
Enter-PSHostProcess
test to wait until runspace is ready before attempting to enter (#8725) - Package validation tests updates (#8714)
- Make xUnit tests run sequentially to avoid race conditions caused by manipulating
powershell.config.json
in tests (#8945) - Use verbatim string literals for paths (#8937) (Thanks @iSazonov!)
- Parallelize the Windows CI to enable us to run all tests all the time (#8868)
- Fixes for Scheduled release build (#8887)
- Remove references to uninitialized variable (#8849)
- Remove directory causing static analysis failure (#8812)
- Update Pester version to 4.4.4 (#8739)
- Change xUnit Runspace tests to run sequentially (#8796)
- Fix cleanup config files for the csharp xUnit tests (#8761) (Thanks @iSazonov!)
- Moved
fxdependent-dotnetsdk-latest/Dockerfile
(#8738)
Build and Packaging Improvements
- Make every
csproj
files have its own folder (#8750) - Update packaging script to build reference assembly targeting
netcoreapp2.1
and use actual.csproj
files (#8729) - Generate and deploy reference assembly for
Microsoft.PowerShell.Commands.Utility.dll
(#8716) - Make test file result names unique (#8979)
- Add variable to control the version of the signing task we use (#8982)
- Publish test and code coverage artifacts for daily builds (#8955)
- Integrate building NuGet package in the coordinated build (#8947)
- Support release branches based on the forward slash separator (#8903)
- Port DotNet fixes from 6.1.3 (#8914)
- Start tracking release build information in an azure storage table (#8850)
- Make license a link in the MSI (#8846)
- Use
-ErrorAction Ignore
instead ofSilentlyContinue
withGet-Command
in build.psm1 (#8832) - Add
binskim
to coordinated build and increase timeout (#8834) - Fix daily CI builds to publish tar package as artifacts (#8775)
- Add instrumentation for
Start-PSPackage
(#8811) - Fix passing credential to the
SyncGalleryToAzArtifacts.psm1
script (#8808) - Move Final artifacts from coordinated build to
finalResults
folder (#8806) - Refactor coordinated release build (#8804)
- Add compliance to Coordinated build (#8798)
- Switch to 1.11 of FPM to fix FPM install issue (#8797)
- Update the coordinated build with framework dependent package for dotnet SDK (#8773)
- Fix MSI upgrade failure for preview builds (#9013)
- Build(deps): Bump
Microsoft.ApplicationInsights
from2.8.1
to2.9.1
(#8807,#8848) - Build(deps): Bump
Microsoft.PowerShell.Native
(#8712) - Build(deps): Bump
NJsonSchema
from9.13.15
to9.13.19
(#8732, #8747, #8881, #8952) - Build(deps): Bump
PackageManagement
from1.2.4
to1.3.1
(#8800) - Build(deps): Bump
XunitXml.TestLogger
from2.0.0
to2.1.26
(#8731) - Build(deps): Bump
Markdig.Signed
from0.15.7
to0.16.0
(#8981)
Documentation and Help Content
- Updating README.md for supported openSUSE version and updating link to OS versions supported by CoreFx (#8701) (Thanks @stknohg!)
- Add complete XML docs for
ConvertToJsonContext
constructors (#8737) - Update README.md for ARM to include both 32-bit and 64-bit PS package links (#8677) (Thanks @slide!)
- Update issue templates with new supported values (#8718) (Thanks @RDIL!)
- Update maintainer docs about the CLA PR labels (#8734) (Thanks @RDIL!)
- Add Andrew to the maintainer list (#8722)
- Update release process template (#8711)
- Change label in doc issue template (#8895) (Thanks @iSazonov!)
- Update the
dir -recurse
example (#8939) (Thanks @vmsilvamolina!) - Update CHANGELOG for release
6.1.3
(#8918) - Update stable version to
6.1.3
(#8902) - Fix broken link (#8905)
- Update Coding Guidelines (#8844) (Thanks @iSazonov!)
- Update governance documentation (#8776) (Thanks @RDIL!)
- Fix broken python method (#8821) (Thanks @RDIL!)
- Changing docs issue template to new docs repo location (#8818)
- Fix spelling in
releaseTool/README.md
(#8810) - Update GitHub templates (#8792) (Thanks @iSazonov!)
- Fix broken link in
FAQs.md
(#8803) - Updated
basics.md
to add a link for showing example for installing git on all package managers (#8735) (Thanks @RDIL!) - Update
README.md
forpreview.4
(#8772)
SHA256 Hashes of the release artifacts
- powershell-6.2.0-rc.1-linux-alpine-x64.tar.gz
- 1F5F5F28E6230E2CC312B2553C927412162C4F7DCC8C05341AD37B68CDD12C02
- powershell-6.2.0-rc.1-linux-arm32.tar.gz
- 9F0302ADE929BE72D8B4D03393A718CB6030A85764B7DB5BF38DBB77512DBBF3
- powershell-6.2.0-rc.1-linux-arm64.tar.gz
- 7A66B22FEEF283BFBD28468807AAC4BE7635930B4339B3FEC265976FB40A5F2E
- powershell-6.2.0-rc.1-linux-x64-fxdependent.tar.gz
- B2E7039BE994D1527E6222D82236A8974E7FB39494EF45040EF6528A7C5E1BDA
- powershell-6.2.0-rc.1-linux-x64.tar.gz
- E6705568E4901A16C7D064D57997FCDCDE180DF60C46C961127188943B273361
- powershell-6.2.0-rc.1-osx-x64.pkg
- 7E77CF05D0467F4BA36B9BE6A82CB2DD296AC96FCCB565C6A28ECDE0BA128F5C
- powershell-6.2.0-rc.1-osx-x64.tar.gz
- 131A65E413FD9A1ABF40623E3382D05D8A1AD0E4A6E902A633A1EF9F500A39CA
- PowerShell-6.2.0-rc.1-win-arm32.zip
- 35E4E4CE5B956712FA1812656592FD8DD54CECF95B03BDCFA2068D9E1D6E5E2E
- PowerShell-6.2.0-rc.1-win-arm64.zip
- B14CD3CC2013BA1A71415ECFD4C3469FF2CAB99AFBD58A61861C7176701AB3CE
- PowerShell-6.2.0-rc.1-win-fxdependent.zip
- ACDD103D73F379401049B6B578AB6A0BC0F0A1C0FE6BD5ABC6FF9A571A398306
- PowerShell-6.2.0-rc.1-win-x64.msi
- 0C0F5D68D3C69D36BE4151C3C98BF44F3C6EA33769E19295BE136A785EC10054
- PowerShell-6.2.0-rc.1-win-x64.zip
- E3579015BDEDFFB553ADF174BD659710C2DAB2338A9106B421F7FEF2541417E4
- PowerShell-6.2.0-rc.1-win-x86.msi
- DEA825F48A666966B12B08BA224E8EF0BA6BE651DBD1B961193D4B1ECCA3F7F2
- PowerShell-6.2.0-rc.1-win-x86.zip
- C41FFC9AB17AADA63BF604F56E52F3342B6F5AE7CFBD041631745F22A6220622
- powershell-preview-6.2.0_rc.1-1.rhel.7.x86_64.rpm
- D12D5AEEE1C464A9CB3CAA134C101ADD222ED71BD72D3F434A940B61DA40211F
- powershell-preview_6.2.0-rc.1-1.debian.9_amd64.deb
- 3AC82D98841D5F61872B433F92D6DE0866B4AD2FF67C9F0CAD6ABA4C4062...
v6.1.3 Release of PowerShell Core
6.1.3 - 2019-02-19
Engine Updates and Fixes
- Add security mitigation for 6.1.3 release (Internal 6561)
Tools
- Change the feed URL to feed name due to changes in Azure DevOps (#8664)
Tests
- Updating test gallery URL in PackageManagement tests (#7879)
Build and Packaging Improvements
- Get PowerShellGet tests working (#7831)
- Start tracking release build information in an azure storage table (#8850)
- Remove
PDBs
fromfxdependent
package (#8006) - Make every
csproj
files have its own folder (#8750) - Update packaging script to build reference assembly targeting
netcoreapp2.1
and use actual.csproj
files (#8729) - Move Final artifacts from coordinated build to
finalResults
folder (#8806) - Refactor Unified Release Build (#8804)
- Add compliance to Coordinated build (#8798)
- Switch to 1.11 of FPM to fix FPM install issue (#8797)
- Update the coordinated build with framework dependent package for dotnet SDK (#8773)
- Add Windows build to coordinated release build YAML (#8695)
- Build package build using Ubuntu 18.04 image (#8666)
- Adding
yml
for Windows Release builds (#8374) - Update
SignType
insigning.xml
(#8223) - Update DotNet SDK and Runtime version (Internal 7004)
- Add
binskim
to coordinated build and increase timeout (#8834)
SHA256 Hashes of the release artifacts
- powershell-6.1.3-1.rhel.7.x86_64.rpm
- E2685EBC9D4FBB107F905B9E16346BCBE41CBADEBA5ECCE2DD8C082412D2504E
- powershell-6.1.3-linux-alpine-x64.tar.gz
- 781F6A55211775F0537C419F3A5BCDA605CD497E1DB69F79CA782C08C6F1082A
- powershell-6.1.3-linux-arm32.tar.gz
- 4FE1406E22CB8B2B47F9BC5A1F4125887960829FB3FA894AAF133CFB0226C2AA
- powershell-6.1.3-linux-x64-fxdependent.tar.gz
- A43F9E9ABE1C768A8D45276F481E50455C4A10E3B76EA40815F93E3500F1D16D
- powershell-6.1.3-linux-x64.tar.gz
- E728B51487288FB395C2BA41CE978DE265049C5BD995AFF0B06F1573DB831C8B
- powershell-6.1.3-osx-x64.pkg
- F7A30B0E163DF70E5D8A3EDCDC9B3FF81D093070AE2041E50004B473D3DB4EBD
- powershell-6.1.3-osx-x64.tar.gz
- BF61B153B045DCDC2B96816ABAE4D3DB4D0C8DD96990676B661ED69081EF071F
- PowerShell-6.1.3-win-arm32.zip
- FDDAF4353E73D24930EA1EBCC9E7A08C28D3B3DD3C76C9AE137E4143380D3D45
- PowerShell-6.1.3-win-arm64.zip
- F979003651382A7E87ECFF4B31A2BFB8A7C4F5E52AA8DD13F9B63F031CDFDCB9
- PowerShell-6.1.3-win-fxdependent.zip
- 7277CE26E39D00473B1E67D4065A8E704BF6DB7FAF5C51958FF4F16B049FDF3F
- PowerShell-6.1.3-win-x64.msi
- 8C02B3E5375095C11135C74779F8F4A57A4E041A76C031D023673C6363814387
- PowerShell-6.1.3-win-x64.zip
- AA01A6F11C76BBD3786E274DD65F2C85FF28C08B2D778A5FC26127DFEC5E67B3
- PowerShell-6.1.3-win-x86.msi
- BFDB11D5863CAC56C31AB05D07CDB66882E9EC5A93B73FB6F1860BD9FE34CC89
- PowerShell-6.1.3-win-x86.zip
- CFD192E833436C7252A14C07E6FF76427219F9BE47521A984605079E8E18B01F
- powershell_6.1.3-1.debian.9_amd64.deb
- 4646038D8B5828F2A69B68F1567A538CB40FB5444B56B43EA7F13B2F15C62C8A
- powershell_6.1.3-1.ubuntu.14.04_amd64.deb
- B227849FB85F77004B95141E2CE0247DABF5B9D8362639D7457113D3DC2BD8C8
- powershell_6.1.3-1.ubuntu.16.04_amd64.deb
- 9DF0674D0BEE4A85FA5FFD851F3AEE4E1ED1F98314671E60FA925A252A6286E1
- powershell_6.1.3-1.ubuntu.18.04_amd64.deb
- 6C353B6CCBA9EA8E78EA44C85B9845DC6CE4A8B8DC929C86EB8094233E312F7E
v6.2.0-preview.4 Release of PowerShell Core
Changelog
v6.2.0-preview.4 - 2019-01-28
Breaking Changes
- Add
-Stable
toSort-Object
and related tests (#7862) (Thanks @KirkMunro!) - Improve
Start-Sleep
cmdlet to accept fractional seconds (#8537) (Thanks @Prototyyppi!) - Change hashtable to use
OrdinalIgnoreCase
to be case-insensitive in all Cultures (#8566) - Fix
LiteralPath
inImport-Csv
to bind toGet-ChildItem
output (#8277) (Thanks @iSazonov!)
Engine Updates and Fixes
- Allow user-specified underlying type for enums (#8329) (Thanks @IISResetMe!)
- Handle case where AppLocker test script fails to delete (#8627)
- Update
CommandNotFound
fuzzy suggestion to only return unique results (#8640) - Add support to show suggestions on
CommandNotFound
exception (#8458) - Make
S.M.A.PowerShell.GetSteppablePipeline
method public (#8055) (Thanks @KirkMunro!) - Add
S.M.A.PowerShell.Create
method overload with Runspace argument (#8057) (Thanks @KirkMunro!) - Fix mistake on deserialization (#8502)
- Fix formatting of header of table when center aligned (#8497)
- Add
-RepeatHeader
toFormat-Table
to enable repeating header for each screen full (#8481) - Fix
Debug-Runspace
for Unix platforms and properly enable Windows identity impersonation code (#8451) - Reset output attributes if column had
ESC
char when usingFormat-Table
; Replace...
with unicode ellipsis (#8326)
Experimental Features
- Add the experimental feature
PSUseAbbreviationExpansion
to support tab completion on abbreviated command names (#8109)
General Cmdlet Updates and Fixes
- Fix code page parsing issue in
Invoke-RestMethod
(#8694) (Thanks @markekraus!) - Fix
Expect 100-continue
issue with Web Cmdlets (#8679) (Thanks @markekraus!) - Allow 'name' as an alias key for 'label' in
ConvertTo-Html
, allow the 'width' entry to be an integer (#8426) (Thanks @mklement0!) - Resolve
:PAGER
if its path contains spaces (#8571) (Thanks @pougetat!) - Add support enum and char types in
Format-Hex
cmdlet (#8191) (Thanks @iSazonov!) - Change
Get-Help
cmdlet-Parameter
parameter so it accepts string arrays (#8454) (Thanks @sethvs!) - Fix
FixupFileName
to not load resolved assembly during module discovery (#8634) - Change
Clear-Host
back to using$RAWUI
andclear
to work over remoting (#8609) - Fix
LiteralPath
inImport-Csv
to bind toGet-ChildItem
output (#8277) (Thanks @iSazonov!) - Make scriptblock based calculated properties work again in
ConvertTo-Html
(#8427) (Thanks @mklement0!) - Fix
Join-String
cmdletFormatString
parameter logic (#8449) (Thanks @sethvs!) - Allow Windows users in developer mode to create symlinks without elevation (#8534)
Help
function should only pass content to pager if content was found (#8528)- Change
Clear-Host
to simply called[console]::clear
and removeclear
alias from Unix (#8603) help
function shouldn't use pager forAliasHelpInfo
(#8552)- Fix XML nesting bug in
CustomSerializer.WriteMemberInfoCollection()
(#8476) (Thanks @IISResetMe!) - Add
-UseMinimalHeader
toStart-Transcript
to minimize transcript header (#8402) (Thanks @lukexjeremy!)
Code Cleanup
- Remove the no longer used
RunspaceConfigurationEntry
types (#8424) - Remove unneeded catch/throw from
mkdir
andoss
functions (#8425) - Remove comments after closing brackets (#8344) (Thanks @Meir017!)
- Cleanup
Format-Hex
(#8683) (Thanks @vexx32!) - Delete
appveyor.yml
(#8639) (Thanks @RDIL!) - Revise use of
Start-Sleep
cmdlet (#8633) (Thanks @xtqqczze!) - Style: Change first char to upper in summary comments (#8597) (Thanks @iSazonov!)
- Style: Use the type aliases
char
andbool
instead ofChar
andBoolean
(#8572) (Thanks @iSazonov!) - Style: Use the type alias
string
instead ofString
in places that are appropriate (#8573) (Thanks @iSazonov!) - Correctly capitalize the
ForEach
operator in*.ps1
(#8583) (Thanks @xtqqczze!) - Remove unnecessary trim of passed-in command line in interactive debugging (#8594)
- Style: Add a space after "//" in comments and remove unneeded comments after "}" (#8576) (Thanks @iSazonov!)
- Style: Add the ending period to the XML document texts (#8577) (Thanks @iSazonov!)
- Avoid use of
mkdir
alias in*.ps1
and*.psm1
(#8582) (Thanks @xtqqczze!) - Regularize redirection operator spacing in
*.ps1
and*.psm1
(#8581) (Thanks @xtqqczze!) - Style: Change 'String.' to 'string.' (#8568) (Thanks @iSazonov!)
- Style: Replace
String.IsNullOrEmpty
withstring.IsNullOrEmpty
(#8557) (Thanks @iSazonov!) - Fix typo in AMSI test (#8561) (Thanks @iSazonov!)
- Style: Convert to upper first char in
<param>
and<exception>
doc tags (#8556) (Thanks @iSazonov!) - Style: Add period before
</param>
and</exception>
doc tags (#8553) (Thanks @iSazonov!) - Remove use of cmdlet aliases from
.\test\powershell
(#8546) (Thanks @xtqqczze!) - Style: Remove extra spaces after
<para>
and before</para>
docs tags (#8547) (Thanks @iSazonov!) - Style: Remove preceding spaces from C#
preprocessor-type
keywords (#8540) (Thanks @xtqqczze!) - Style: remove
<remarks> </remarks>
(#8538) (Thanks @iSazonov!) - Style: Add period before returns doc tag (#8535) (Thanks @iSazonov!)
- Style: Change
Object[]
toobject[]
(#8526) (Thanks @iSazonov!) - Style: Change
Object
toobject
(#8522) (Thanks @iSazonov!) - Style: Change
UInt64?
toulong?
(#8527) (Thanks @iSazonov!) - Style: Change
Byte{}
tobyte[]
(#8525) (Thanks @iSazonov!) - Code cleanup: Add space after closing brace where needed (#8530)
- Style: Change
System.Boolean
tobool
(#8521) (Thanks @iSazonov!) - Change
String
tostring
for simple references (#8519) - Change
Int32
toint
for simple references in variable declaration (#8518) - Style: Member access symbols should be followed with member name (#8517)
- Style: Remove extra space before colon in named parameters (#8504)
- Style: Use the shorthand of the
nullable
type (#8501) - Remove empty lines; correct space on closing square brackets, negative signs, and generic brackets (#8508)
- Remove space after new keyword in implicitly typed array allocation (#8505)
- The static keyword should be right after access modifier (#8506)
- Remove comments after closing bracket (#8503)
- Remove space character after
'!'
(#8507) - Style: Remove extra space before colon in named parameters (#8504)
Tools
- Recommend Azure DevOps extension inside VS-Code for better
YAML
editing. (#8403) (Thanks @bergmeister!) -AddToPath
re-implementation ininstall-powershell.ps1
(#8081) (Thanks @glachancecmaisonneuve!)- Change the feed
URL
to feed name due to changes inAzDevOps
(#8664) - Batch merge builds together while a merge build is running (#8668)
- Fix grammar in stale bot message (#8660) (Thanks @RDIL!)
- Add macOS files to
.gitignore
(#8456) (Thanks @RDIL!) - Name the spelling yaml something more appropriate (#8601) (Thanks @RDIL!)
- Add script to create
icns
files. (#7456) (Thanks @thezim!) - Pass
nugetkey
as parameter (#8461) - Add
gitkracken
files togitignore
(#8434) (Thanks @RDIL!) - Create release process issue template (#8417)
- Support for
linuxmint
ininstallpsh-debian.sh
(#8440) (Thanks @DarwinJS!) - Enable
install-powershell.ps1
to useMSI
(#8418)
Tests
- Remove broken
HelpUri
fromCimTest
(#8688) (Thanks @xtqqczze!) - Remove appveyor environment checks (#8669) (Thanks @RDIL!)
- Adding tests for
PSDiagnostics Module
(#8431) (Thanks @kvprasoon!) - Increase diagnose-ability of Link Checker failures (#8667)
- Fix broken urls (#8653)
- Update fuzzy test to fix daily build (#8629)
- Create link check task (#8471) (Thanks @RDIL!)
- Add Tests for
ConfirmImpact
Ratings (#8214) (Thanks @vexx32!) - Fix style issues in xUnit tests (#8465) (Thanks @iSazonov!)
- Move
xUnit
tests in new folder (#8356) (Thanks @iSazonov!) - Fix environment variable test and add missing null check in
CommandHelpProvider
(#8408) - Remove
dotnet
dependency to start WebListener (#8390)
Build and Packaging Improvements
- Update Third Party Notices (#8415)
- Adding yaml for Windows Release builds (#8374)
- Bump
NJsonSchema
from9.13.1
to9.13.2
(#8422) - Do not ship fullclr binaries of
PackageManagement
(#8700) (Thanks @bergmeister!) - Fix the build for
fxdependent
build fordotnet sdk
(#8670) - Add Windows build to universal release build YAML (#8695)
- Remove
Debian 8
references as it is EOL (#8678) - Build(deps): Bump
NJsonSchema
from9.13.14
to9.13.15
(#8671) - Build package build using ubuntu 18.04 image (#8666)
- Fix a typo in
packaging.psm1
(#8647) (Thanks @sethvs!) - Add function to create a framework dependent package
dotnet-sdk
containers (#8644) - Build(deps): Bump
NJsonSchema
from9.13.13
to9.13.14
(#8648) - Build(deps): Bump
PowerShellGet
from2.0.3
to2.0.4
(#8649) - Fix installing
fpm
andronn
in macOS CI by avoid installing docs for them (#8656) - Build(deps): Bump
Markdig.Signed
from0.15.6
to0.15.7
(#8637) - Build(deps): Bump
System.Security.Cryptography.Pkcs
from4.5.1
to4.5.2
(#8614) - Build(deps): Bump
System.Net.Http.WinHttpHandler
from4.5.1
to4.5.2
(#8615) - Build(deps): Bump
NJsonSchema
from9.13.11
to9.13.13
(#8616) - Build(deps): Bump
System.Text.Encoding.CodePages
from4.5.0
to4.5.1
(#8613) - Enable install of Preview MSI release side-by-side with Stable release (#8513)
- Get macOS to publish daily build to nugetfeed (#8464)
- Build(deps): Bump
Markdig.Signed
from0.15.5
to0.15.6
(#8558) - Build(deps): Bump
NJsonSchema
from9.13.10
to9.13.11
(#8569) - Remove duplicate
Open Here
context menu item upgrading to newer Preview release (#8496) - Bump
NJsonSchema
from9.13.9
to9.13.10
(#8511) - Bump
NJsonSchema
from9.13.7
to9.13.9
(#8498) - Bump
NJsonSchema
...