PowerShell v6.2.0-preview.4 Release Notes

Release Date: 2019-01-28 // about 5 years ago
  • 🔄 Changelog

    v6.2.0-preview.4 - 2019-01-28

    💥 Breaking Changes

    • ➕ Add -Stable to Sort-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 in Import-Csv to bind to Get-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 to Format-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 using Format-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 and clear to work over remoting (#8609)
    • 🛠 Fix LiteralPath in Import-Csv to bind to Get-ChildItem output (#8277) (Thanks @iSazonov!)
    • 👉 Make scriptblock based calculated properties work again in ConvertTo-Html (#8427) (Thanks @mklement0!)
    • 🛠 Fix Join-String cmdlet FormatString 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 remove clear alias from Unix (#8603)
    • help function shouldn't use pager for AliasHelpInfo (#8552)
    • 🛠 Fix XML nesting bug in CustomSerializer.WriteMemberInfoCollection() (#8476) (Thanks @IISResetMe!)
    • ➕ Add -UseMinimalHeader to Start-Transcript to minimize transcript header (#8402) (Thanks @lukexjeremy!)

    Code Cleanup

    • ✂ Remove the no longer used RunspaceConfigurationEntry types (#8424)
    • ✂ Remove unneeded catch/throw from mkdir and oss 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 and bool instead of Char and Boolean (#8572) (Thanks @iSazonov!)
    • 💅 Style: Use the type alias string instead of String 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 with string.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[] to object[] (#8526) (Thanks @iSazonov!)
    • 💅 Style: Change Object to object (#8522) (Thanks @iSazonov!)
    • 💅 Style: Change UInt64? to ulong? (#8527) (Thanks @iSazonov!)
    • 💅 Style: Change Byte{} to byte[] (#8525) (Thanks @iSazonov!)
    • Code cleanup: Add space after closing brace where needed (#8530)
    • 💅 Style: Change System.Boolean to bool (#8521) (Thanks @iSazonov!)
    • 🔄 Change String to string for simple references (#8519)
    • 🔄 Change Int32 to int 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 in install-powershell.ps1 (#8081) (Thanks @glachancecmaisonneuve!)
    • 🔄 Change the feed URL to feed name due to changes in AzDevOps (#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 to gitignore (#8434) (Thanks @RDIL!)
    • 🚀 Create release process issue template (#8417)
    • 👌 Support for linuxmint in installpsh-debian.sh (#8440) (Thanks @DarwinJS!)
    • Enable install-powershell.ps1 to use MSI (#8418)

    ✅ Tests

    • ✂ Remove broken HelpUri from CimTest (#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 from 9.13.1 to 9.13.2 (#8422)
    • 📦 Do not ship fullclr binaries of PackageManagement (#8700) (Thanks @bergmeister!)
    • 🛠 Fix the build for fxdependent build for dotnet sdk (#8670)
    • ➕ Add Windows build to universal release build YAML (#8695)
    • ✂ Remove Debian 8 references as it is EOL (#8678)
    • 🏗 Build(deps): Bump NJsonSchema from 9.13.14 to 9.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 from 9.13.13 to 9.13.14 (#8648)
    • 🏗 Build(deps): Bump PowerShellGet from 2.0.3 to 2.0.4 (#8649)
    • 🛠 Fix installing fpm and ronn in macOS CI by avoid installing docs for them (#8656)
    • 🏗 Build(deps): Bump Markdig.Signed from 0.15.6 to 0.15.7 (#8637)
    • 🔒 Build(deps): Bump System.Security.Cryptography.Pkcs from 4.5.1 to 4.5.2 (#8614)
    • 🏗 Build(deps): Bump System.Net.Http.WinHttpHandler from 4.5.1 to 4.5.2 (#8615)
    • 🏗 Build(deps): Bump NJsonSchema from 9.13.11 to 9.13.13 (#8616)
    • 🏗 Build(deps): Bump System.Text.Encoding.CodePages from 4.5.0 to 4.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 from 0.15.5 to 0.15.6 (#8558)
    • 🏗 Build(deps): Bump NJsonSchema from 9.13.10 to 9.13.11 (#8569)
    • ✂ Remove duplicate Open Here context menu item upgrading to newer Preview release (#8496)
    • ⬆️ Bump NJsonSchema from 9.13.9 to 9.13.10 (#8511)
    • ⬆️ Bump NJsonSchema from 9.13.7 to 9.13.9 (#8498)
    • ⬆️ Bump NJsonSchema from 9.13.4 to 9.13.7 (#8493)
    • ⬆️ Bump NJsonSchema from 9.13.3 to 9.13.4 (#8462)
    • 🛠 Fix daily NuGet publishing (#8460)
    • ⬆️ Bump NJsonSchema from 9.13.2 to 9.13.3 (#8457)
    • ⬆️ Bump Markdig.Signed from 0.15.4 to 0.15.5 (#8444)

    📚 Documentation and Help Content

    • ✂ Remove unused AppVeyor links from README.md (#8685) (Thanks @RDIL!)
    • ⚡️ Update README.md (#8684)
    • ⚡️ Update Package Management license to MIT (#8676) (Thanks @RDIL!)
    • 👍 Create Support File (#8618) (Thanks @RDIL!)
    • ⚡️ Update git clone URL (#8673) (Thanks @RDIL!)
    • 📄 docs(contributing): add link check information (#8659) (Thanks @RDIL!)
    • ⚡️ Update License and Third Party Notice (#8646)
    • 🚀 Update README, metadata.json and changelog for release 6.1.2 (#8658)
    • 🛠 Fix typo in README.md (#8642) (Thanks @MarkTiedemann!)
    • 🛠 Fix some typos in the README (#8623) (Thanks @RDIL!)
    • ✂ Remove en-us from docs.microsoft.com URL (#8628) (Thanks @xtqqczze!)
    • ⚡️ Update examples for hosting PSCore and remove old outdated examples (#8472) (Thanks @bergmeister!)
    • ⚡️ Update the pull request template (#8624) (Thanks @RDIL!)
    • 👷 Contributing guidelines: Remove references to Travis CI and AppVeyor (#8617) (Thanks @RDIL!)
    • ⚡️ Update code coverage analysis document (#8543) (Thanks @xtqqczze!)
    • ✂ Remove en-us from our doc links (#8602)
    • Document First-time-issue and Hackathon/Hacktoberfest labels (#8575)
    • ⚡️ Updated linux build link (#8579) (Thanks @jwmoss!)
    • ⚡️ Update contributing guidelines doc to run spellchecking in English (#8473) (Thanks @RDIL!)
    • ⚡️ Updating links to point to new VS Code docs (#8468)

    🚀 SHA256 Hashes of the release artifacts

    • 🐧 powershell-6.2.0-preview.4-linux-alpine-x64.tar.gz
      • 9C3217B4598913867840C495190DC09D45D70C4A43F95DF36BF4850292909D95
    • 🐧 powershell-6.2.0-preview.4-linux-arm32.tar.gz
      • B6E7BCE7874D310108D155C3B5346E4C3B9E8B80FB93270FA718BE60D82DC11B
    • 🐧 powershell-6.2.0-preview.4-linux-arm64.tar.gz
      • 30634F76535ABA29672F89FB2A51DC3CCAF7EB9AAF70100FC92D7E4F2567F6CE
    • 🐧 powershell-6.2.0-preview.4-linux-x64-fxdependent.tar.gz
      • 9DCC555E7E2460B29D7434AC71C79E1BBCCCB318DBEAFE4718B4F437022FDD9B
    • 🐧 powershell-6.2.0-preview.4-linux-x64.tar.gz
      • C622A539718776734C2435010061CAD60E5DC243FA89CCC7478DB0473D3674DD
    • powershell-6.2.0-preview.4-osx-x64.pkg
      • 67BA409491792F524EAEB61EA3253D47FB41F1814F6A01B6836B7A9688535FAC
    • powershell-6.2.0-preview.4-osx-x64.tar.gz
      • A6FB5F3072CC611F4A0EBE90D5148D7BDB9AB2252420137417668ED08A0AE634
    • PowerShell-6.2.0-preview.4-win-arm32.zip
      • A730707FBD6227BD0794DAEAA24FB4E7488B97D16BFFC0A4A1EB8F93856A357D
    • PowerShell-6.2.0-preview.4-win-arm64.zip
      • 741DAF4E94EB621A2F632DD5AE0967D562AA1A48D4CAF27E6A821CD770A9880F
    • PowerShell-6.2.0-preview.4-win-fxdependent.zip
      • 833CFB970524207E5D06CFA8BA7B8D15D099404E3C789F25893945BA6C97A2A5
    • PowerShell-6.2.0-preview.4-win-x64.msi
      • B64D7D803D10D6FB14FF7B87283912FD6FEA69A67DFEEFF6C481201D3086695C
    • PowerShell-6.2.0-preview.4-win-x64.zip
      • C6978B584829777D32413D646551BF88E4C78B165FDE89C1152CB9ECEDD6E748
    • PowerShell-6.2.0-preview.4-win-x86.msi
      • 875FC975AE4D98FF852D6B56108C681BBB97F3A80E7031E706430A86391C99B6
    • PowerShell-6.2.0-preview.4-win-x86.zip
      • 5FBF9AE6C625D201EF54F5289579AFD3E6A904EDA7B4BEE98C1A9CAE1A618296
    • powershell-preview-6.2.0_preview.4-1.rhel.7.x86_64.rpm
      • 44BB95C28D332B7A91C2058E4BDA10686894D16F017E0AB90DB8ADCECE2F0A8F
    • powershell-preview_6.2.0-preview.4-1.debian.9_amd64.deb
      • EECCB05B38B4BE0AA27453767B60E469782024DBF3FFC1693DAA02B7D7D1C1B3
    • powershell-preview_6.2.0-preview.4-1.ubuntu.14.04_amd64.deb
      • 0F91DB70819B6CCCE20B0CB0E3E2FE4B3ABA5E429EB1BB157F60EE92E0A9DB22
    • powershell-preview_6.2.0-preview.4-1.ubuntu.16.04_amd64.deb
      • 072DBA0412B7154641E131B22DB0271D2FB0294808F2DC496BD83E4A56F458B0
    • powershell-preview_6.2.0-preview.4-1.ubuntu.18.04_amd64.deb
      • D174D6BF71FAD6763F0BB8A0C5E875B6BB38A3946739D579D33C0D565D70BD7B