Skip to content

v7.0.0-preview.1 Release of PowerShell

Pre-release
Pre-release

Choose a tag to compare

@TravisEz13 TravisEz13 released this 30 May 21:28
· 4438 commits to master since this release

v7.0.0-preview.1 - 05/30/2019

Breaking Changes

Engine Updates and Fixes

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 Ilya (@iSazonov)!)
  • Enable recursion into OneDrive by not treating placeholders as symlinks (#9509)
  • Change MatchType for EnumerationOptions to be Win32 making 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.Utility is loaded as a snapin in hosting scenarios (#9404)
  • Update width of DateTime to accommodate change in Japan DateTime 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 for Debug-Runspace (#8923)
  • Fix help paging issues on macOS/Linux and with custom pager that takes arguments (#9033) (Thanks Keith Hill (@rkeithhill)!)
  • Add QuoteFields parameter to ConvertTo-Csv and Export-Csv (#9132) (Thanks Ilya (@iSazonov)!)
  • Fix progress for Get-ComputerInfo (#9236) (Thanks Staffan Gustafsson (@powercode)!)
  • Add ItemSeparator and AltItemSeparator properties in ProviderInfo (#8587) (Thanks Rene Hernandez (@renehernandez)!)
  • Add timestamp to pshost trace listener (#9230)
  • Implement Get-Random -Count without specifying an InputObject list (#9111) (Thanks pougetat (@pougetat)!)
  • Enable SecureString cmdlets for non-Windows (#9199)
  • Add Obsolete message to Send-MailMessage (#9178)
  • Fix Restart-Computer to work on localhost 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 of Send-MailMessage command no longer mandatory. (#8961) (Thanks Jacob Scott (@ece-jacob-scott)!)
  • Make New-ModuleManifest consistent with Update-ModuleManifest (#9104) (Thanks pougetat (@pougetat)!)
  • Add support for empty NoteProperty in Group-Object (#9109) (Thanks Ilya (@iSazonov)!)
  • Remove Hardlink from Mode property in default file system format (#8789) (Thanks Staffan Gustafsson (@powercode)!)
  • Fixing issue with help progress with Get-Help not calling Completed (#8788) (Thanks Staffan Gustafsson (@powercode)!)
  • Allow Test-ModuleManifest to work when RootModule has no file extension (#8687) (Thanks pougetat (@pougetat)!)
  • Add UseQuotes parameter to Export-Csv and ConvertTo-Csv cmdlets (#8951) (Thanks Ilya (@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 Gaurav Kamath (@st0le)!)
  • Suggest -Id pid for Get-Process pid (#8959) (Thanks Muhammed Imran (@MohiTheFish)!)

Code Cleanup

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 Reece Dunham (@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 and AliasesToExport to 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 NextReleaseVersion from metadata.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-UntilTrue returns $true in 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 AppleScript as pending/inconclusive (#9352)
  • Reduce time for stack overflow test (#9302)
  • Added more tests for Import-Alias by file regarding parsing difficult aliases strings (#9247) (Thanks Sytze Andringa (@SytzeAndr)!)
  • Move from npm to Yarn for 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 $PSHOME is 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-PSHostProcess tests flakiness (#9007)
  • Add source for Install-Package to install netDumbster (#9081)
  • Style fixes for Select-Xml tests (#9037) (Thanks ThreeFive-O!)
  • Enable cross-platform Send-MailMessage tests for CI (#8859) (Thanks ThreeFive-O!)
  • Added RequireSudoOnUnix tags to PowerShellGet tests and remove pending parameter (#8954) (Thanks Reece Dunham (@RDIL)!)
  • Style fixes for ConvertTo-Xml tests (#9036) (Thanks ThreeFive-O!)
  • Align name schemes for test files (#9034) (Thanks ThreeFive-O!)
  • Pending NamedPipeConnectionInfo test (#9003) (Thanks Ilya (@iSazonov)!)
  • Add test for -WhatIf for New-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.Native package (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 tsaVersion property as TsaV1 for compliance build phase (#9176)
  • Add ability to cross compile (#9374)
  • Add AcessToken variable to jobs that perform signing (#9351)
  • Add CI for install-powershell.sh and 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-arm64 and macOS (#9476)
  • Bump gulp from 4.0.0 to 4.0.2 (#9441, #9544)
  • Bump Markdig.Signed from 0.15.7 to 0.17.0 (#8981, #9579)
  • Bump Microsoft.CodeAnalysis.CSharp from 2.10.0 to 3.1.0 (#9277, 9653)
  • Bump Microsoft.PowerShell.Native from 6.2.0-rc.1 to 6.2.0 (#9200)
  • Bump Microsoft.Windows.Compatibility from 2.0.1 to 2.1.1 (#9605)
  • Bump Newtonsoft.Json from 12.0.1 to 12.0.2 (#9431, #9434)
  • Bump NJsonSchema from 9.13.19 to 9.14.1 (#9044, #9136, #9166, #9172, #9184, #9196, #9265, #9349, #9388, #9421, #9429, #9478, #9523, #9616)
  • Bump PackageManagement from 1.3.1 to 1.4 (#9567, #9650)
  • Bump PowerShellGet from 2.0.4 to 2.1.4 in /src/Modules (#9110, #9145, #9600, #9691)
  • Bump PSReadLine from 2.0.0-beta3 to 2.0.0-beta4 (#9554)
  • Bump SelfSignedCertificate (#9055)
  • Bump System.Data.SqlClient from 4.6.0 to 4.6.1 (#9601)
  • Bump System.Net.Http.WinHttpHandler from 4.5.2 to 4.5.3 (#9333)
  • Bump Microsoft.PowerShell.Archive from 1.2.2.0 to 1.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 codecoverage and 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 MSIX package (#9289)
  • Enable building on Kali Linux (#9471)
  • Fix artifact Download issue in release build (#9095)
  • Fix build order in windows-daily build (#9275)
  • Fix dependencies of NuGet build to wait on DEB uploads to finish (#9118)
  • Fix MSI Upgrade failure for preview builds (#9013)
  • Fix publishing daily nupkg to MyGet (#9269)
  • Fix the failed test and update Publish-TestResults to 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 CodeCoverage configuration 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 pwshtool blob 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.psm1 to optionally run Feature tests (#9212) (Thanks Reece Dunham (@RDIL)!)
  • Remove duplicate PoliCheck task and pin to specific version (#9297)
  • Run Start-PSBootStrap in Code Coverage build to install .NET SDK (#9690)
  • Switch from BMP to PNG for graphical MSI installer 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

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