Repository navigation
v7.0.0-preview.1 Release of PowerShell
Pre-release
Pre-release
·
4438 commits
to master
since this release
v7.0.0-preview.1 - 05/30/2019
Breaking Changes
- Disable the debugger when in system lock-down mode (#9645)
- Fix
Get-Module -FullyQualifiedNameoption to work with paths (#9101) (Thanks pougetat (@pougetat)!) - Fix
-NoEnumeratebehavior inWrite-Output(#9069) (Thanks Rain Sallow (/u/ta11ow) (@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 Kirk Munro (@KirkMunro)!)
- Add support for
ValidateRangeKindtoParameterMetadata.GetProxyAttributeData(#9059) (Thanks Chris Dent (@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 Ilya (@iSazonov)!)
- Fixing test run crash by not passing script block to the callback (#9298)
- Add Binary Parsing Support & Refactor
TryGetNumberValue&ScanNumberHelper(#7993) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!) - Add PowerShell remoting enable/disable cmdlet warning messages (#9203)
- Add
xsdforcdxml(#9177) - Improve formatting performance by having better primitives on
PSObject(#8785) (Thanks Staffan Gustafsson (@powercode)!) - Improve type inference of array literals and foreach statement variables (#8100) (Thanks Patrick Meinecke (@SeeminglyScience)!)
- Fix for
FormatTableremote deserialization regression (#9116) - Get
MethodInfofrom .NET public type with explicit parameter types (#9029) (Thanks Ilya (@iSazonov)!) - Add retry logic to the operation that updates
powershell.config.json(#8779) (Thanks Ilya (@iSazonov)!) - Update the task-based
asyncAPIs added to PowerShell to return a Task object directly (#9079) - Add 5
InvokeAsyncoverloads andStopAsyncto thePowerShelltype (#8056) (Thanks Kirk Munro (@KirkMunro)!) - Remove unused cached types (#9015)
General Cmdlet Updates and Fixes
- Fix use of unicode ellipsis in
XMLfor truncating error messages (#9589) - Improve error message in FileSystemProvider when removing a folder containing hidden or read only files (#9551) (Thanks Ilya (@iSazonov)!)
- Enable recursion into
OneDriveby not treating placeholders as symlinks (#9509) - Change
MatchTypeforEnumerationOptionsto beWin32making this consistent with Windows PowerShell (#9529) - Add Support for null Usernames in Web Cmdlet Basic Auth (#9536) (Thanks Mark Kraus (@markekraus)!)
- Fix null reference when
Microsoft.PowerShell.Utilityis loaded as asnapinin hosting scenarios (#9404) - Update width of
DateTimeto accommodate change in JapanDateTimeformat with new era starting 5/1/19 (#9503) - Fix
Get-Runspacerunspace object format Type column (#9438) - Return correct casing of filesystem path during normalization (#9250)
- Move warning message to
EndProcessingso it only shows up once (#9385) - Fix the platform check in
CimDSCParser.cs(#9338) - New
New-PSBreakpointcmdlet & new-Breakpointparameter forDebug-Runspace(#8923) - Fix help paging issues on macOS/Linux and with custom pager that takes arguments (#9033) (Thanks Keith Hill (@rkeithhill)!)
- Add
QuoteFieldsparameter toConvertTo-CsvandExport-Csv(#9132) (Thanks Ilya (@iSazonov)!) - Fix progress for Get-ComputerInfo (#9236) (Thanks Staffan Gustafsson (@powercode)!)
- Add
ItemSeparatorandAltItemSeparatorproperties inProviderInfo(#8587) (Thanks Rene Hernandez (@renehernandez)!) - Add timestamp to
pshosttrace listener (#9230) - Implement
Get-Random -Countwithout specifying anInputObjectlist (#9111) (Thanks pougetat (@pougetat)!) - Enable
SecureStringcmdlets for non-Windows (#9199) - Add Obsolete message to
Send-MailMessage(#9178) - Fix
Restart-Computerto work onlocalhostwhen WinRM is not present (#9160) - Make
Start-Jobthrow terminating exception when-RunAs32is specified in 64-bit pwsh (#9143) - Make
Start-Jobthrow terminating error when PowerShell is being hosted (#9128) - Made
-Subjectparameter ofSend-MailMessagecommand no longer mandatory. (#8961) (Thanks Jacob Scott (@ece-jacob-scott)!) - Make
New-ModuleManifestconsistent withUpdate-ModuleManifest(#9104) (Thanks pougetat (@pougetat)!) - Add support for empty
NotePropertyinGroup-Object(#9109) (Thanks Ilya (@iSazonov)!) - Remove
HardlinkfromModeproperty in default file system format (#8789) (Thanks Staffan Gustafsson (@powercode)!) - Fixing issue with help progress with
Get-Helpnot callingCompleted(#8788) (Thanks Staffan Gustafsson (@powercode)!) - Allow
Test-ModuleManifestto work whenRootModulehas no file extension (#8687) (Thanks pougetat (@pougetat)!) - Add
UseQuotesparameter toExport-CsvandConvertTo-Csvcmdlets (#8951) (Thanks Ilya (@iSazonov)!) - Update version for
PowerShell.Nativeand hosting tests (#8983) - Refactor shuffle in
Get-Randomto save a full iteration of the objects. (#8969) (Thanks Gaurav Kamath (@st0le)!) - Suggest
-Id pidforGet-Process pid(#8959) (Thanks Muhammed Imran (@MohiTheFish)!)
Code Cleanup
Attributes.cs- Style / Formatting Fixes (#9625) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!)- Remove Workflow from
PSSessionType(#9618) (Thanks Ilya (@iSazonov)!) - Update use of "PowerShell Core" to just "PowerShell" (#9513)
- Use
IPGlobalPropertieson all platforms for getting host name (#9530) (Thanks Ilya (@iSazonov)!) - Remove
IsSymLink()P/Invoke on Unix (#9534) (Thanks Ilya (@iSazonov)!) - Cleanup unused P/Invokes on Unix (#9531) (Thanks Ilya (@iSazonov)!)
- Update use of
Windows PowerShellto justPowerShell(#9508) - Cleanup: sort
usings(#9490) (Thanks Ilya (@iSazonov)!) - Cleanup
Export-CommandfromAssemblyInfo(#9455) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for
System.Management.Automation(#9402) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter with
BraceNewLine,UsingLocation,FormatDocument,NewLineAboverules (#9393) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for
WSMan.Management(#9400) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for
WSMan.Runtime(#9401) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for
Securitymodule (#9399) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for
MarkdownRender(#9398) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for
Eventing(#9394) (Thanks Ilya (@iSazonov)!) - Use
Environment.NewLinefor new lines inConsoleHostcode (#9392) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for Diagnostics module (#9378) (Thanks Ilya (@iSazonov)!)
- Run CodeFormatter for
Microsoft.PowerShell.Commands.Management(#9377) (Thanks Ilya (@iSazonov)!) - Run CodeFormatter for Utility module (#9376) (Thanks Ilya (@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 Ilya (@iSazonov)!) - Fix StyleCop Hungarian Notation (#9281) (Thanks Ilya (@iSazonov)!)
- Style: Update StyleCop rules (#8500)
- Enhance the P/Invoke code for
LookupAccountSidinProcess.cs(#9197) (Thanks Ilya (@iSazonov)!) - Fix coding style for
NewModuleManifestCommand(#9134) (Thanks pougetat (@pougetat)!) - Remove unused method
CredUIPromptForCredentialfromHostUtilities.cs(#9220) (Thanks Ilya (@iSazonov)!) - Remove non-existent paths from
.csprojfiles (#9214) (Thanks ThreeFive-O!) - Typo in new parameter set (#9205)
- Minor
FileSystemProvidercleanup (#9182) (Thanks Reece Dunham (@RDIL)!) - Cleanup style issues in
CoreAdapterandMshObject(#9190) (Thanks Ilya (@iSazonov)!) - Minor cleanups in
Process.cs(#9195) (Thanks Ilya (@iSazonov)!) - Refactor
ReadConsoleP/Invoke inConsoleHost(#9165) (Thanks Ilya (@iSazonov)!) - Clean up
Get-Randomcmdlet (#9133) (Thanks pougetat (@pougetat)!) - Fix to not pass
StringBuilderby reference (outorref) in P/Invoke (#9066) (Thanks Ilya (@iSazonov)!) - Update AppVeyor comments in
Implicit.Remoting.Tests.ps1(#9020) (Thanks Reece Dunham (@RDIL)!) - Remove AppImage from tools (#9100) (Thanks Bram Crielaard (@Geweldig)!)
- Using supported syntax for restoring warnings - Visual Studio 2019 complains about enable. (#9107) (Thanks Staffan Gustafsson (@powercode)!)
- Use
Type.EmptyTypesandArray.Empty<T>()to replace our custom code of the same functionality (#9042) (Thanks Ilya (@iSazonov)!) - Rename private methods in
MshCommandRuntime.cs(#9074) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!) - Cleanup & update
ErrorRecordclass code style (#9021) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!) - Remove unused cached types from
CachedReflectionInfo(#9019) (Thanks Ilya (@iSazonov)!) - Fix CodeFactor brace style issues in
FileSystemProvider(#8992) (Thanks Reece Dunham (@RDIL)!) - Use
List.AddRangeto optimize-Split(#9001) (Thanks Ilya (@iSazonov)!) - Remove Arch Linux Dockerfile (#8990) (Thanks Reece Dunham (@RDIL)!)
- Cleanup
dllimport(#8847) (Thanks Ilya (@iSazonov)!)
Tools
- Convert custom attribute
ValidatePathNotInSettingsto function (#9406) - Create
DependaBotconfig.yml(#9368) - Add more users to failures detection and fix alias for static analysis (#9292)
- Make
install-powershell.ps1work on Windows Server 2012 R2 (#9271) - Enable
PoshChanfor getting and automatic retrieval of test failures for a PR (#9232) - Fix capitalization cases for
PoshChan(#9188) (Thanks Reece Dunham (@RDIL)!) - Update to new format for
PoshChansettings and allow all users access to reminders (#9198) - Fix settings to use dashes instead of underscore (#9167)
- Fix
AzDevOpscontext names and add all PowerShell team members (#9164) - Add settings for
PoshChan(#9162) - Adding
CmdletsToExportandAliasesToExportto test module manifests. (#9108) (Thanks Staffan Gustafsson (@powercode)!) - Delete Docker manifest creation script (#9076) (Thanks Reece Dunham (@RDIL)!)
- Make install scripts more consistent over different operating systems (#9071) (Thanks Bram Crielaard (@Geweldig)!)
- Comment cleanup in
releaseTools.psm1(#9064) (Thanks Reece Dunham (@RDIL)!) - Fix duplicate recommendation of Azure DevOps extension for Visual Studio Code (#9032) (Thanks ThreeFive-O!)
- Code coverage artifacts (#8993)
Tests
- Update version tests to use
NextReleaseVersionfrommetadata.json(#9646) - Convert Windows CI to stages (#9607)
- Multiple test fixes and improved logging for fragile tests (#9569)
- Add unit and feature tests for
Send-MailMessage(#9213) (Thanks ThreeFive-O!) - Update to Pester
4.8.0(#9510) - Ensure
Wait-UntilTruereturns$truein Pester tests (#9458) (Thanks xtqqczze!) - Adding tests for
Remove-Module(#9276) (Thanks pougetat (@pougetat)!) - Allow CI to run on branches with this name pattern:
feature*(#9415) - Mark tests in macOS CI which use
AppleScriptas pending/inconclusive (#9352) - Reduce time for stack overflow test (#9302)
- Added more tests for
Import-Aliasby file regarding parsing difficult aliases strings (#9247) (Thanks Sytze Andringa (@SytzeAndr)!) - Move from
npmtoYarnfor markdown tests (#9312) (Thanks Reece Dunham (@RDIL)!) - Only search for functions in Constrained Language help tests (#9301)
- Fix skipping of tests in
RemoteSession.Basic.Tests.ps1(#9304) - Make sure non-Windows CI fails when a test fails (#9303)
- Update tests to account for when
$PSHOMEis read only (#9279) - Add tests for command globbing (#9180)
- Fix tab completion test to handle multiple matches (#8891)
- Refactor macOS CI so that tests run in parallel (#9056)
- Fix
Enter-PSHostProcesstests flakiness (#9007) - Add source for
Install-Packageto installnetDumbster(#9081) - Style fixes for
Select-Xmltests (#9037) (Thanks ThreeFive-O!) - Enable cross-platform
Send-MailMessagetests for CI (#8859) (Thanks ThreeFive-O!) - Added
RequireSudoOnUnixtags toPowerShellGettests and remove pending parameter (#8954) (Thanks Reece Dunham (@RDIL)!) - Style fixes for
ConvertTo-Xmltests (#9036) (Thanks ThreeFive-O!) - Align name schemes for test files (#9034) (Thanks ThreeFive-O!)
- Pending
NamedPipeConnectionInfotest (#9003) (Thanks Ilya (@iSazonov)!) - Add test for
-WhatIfforNew-FileCatalog(#8966) (Thanks Matt Jankowski (@mjanko5)!)
Build and Packaging Improvements
- Fix the PowerShell version number in MSI packages (Internal 8547)
- Add cleanup before building test package (Internal 8529)
- Update version for SDK tests and
Microsoft.PowerShell.Nativepackage (Internal 8512) - Update the target framework for reference assemblies to
netcoreapp3.0(Internal 8510) - Fix syncing modules from PowerShell gallery by normalizing version numbers (Internal 8504)
- Add
tsaVersionproperty asTsaV1for compliance build phase (#9176) - Add ability to cross compile (#9374)
- Add
AcessTokenvariable to jobs that perform signing (#9351) - Add CI for
install-powershell.shand Amazon Linux (#9314) - Add component detection to all jobs (#8964)
- Add Preview assets for
MSIX(#9375) - Add secret scanning to CI (#9249)
- Build test packages for
windows,linux-x64,linux-arm,linux-arm64andmacOS(#9476) - Bump
gulpfrom4.0.0to4.0.2(#9441, #9544) - Bump
Markdig.Signedfrom0.15.7to0.17.0(#8981, #9579) - Bump
Microsoft.CodeAnalysis.CSharpfrom2.10.0to3.1.0(#9277, 9653) - Bump
Microsoft.PowerShell.Nativefrom6.2.0-rc.1to6.2.0(#9200) - Bump
Microsoft.Windows.Compatibilityfrom2.0.1to2.1.1(#9605) - Bump
Newtonsoft.Jsonfrom12.0.1to12.0.2(#9431, #9434) - Bump
NJsonSchemafrom9.13.19to9.14.1(#9044, #9136, #9166, #9172, #9184, #9196, #9265, #9349, #9388, #9421, #9429, #9478, #9523, #9616) - Bump
PackageManagementfrom1.3.1to1.4(#9567, #9650) - Bump
PowerShellGetfrom2.0.4to2.1.4in /src/Modules (#9110, #9145, #9600, #9691) - Bump
PSReadLinefrom2.0.0-beta3to2.0.0-beta4(#9554) - Bump
SelfSignedCertificate(#9055) - Bump
System.Data.SqlClientfrom4.6.0to4.6.1(#9601) - Bump
System.Net.Http.WinHttpHandlerfrom4.5.2to4.5.3(#9333) - Bump
Microsoft.PowerShell.Archivefrom1.2.2.0to1.2.3.0(#9593) - Check to be sure that the test result file has actual results before uploading (#9253)
- Clean up static analysis config (#9113) (Thanks Reece Dunham (@RDIL)!)
- Create
codecoverageand test packages for non-Windows (#9373) - Create test package for macOS on release builds (#9344)
- Disable Homebrew analytics in macOS Azure DevOps builds (#9130) (Thanks Reece Dunham (@RDIL)!)
- Enable building of
MSIXpackage (#9289) - Enable building on Kali Linux (#9471)
- Fix artifact Download issue in release build (#9095)
- Fix build order in
windows-dailybuild (#9275) - Fix dependencies of NuGet build to wait on
DEBuploads to finish (#9118) - Fix
MSIUpgrade failure for preview builds (#9013) - Fix publishing daily
nupkgto MyGet (#9269) - Fix the failed test and update
Publish-TestResultsto make Azure DevOps fail the task when any tests failed (#9457) - Fix variable name in
windows-daily.yml(#9274) - Fixed Dockerfile syntax highlighting (#8991) (Thanks Reece Dunham (@RDIL)!)
- Make
CodeCoverageconfiguration build portable symbol files (#9346) - Make Linux CI parallel (#9209)
- Move artifacts to artifact staging directory before uploading (#9273)
- Performance improvements for release build (#9179)
- Preserve user shortcuts pinned to TaskBar during MSI upgrade (#9305) (Thanks Christoph Bergmeister (@bergmeister)!)
- Publish global tool packages to
pwshtoolblob and bug fixes (#9163) - Publish test package on release builds (#9063)
- Publish windows daily build to MyGet (#9288)
- Remove appveyor references from packaging tools (#9117) (Thanks Reece Dunham (@RDIL)!)
- Remove code from
CI.psm1to optionally run Feature tests (#9212) (Thanks Reece Dunham (@RDIL)!) - Remove duplicate
PoliChecktask and pin to specific version (#9297) - Run
Start-PSBootStrapin Code Coverage build to install .NET SDK (#9690) - Switch from
BMPtoPNGfor graphicalMSIinstaller assets (#9606) - Translate Skipped the test results into something Azure DevOps does NOT understand (#9124)
- Update Markdown test dependencies (#9075) (Thanks Reece Dunham (@RDIL)!)
- Update UML to represent SDK and Global tool builds (#8997)
- Use IL assemblies for NuGet packages to reduce size (#9171)
Documentation and Help Content
- Add checkbox to PR checklist for experimental feature use (#9619) (Thanks Kirk Munro (@KirkMunro)!)
- Updating committee membership (#9577) (Thanks Hemant Mahawar (@HemantMahawar)!)
- Update
CODEOWNERSfile to reduce noise (#9547) - add download link to
raspbian64to readme (#9520) - Update
Support_Question.md(#9218) (Thanks Rain Sallow (/u/ta11ow) (@vexx32)!) - Fix version of
PowerShellGetin changelog (#9335) - Update release process template to clarify that most tasks are coordinated by the release pipeline (#9238)
- Fix several problems in
WritingPesterTestsguideline (#9078) (Thanks ThreeFive-O!) - Update
ChangeLogfor6.2.0(#9245) - Update docs for
v6.2.0(#9229) - Update
feature-requestissue template to move instructions into comments. (#9187) (Thanks Michael Klement (@mklement0)!) - Update link to Contributing guide to new
PowerShell-Docrepo (#9090) (Thanks Ilya (@iSazonov)!) - Correct punctuation in
README.md(#9045) (Thanks Yash Raj Bharti (@yashrajbharti)!) - Update Docker
README.md(#9010) (Thanks Reece Dunham (@RDIL)!) - Update release process issue template (#9051) (Thanks Reece Dunham (@RDIL)!)
- Documentation Cleanup (#8851) (Thanks Reece Dunham (@RDIL)!)
- Update docs for
6.2.0-rc.1release (#9022) - Update release template (#8996)
SHA256 Hashes of the release artifacts
- powershell-7.0.0-preview.1-linux-alpine-x64.tar.gz
- 83B1FC5B4D1EEF1EF3A0AC9EE0CF3D78981C558BD356D81D81BF10D4FAE4BF7D
- powershell-7.0.0-preview.1-linux-arm32.tar.gz
- 16512976CFB277748AD7B8424C3CD095F2F1649C983D12AED517762D664B94DE
- powershell-7.0.0-preview.1-linux-arm64.tar.gz
- 13A6BBB129AE31B1841719A01C848FD44FC79DCAE1F468474406E00BD0EB7525
- powershell-7.0.0-preview.1-linux-x64.tar.gz
- BE470E89647E82428F6FDEC65BBBE6DBCD85464D5386C3E6911D27D9BD5407AF
- powershell-7.0.0-preview.1-linux-x64-fxdependent.tar.gz
- 6EFF76839A890D3357D15D951DB374B50FEF7AB9A2C313B9500D17CB504CB4CF
- powershell-7.0.0-preview.1-osx-x64.pkg
- 00F0E255D22AE7E05D498D1CA8596D2EB5C7E4567620F12E934B1E4D4DF15599
- powershell-7.0.0-preview.1-osx-x64.tar.gz
- 480D64537C95DBF162B429AE06AC91A3CD254910DDA3F6C953AAAD27CB77109C
- PowerShell-7.0.0-preview.1-win-arm32.zip
- A46CB51F445FAC4067C71AE42389153ED7656E772818EB97C7CD8321E3F8A6F4
- PowerShell-7.0.0-preview.1-win-arm64.zip
- B07EF60A4B2764DA1EAE27B5A536A59F5012A3BFB75E9AEE79E136828F6920D1
- PowerShell-7.0.0-preview.1-win-fxdependent.zip
- 4D1BB0012AF8C710505541297FC14E1DC8A8FCABBFA9F27BE3F580E375DFAF5A
- PowerShell-7.0.0-preview.1-win-x64.msi
- D4B6D58B0BFA791E3D613BEC89062579E58951EA07EEDAA54038F317EBBBAD0A
- PowerShell-7.0.0-preview.1-win-x64.zip
- D3A8926C19B264A1A6CC8F983B04A2C1E70F78EEA8054E00D45ABD216F7907C7
- PowerShell-7.0.0-preview.1-win-x86.msi
- 5543E6DF6126AC6DDA24F6B3B3F7343ACE7492329548F5CE2D6277A57D2301D1
- PowerShell-7.0.0-preview.1-win-x86.zip
- CD85B682FE39B30F74DDE9AE0FEF8E6AE33EE68006E14098DCEB53347FDA7B8D
- powershell-preview_7.0.0-preview.1-1.debian.9_amd64.deb
- 28EC27B3A490BDF7D536B545730A40357E607907426E42FE37E176B08230DBFE
- powershell-preview_7.0.0-preview.1-1.ubuntu.16.04_amd64.deb
- 3232132BB713577A6ABF794A5F5829C7C79BF23C7B24C2F1179E8970DEBB5230
- powershell-preview_7.0.0-preview.1-1.ubuntu.18.04_amd64.deb
- E6D43889D42127682F9248B30C8FF0D394D4C8C3B9758A19FCF04F713E9EF5B4
- powershell-preview-7.0.0_preview.1-1.rhel.7.x86_64.rpm
- 79290804A512340EB09975FC171EBB98167627CF43B265E1456CF6B1E8BEA48D