PowerShell v7.1.0-preview.4 Release Notes

Release Date: 2020-06-25 // about 5 years ago
  • 7.1.0-preview.4 - 2020-06-25

    Note : MSI installer packages have been removed due to #13035 till further investigation.

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ‘‰ Make the switch parameter -Qualifier not positional for Split-Path (#12960) (Thanks @yecril71pl!)
    • Resolve the working directory as literal path for Start-Process when it's not specified (#11946) (Thanks @NoMoreFood!)
    • ๐ŸŒ Make -OutFile parameter in web cmdlets to work like -LiteralPath (#11701) (Thanks @iSazonov!)

    โšก๏ธ Engine Updates and Fixes

    • Ensure null-coalescing LHS is evaluated only once (#12667)
    • ๐Ÿ›  Fix path handling bug in PSTask (#12554) (Thanks @IISResetMe!)
    • โœ‚ Remove extra line before formatting group (#12163) (Thanks @iSazonov!)
    • ๐Ÿ‘‰ Make module formatting not generate error with strict mode (#11943)
    • โž• Adding more ETW logs to WSMan plugin (#12798) (Thanks @krishnayalavarthi!)
    • Restrict loading of amsi.dll to system32 folder (#12730)

    โšก๏ธ General Cmdlet Updates and Fixes

    • ๐Ÿ›  Fix NullReferenceException in CommandSearcher.GetNextCmdlet (#12659) (Thanks @powercode!)
    • โœ… Prevent NullReferenceException in Unix computer cmdlets with test hooks active (#12651) (Thanks @vexx32!)
    • ๐Ÿ›  Fix issue in Select-Object where Hashtable members (e.g. Keys) cannot be used with -Property or -ExpandProperty (#11097) (Thanks @vexx32!)
    • ๐Ÿ›  Fix conflicting shorthand switch -w for pwsh (#12945)
    • ๐Ÿ“‡ Rename the CimCmdlet resource file (#12955) (Thanks @iSazonov!)
    • โœ‚ Remove use of Test-Path in ConciseView (#12778)
    • 0๏ธโƒฃ Flag default switch statement condition clause as keyword (#10487) (Thanks @msftrncs!)
    • โž• Add parameter SchemaFile to Test-Json cmdlet (#11934) (Thanks @beatcracker!)
    • Bring back Certificate provider parameters (#10622) (Thanks @iSazonov!)
    • ๐Ÿ›  Fix New-Item to create symbolic link to relative path target (#12797) (Thanks @iSazonov!)
    • โž• Add CommandLine property to Process (#12288) (Thanks @iSazonov!)
    • โž• Adds -MaskInput parameter to Read-Host (#10908) (Thanks @davinci26!)
    • ๐Ÿ”„ Change CimCmdlets to use AliasAttribute (#12617) (Thanks @thlac!)

    Code Cleanup

    We thank the following contributors!

    @xtqqczze, @sethvs, @romero126, @kvprasoon, @powercode

    • ๐Ÿ‘‰ Use nameof operator (#12716) (Thanks @xtqqczze!)
    • ๐Ÿ›  Fix comments in Mshexpression.cs (#12711) (Thanks @sethvs!)
    • ๐Ÿšš Formatting: remove duplicate semicolons (#12666) (Thanks @xtqqczze!)
    • Replace SortedList with Generic.SortedList<TKey,TValue> (#12954) (Thanks @xtqqczze!)
    • ๐Ÿ‘‰ Use HashSet instead of Hashtable with null values (#12958) (Thanks @xtqqczze!)
    • โœ… Rename CopyItem.Tests.ps1 to Copy-Item.Tests.ps1 to match other tests (#10701) (Thanks @romero126!)
    • ๐Ÿ›  Fix RCS1114: Remove redundant delegate creation (#12917) (Thanks @xtqqczze!)
    • ๐Ÿ›  Code redundancy fixes (#12916) (Thanks @xtqqczze!)
    • โšก๏ธ Update the PowerShell modules to use the new Help URI (#12686)
    • Reorder modifiers according to preferred order (#12864) (Thanks @xtqqczze!)
    • Expand numberOfPowershellRefAssemblies list capacity (#12840) (Thanks @xtqqczze!)
    • โž• Add readonly modifier to internal static members (#11777) (Thanks @xtqqczze!)
    • cleanup: Use coalesce expression (#12829) (Thanks @xtqqczze!)
    • โž• Add missing assessibility modifiers (#12820) (Thanks @xtqqczze!)
    • ๐Ÿ‘‰ Use t_ naming convention for ThreadStatic members (#12826) (Thanks @xtqqczze!)
    • Formatting: Add empty line between declarations (#12824) (Thanks @xtqqczze!)
    • 0๏ธโƒฃ Clarify defaultRefAssemblies list capacity in AddType.cs (#12520) (Thanks @xtqqczze!)
    • ๐Ÿ›  Fixing "Double "period" (..) in message for System.InvalidOperationException" (#12758) (Thanks @kvprasoon!)
    • ๐Ÿ‘ Rethrow to preserve stack details for better maintainability (#12723) (Thanks @xtqqczze!)
    • โœ‚ Delete license.rtf (#12738) (Thanks @xtqqczze!)
    • Nullable annotations for CommandSearcher (#12733) (Thanks @powercode!)
    • ๐Ÿšš Redundancy: Remove 'partial' modifier from type with a single part (#12725) (Thanks @xtqqczze!)
    • โœ‚ Remove phrase 'All rights reserved' from Microsoft copyright statements (#12722) (Thanks @xtqqczze!)
    • IDictionary -> IDictionary<string, FunctionInfo> for FunctionTable (#12658) (Thanks @powercode!)

    Tools

    • ๐ŸŒฒ Use correct isError parameter with Write-Log (#12989)
    • ๐Ÿ’… Disable NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter rule in StyleCop (#12855) (Thanks @xtqqczze!)
    • โž• Add @TylerLeonhardt to PowerShell team list to correct changelog generation (#12927)
    • ๐Ÿ Enable the upload of ETW traces to CLR CAP in Windows daily build (#12890)
    • โšก๏ธ Prevent GitHub workflow for daily dotnet build updates from running in forks (#12763) (Thanks @bergmeister!)
    • โž• Add GitHub action for PR creation and Wix file generation logic (#12748)

    โœ… Tests

    • โœ‚ Remove duplicate tests from Measure-Object.Tests.ps1 (#12683) (Thanks @sethvs!)
    • ๐Ÿ›  Fix tests to not write errors to console (#13010)
    • โœ… Make sure tabcompletion tests run (#12981)
    • โœ‚ Remove dependency on DNS for Test-Connection tests on macOS (#12943)
    • ๐Ÿ‘• Restore markdownlint tests (#12549) (Thanks @xtqqczze!)
    • โœ… Wrap tests in pester blocks (#12700) (Thanks @xtqqczze!)

    ๐Ÿ— Build and Packaging Improvements

    We thank the following contributors!

    @iSazonov, @kvprasoon, @Saancreed, @heaths, @xtqqczze

    • โšก๏ธ Update Distribution_Request.md
    • โฌ†๏ธ Bump NJsonSchema from 10.1.15 to 10.1.16 (#12685)
    • ๐Ÿ“ฆ Disable uploading Symbols package (#12687)
    • โšก๏ธ Update .NET SDK version from 5.0.100-preview.5.20279.10 to 5.0.100-preview.6.20318.15 (#13018)
    • โœ‚ Remove component ref when re-generating the wix file (#13019)
    • ๐Ÿ‘‰ Make sure icons are added to MSI staging folder (#12983)
    • ๐Ÿ“‡ Update DotnetRutimeMetadata.json to point to preview 6 (#12972)
    • โฌ†๏ธ Bump PSReadLine from 2.0.1 to 2.0.2 (#12909)
    • โฌ†๏ธ Bump NJsonSchema from 10.1.18 to 10.1.21 (#12944)
    • Check if Azure Blob exists before overwriting (#12921)
    • โœ… Enable skipped tests (#12894) (Thanks @iSazonov!)
    • ๐Ÿ›  Fix break in package build by pinning ffi version to 1.12 (#12889)
    • โฌ†๏ธ Upgrade APIScan version (#12876)
    • ๐Ÿš€ Make contributors unique in Release notes (#12878) (Thanks @kvprasoon!)
    • โšก๏ธ Update Linux daily CI to run in a single agent & collect traces (#12866)
    • โšก๏ธ Update .NET SDK version from 5.0.100-preview.5.20278.13 to 5.0.100-preview.5.20279.10 (#12844) (Thanks @github-actions[bot]!)
    • Sign the MSIX files for the store (#12582)
    • โšก๏ธ Update the CI builds (#12830)
    • โšก๏ธ Update .NET SDK version from 5.0.100-preview.5.20272.6 to 5.0.100-preview.5.20278.13 (#12772) (Thanks @github-actions[bot]!)
    • ๐Ÿ‘ Allow use of build module on unknown Linux distros (#11146) (Thanks @Saancreed!)
    • ๐Ÿ›  Fix MSI upgrade and shortcut issues (#12792) (Thanks @heaths!)
    • โฌ†๏ธ Bump NJsonSchema from 10.1.17 to 10.1.18 (#12812)
    • โšก๏ธ Update .NET SDK version from 5.0.100-preview.5.20269.29 to 5.0.100-preview.5.20272.6 (#12759) (Thanks @github-actions[bot]!)
    • โฌ†๏ธ Bump NJsonSchema from 10.1.16 to 10.1.17 (#12761)
    • โšก๏ธ Update to dotnet SDK 5.0.0-preview.5.20268.9 (#12740)
    • โœ‚ Remove assets\license.rtf (#12721) (Thanks @xtqqczze!)
    • โฌ†๏ธ Bump Microsoft.CodeAnalysis.CSharp from 3.5.0 to 3.6.0 (#12731)

    ๐Ÿ“š Documentation and Help Content

    • ๐Ÿš€ Update README and metadata files for next release (#12717)
    • ๐Ÿš€ Update README.md removing experimental status of Arm builds, but Win-Arm64 is still preview for Stable release. (#12707)
    • โž• Add link to Github compare in changelog (#12713) (Thanks @xtqqczze!)
    • โž• Added missing changelog for v7.1.0-preview.2 (#12665)
    • โšก๏ธ Update required Visual Studio version in build docs (#12628) (Thanks @xtqqczze!)
    • โšก๏ธ minor update to Distribution_Request.md (#12705) (Thanks @kilasuit!)
    • โšก๏ธ Update docs.microsoft.com links (#12653) (Thanks @xtqqczze!)
    • ๐Ÿš€ Update change log for 6.2.5 release (#12670)
    • ๐Ÿš€ Update README.md and metadata.json for next release (#12668)
    • ๐Ÿ”€ Merge 7.0.1 change log (#12669)
    • โœ‚ Remove markdown unused definitions (#12656) (Thanks @xtqqczze!)
    • โž• Add HoloLens to list of PowerShell adopters (#12940) (Thanks @reynoldsbd!)
    • ๐Ÿš€ Update README.md and metadata.json for next releases (#12939)
    • ๐Ÿ›  Fix broken link in README.md (#12887) (Thanks @xtqqczze!)
    • Minor typo corrections in Distribution Request Issue Templates (#12744) (Thanks @corbob!)
    • Correct 'review-for-comments' in Governance.md (#11035) (Thanks @MarvTheRobot!)
    • ๐Ÿ›  Fix markdown ordered lists (#12657) (Thanks @xtqqczze!)
    • ๐Ÿ›  Fix broken docs.microsoft.com link (#12776) (Thanks @xtqqczze!)
    • Replace link to Slack with link to PowerShell Virtual User Group (#12786) (Thanks @xtqqczze!)
    • โšก๏ธ Update LICENSE.txt so that it's recognized as MIT (#12729)

    ๐Ÿš€ SHA256 Hashes of the release artifacts

    • ๐Ÿง powershell-7.1.0-preview.4-linux-alpine-x64.tar.gz
      • 997289C18609BA13E6EAC6E37DA31F6FD871FED624705FE1A892021D6D9EE1D0
    • ๐Ÿง powershell-7.1.0-preview.4-linux-arm32.tar.gz
      • 23B24E2DEC8583D50DC8D48A380E15D5F4941A88A0258D2F5A98612C48D6B1F5
    • ๐Ÿง powershell-7.1.0-preview.4-linux-arm64.tar.gz
      • BF865A1CA368230B55B1483EB08D0D7CBBE59F258BC44C87B5736F9AFA374288
    • ๐Ÿง powershell-7.1.0-preview.4-linux-x64.tar.gz
      • 10A8CE6F294EEEF262413F855C798AFA40F8D96ACA368AFF978E3D6A3A8923ED
    • ๐Ÿง powershell-7.1.0-preview.4-linux-x64-fxdependent.tar.gz
      • 01FE879CBB98076976D0650629F3886CC8804B9B1C4D9E4AD802C2BE71D0C475
    • powershell-7.1.0-preview.4-osx-x64.pkg
      • ABF09C6F17E48EBAF88DF474E3E6136AEF35155EC324A88D65A2BE4BB5D2EF66
    • powershell-7.1.0-preview.4-osx-x64.tar.gz
      • 80E80F4C3D3587511FCB2520818B2735659765B59999AEDE43CD80BC34E9C6AD
    • PowerShell-7.1.0-preview.4-win-arm32.zip
      • ACAE3B0E21B08D13203BD6BA8188AB0311D6AA3A8EA849EEF9F5C2D7EEBF8A5A
    • PowerShell-7.1.0-preview.4-win-arm64.zip
      • B8583BE44CE9989728D958916C5CC84B8EAA9A107597953A45AFF4A4E46F1B08
    • PowerShell-7.1.0-preview.4-win-fxdependent.zip
      • 52AE59400C2CFC23AB8F6DBF9C8DFFD8EA158A6119FF9AB3C32C7FB410E97617
    • PowerShell-7.1.0-preview.4-win-fxdependentWinDesktop.zip
      • 47783183A0A68ECB68253EF1E8D33DEC35D131D0D76E870FEE6AF7866DED4A2C
    • PowerShell-7.1.0-preview.4-win-x64.zip
      • 57C3729E5772970167685B3324835289E5A4BBDE1C9D7DE358725F1168CC6D8D
    • PowerShell-7.1.0-preview.4-win-x86.zip
      • F21AD6DBDA5C7C533D81F6D400CE5555E17507B4982B7FA1DFBB1C4551C5CF23
    • powershell-preview_7.1.0-preview.4-1.debian.10_amd64.deb
      • FB0423937AF55C39284BD5F8BCD1A65322E4B2C6E8C7F3623427ABE62B04F0FB
    • powershell-preview_7.1.0-preview.4-1.debian.11_amd64.deb
      • 7EDF436D22F9FC539419024040FD1C185AE7DD23B6D188D5CA7E75768798025A
    • powershell-preview_7.1.0-preview.4-1.debian.9_amd64.deb
      • 658DBCD319EA58DFD90EDE93C4333168FEF8E6F09F7E6F6E14D982176D64CBF2
    • powershell-preview_7.1.0-preview.4-1.ubuntu.16.04_amd64.deb
      • D0BD977EB7FF3BBA3DACE96F79440D1AC30475C6E45ADDF0210FC3F9EF52D554
    • powershell-preview_7.1.0-preview.4-1.ubuntu.18.04_amd64.deb
      • 5F53A695C6D60923EF7DDB20AEEBC68F67DDAD1ED8A9B4484502FA3AAD8397AA
    • powershell-preview-7.1.0_preview.4-1.centos.8.x86_64.rpm
      • AE252C9DBB7CF5816B5D90CB6CD601066B052A9A0F82150F0706A58F431EAE0B
    • powershell-preview-7.1.0_preview.4-1.rhel.7.x86_64.rpm
      • E8C29169A07B13A4FD07793F99E4CAFB6E1FC371A77C17A2B06B7B9C30856DB5