Repository navigation
v7.0.0-preview.2 Release of PowerShell
Pre-release
Pre-release
·
4244 commits
to master
since this release
v7.0.0-preview.2 - 07/17/2019
Breaking Changes
- Cleanup workflow - remove
PSProxyJob(#10083) (Thanks Ilya (@iSazonov)!) - Disable
Enter-PSHostProcesscmdlet when system in lock down mode (Internal 9168) - Consider
DBNull.ValueandNullString.Valuethe same as$nullwhen comparing with$nulland casting to bool (#9794) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!)
Engine Updates and Fixes
- Allow methods to be named after keywords (#9812) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!)
- Create
JumpListinSTAthread as someCOMAPIsare strictlySTAonly to avoid sporadicCLRcrashes (#9928) (#10057) (Thanks Christoph Bergmeister (@bergmeister)!) - Skip
JumpListonNanoServerandIoT(#10164) - Display
COMmethod signature with argument names (#9858) (Thanks nbkalex!) - Use the original precision (prior-dotnet-core-3) for double/float-to-string conversion (#9893)
Import-DscResourceshould allow to overwrite DSC built-in resources. (#9879)- Add ability to pass
InitialSessionStateto 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
-splitoperator (#8960) (Thanks Jacob Scott (@ece-jacob-scott)!)
General Cmdlet Updates and Fixes
- Support DSC compilation on Linux. (#9834)
- Add alias for Service
StartType(#9940) (Thanks NB (@NeoBeum)!) - Add
-SecurityDescriptorSddlparameter toSet-Service(#8626) (Thanks PRASOON KARUNAN V (@kvprasoon)!) - Fix auto-download of files when enumerating files from a
OneDrivefolder (#9895) - Set request headers when request body is empty in Web Cmdlets (#10034) (Thanks Mark Kraus (@markekraus)!)
- Fix wrong comparison in
CertificateProvider(#9987) (Thanks Ilya (@iSazonov)!) - Sync docs changes into the embedded help for
pwsh(#9952) - Display Duration when displaying
HistoryInfo(#9751) (Thanks Keith Hill (@rkeithhill)!) - Update console startup and help
urlfor PowerShell docs (#9775) - Make
UseAbbreviationExpansionandTempDriveofficial features (#9872) - Fix
Get-ChildItem -Pathwith wildcardchar(#9257) (Thanks kwkam!)
Performance
- Add another fast path to
WildcardPattern.IsMatchfor patterns that only have an asterisk in the end (#10054) (Thanks Ilya (@iSazonov)!) - Move some of the creations of
WildcardPatternin outer loop to avoid unnecessary allocation (#10053) (Thanks Ilya (@iSazonov)!) - Make
Foreach-Object2 times faster by reducing unnecessary allocations and boxing (#10047) - Use a static cache for
PSVersionInfo.PSVersionto avoid castingSemanticVersiontoVersionevery time accessing that property (#10028) - Reduce allocations in
NavigationCmdletProvider.NormalizePath()(#10038) (Thanks Ilya (@iSazonov)!) - Add fast path for wildcard patterns that contains no wildcard characters (#10020)
- Avoid
Assembly.GetName()inClrFacade.GetAssemblies(string)to reduce allocations ofCultureInfoobjects (#10024) (Thanks Ilya (@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 -Cleanlogic ofgit cleanto ignore locked files fromVS2019(#10071) (Thanks Christoph Bergmeister (@bergmeister)!) - Indent fix in
markdown-link.tests.ps1(#10049) (Thanks Reece Dunham (@RDIL)!) Start-PSBuild -Cleandoes not remove all untracked files (#10022) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!)- Add module to support Pester tests for automating debugger commands (
stepInto,stepOut, etc.), along with basic tests (#9825) (Thanks Kirk Munro (@KirkMunro)!) - Remove
markdownlinttests due to security issues (#10163)
Code Cleanup
- Cleanup
CompiledScriptBlock.cs(#9735) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!) - Cleanup workflow code (#9638) (Thanks Ilya (@iSazonov)!)
- Use
AddOrUpdate()instead ofRemovethenAddto register runspace (#10007) (Thanks Ilya (@iSazonov)!) - Suppress
PossibleIncorrectUsageOfAssignmentOperatorrule violation by adding extra parenthesis (#9460) (Thanks xtqqczze!) - Use
AddRangeinGetModules()(#9975) (Thanks Ilya (@iSazonov)!) - Code cleanup: use
IndexOf(char)overload (#9722) (Thanks Ilya (@iSazonov)!) - Move
constsand methods to singleCharExtensionsclass (#9992) (Thanks Ilya (@iSazonov)!) - Cleanup: Use
EndsWith(char)andStartsWith(char)(#9994) (Thanks Ilya (@iSazonov)!) - Remove
LCIDToLocaleNameP/InvokefromGetComputerInfoCommand(#9716) (Thanks Ilya (@iSazonov)!) - Cleanup Parser tests (#9792) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!)
- Remove
EtwActivityempty constructor and make minor style fixes (#9958) (Thanks Reece Dunham (@RDIL)!) - Fix style issues from last commits (#9937) (Thanks Ilya (@iSazonov)!)
- Remove dead code about
IsTransparentProxy(#9966) - Fix minor typos in code comments (#9917) (Thanks Reece Dunham (@RDIL)!)
- Style fixes for
CimAsyncOperations(#9945) (Thanks Reece Dunham (@RDIL)!) - Fix minor
CodeFactorstyle issues inModuleCmdletBase(#9915) (Thanks Reece Dunham (@RDIL)!) - Clean up the use of
SetProfileRootandStartProfilein ConsoleHost (#9931) - Fix minor style issues come from last commits (#9640) (Thanks Ilya (@iSazonov)!)
- Improve whitespace for Parser tests (#9806) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!)
- Use new
string.ConCat()inProcess.cs(#9720) (Thanks Ilya (@iSazonov)!) - Code Cleanup: Tidy up
scriptblock.cs(#9732) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!)
Tests
- Mark
Set-Servicetests with password asPending(#10146) - Fix test password generation rule to meet Windows complexity requirements (#10143)
- Add test for
New-Item -Force(#9971) (Thanks Robert Dyjas (@robdy)!) - Fix gulp versions (#9916) (Thanks Reece Dunham (@RDIL)!)
- Indentation fixes in
ci.psm1(#9947) (Thanks Reece Dunham (@RDIL)!) - Remove some
Travis-CIreferences (#9919) (Thanks Reece Dunham (@RDIL)!) - Improve release testing Docker images (#9942) (Thanks Reece Dunham (@RDIL)!)
- Use
yarnto install global tools (#9904) (Thanks Reece Dunham (@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
netDumbsterto2.0.0.4(#9748) - Fix daily
CodeCoverageAndTestbuild by explicitly callingStart-PSBootStrap(#9724) - Split the
fxdependentpackage 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
preview5topreview6and related out of bandNugetpackages from2.1to3.0-preview6(#9888) (Thanks Christoph Bergmeister (@bergmeister)!) - Add to
/etc/shellson macOS (#10066) - Bump
Markdig.Signedfrom0.17.0to0.17.1(#10062) - Update copyright symbol for
NuGetpackages (#9936) - Download latest version
(6.2.0)ofPSDesiredStateConfigurationnugetpackage. (#9932) - Add automated
RPMsigning to release build (#10013) - Bump
ThreadJobfrom1.1.2to2.0.1in/src/Modules(#10003) - Bump
PowerShellGetfrom2.1.4to2.2in /src/Modules (#9933) (#10085) - Bump
PackageManagementfrom1.4to1.4.3in/src/Modules(#9820) (#9918) (#10084) - Update to use
TSAv2(#9914) - Bump
NJsonSchemafrom9.14.1to10.0.21(#9805) (#9843) (#9854) (#9862) (#9875) (#9885) (#9954) (#10017) - Bump
System.Net.Http.WinHttpHandlerfrom4.5.3to4.5.4(#9786) - Bump
Microsoft.ApplicationInsightsfrom2.9.1to2.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
gitterbadge (#9920) (Thanks Reece Dunham (@RDIL)!) - Update
READMEandmetadata.jsonfor7.0.0-preview.1release (#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
- AF5C54559942CE2FBBC200AAAD221F00B3F9EA772F4D06E5AD2380A63F4C200E
- powershell-preview-7.0.0_preview.2-1.rhel.7.x86_64.rpm
- 94059118461045B7A43DEFE1C093A2FEEFC58F93958B4B68A9E7955C9692068B