PowerShell v7.1.0-preview.2 Release Notes

Release Date: 2020-04-23 // about 4 years ago
  • 7.1.0-preview.2 - 2020-04-23

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ On Windows, Start-Process creates a process environment with
      all the environment variables from current session,
      0๏ธโƒฃ using -UseNewEnvironment creates a new default process environment (#10830) (Thanks @iSazonov!)
    • Do not wrap return result to PSObject when converting ScriptBlock to delegate (#10619)

    โšก๏ธ Engine Updates and Fixes

    • ๐Ÿ‘ Allow case insensitive paths for determining PSModulePath (#12192)
    • โž• Add PowerShell version 7.0 to compatible version list (#12184)
    • Discover assemblies loaded by Assembly.Load(byte[]) and Assembly.LoadFile (#12203)

    โšก๏ธ General Cmdlet Updates and Fixes

    • ๐Ÿ›  Fix WinCompat module loading to treat PowerShell 7 modules with higher priority (#12269)
    • Implement ForEach-Object -Parallel runspace reuse (#12122)
    • ๐Ÿ›  Fix Get-Service to not modify collection while enumerating it (#11851) (Thanks @NextTurn!)
    • Clean up the IPC named pipe on PowerShell exit (#12187)
    • ๐Ÿ›  Fix <img /> detection regex in web cmdlets (#12099) (Thanks @vexx32!)
    • ๐Ÿ‘ Allow shorter signed hex literals with appropriate type suffixes (#11844) (Thanks @vexx32!)
    • โšก๏ธ Update UseNewEnvironment parameter behavior of Start-Process cmdlet on Windows (#10830) (Thanks @iSazonov!)
    • โž• Add -Shuffle switch to Get-Random command (#11093) (Thanks @eugenesmlv!)
    • ๐Ÿ Make GetWindowsPowerShellModulePath compatible with multiple PS installations (#12280)
    • ๐Ÿ›  Fix Start-Job to work on systems that don't have Windows PowerShell registered as default shell (#12296)
    • Specifying an alias and -Syntax to Get-Command returns the aliased commands syntax (#10784) (Thanks @ChrisLGardner!)
    • ๐Ÿ‘‰ Make CSV cmdlets work when using -AsNeeded and there is an incomplete row (#12281) (Thanks @iSazonov!)
    • ๐Ÿ‘€ In local invocations, do not require -PowerShellVersion 5.1 for Get-FormatData in order to see all format data. (#11270) (Thanks @mklement0!)
    • โž• Added Support For Big Endian UTF-32 (#11947) (Thanks @NoMoreFood!)
    • ๐Ÿ›  Fix possible race that leaks PowerShell object dispose in ForEach-Object -Parallel (#12227)
    • โž• Add -FromUnixTime to Get-Date to allow Unix time input (#12179) (Thanks @jackdcasey!)
    • ๐Ÿ”„ Change default progress foreground and background colors to provide improved contrast (#11455) (Thanks @rkeithhill!)
    • ๐Ÿ›  Fix foreach -parallel when current drive is not available (#12197)
    • Do not wrap return result to PSObject when converting ScriptBlock to delegate (#10619)
    • โœ… Don't write DNS resolution errors on Test-Connection -Quiet (#12204) (Thanks @vexx32!)
    • ๐Ÿ‘ท Use dedicated threads to read the redirected output and error streams from the child process for out-of-proc jobs (#11713)

    Code Cleanup

    We thank the following contributors!

    @ShaydeNofziger, @RDIL

    • ๐Ÿ›  Fix erroneous comment in tokenizer.cs (#12206) (Thanks @ShaydeNofziger!)
    • ๐Ÿ›  Fix terms checker issues (#12189)
    • โšก๏ธ Update copyright notice to latest guidance (#12190)
    • CodeFactor cleanup (#12251) (Thanks @RDIL!)

    Tools

    • โšก๏ธ Update .NET dependency update script to include test csproj files (#12372)
    • ๐Ÿš€ Scripts to update to .NET prerelease version (#12284)

    โœ… Tests

    • ๐Ÿš€ Pin major Pester version to 4 to prevent breaking changes caused by upcoming release of v5 (#12262) (Thanks @bergmeister!)

    ๐Ÿ— Build and Packaging Improvements

    We thank the following contributors!

    @rkitover, @bergmeister

    • โž• Add the nuget.config from root to the temporary build folder (#12394)
    • โฌ†๏ธ Bump System.IO.Packaging (#12365)
    • โฌ†๏ธ Bump Markdig.Signed from 0.18.3 to 0.20.0 (#12379)
    • ๐Ÿš€ Bump to .NET 5 Preview 3 pre-release (#12353)
    • โฌ†๏ธ Bump PowerShellGet from 2.2.3 to 2.2.4 (#12342)
    • ๐Ÿง Linux: Initial support for Gentoo installations. (#11429) (Thanks @rkitover!)
    • โฌ†๏ธ Upgrade to .NET 5 Preview 2 (#12250) (Thanks @bergmeister!)
    • ๐Ÿ›  Fix the Sync PSGalleryModules to Artifacts build (#12277)
    • โฌ†๏ธ Bump PSReadLine from 2.0.0 to 2.0.1 (#12243)
    • โฌ†๏ธ Bump NJsonSchema from 10.1.11 to 10.1.12 (#12230)
    • โšก๏ธ Update change log generation script to support collapsible sections (#12214)

    ๐Ÿ“š Documentation and Help Content

    • โž• Add documentation for WebResponseObject and BasicHtmlWebResponseObject properties (#11876) (Thanks @kevinoid!)
    • โž• Add Windows 10 IoT Core reference in Adopters.md (#12266) (Thanks @parameshbabu!)
    • ๐Ÿ“‡ Update README.md and metadata.json for 7.1.0-preview.1 (#12211)

    ๐Ÿš€ SHA256 Hashes of the release artifacts

    • ๐Ÿง powershell-7.1.0-preview.2-linux-alpine-x64.tar.gz
      • 5B5DBF4AC125C50F36B9306C1EC61FF314180D59858B9C1FFC4D813F6A506B1C
    • ๐Ÿง powershell-7.1.0-preview.2-linux-arm32.tar.gz
      • 15D32B4EC0742BCAC90E65D4A69A0164B7121702E0120B1B8C272938B51895FA
    • ๐Ÿง powershell-7.1.0-preview.2-linux-arm64.tar.gz
      • 4ED223245935976345E6A98E4A80E1F30E35D5EC353FD620001D632FD4EA2853
    • ๐Ÿง powershell-7.1.0-preview.2-linux-x64.tar.gz
      • 675BB77E331E5E1A87DC51E3C46E9B53ECD73A14A09DC20B584DCEA73F012F41
    • ๐Ÿง powershell-7.1.0-preview.2-linux-x64-fxdependent.tar.gz
      • 92FD902ADA19EA45630C6B1A6ED25AE8CC7E1F3D3AA28B76CF88E16CB3C6F3B3
    • powershell-7.1.0-preview.2-osx-x64.pkg
      • BFC8D7E217D13C524BC55B415C56F5539A2A5D8ED1EFEC602FEE664C69703ED0
    • powershell-7.1.0-preview.2-osx-x64.tar.gz
      • 3DBF802402E43816396909A1B95FE65C2F135BB7991CD20EBB3D9423187D4F7D
    • PowerShell-7.1.0-preview.2-win-arm32.msix
      • A5B36F9ABC0AC5714FAE962B853E3C25DB50A6562AF867C122A8EC022DB7572A
    • PowerShell-7.1.0-preview.2-win-arm32.zip
      • DFBAACACC98B91F1BFD4A461D5E6C83977E93A92DF6E27DD70460D428FFCB8A9
    • PowerShell-7.1.0-preview.2-win-arm64.msix
      • F9FD16740FE88756459BBEF9F99DCB51D511195F6E8F2C922FF455DF7EFCB19F
    • PowerShell-7.1.0-preview.2-win-arm64.zip
      • 636A428CF8A34BF86CBAC67898C2A71CC7A58ECAD024B8878D6B273B9FE5F54F
    • PowerShell-7.1.0-preview.2-win-fxdependent.zip
      • 8BF3021057312895C1A108817605840A70A5F54639EBE5CBEF6D1F75F6BCC54F
    • PowerShell-7.1.0-preview.2-win-fxdependentWinDesktop.zip
      • B508400E76961D251F13856F92D55857A23327D1A6766E8D5212F29924080354
    • PowerShell-7.1.0-preview.2-win-x64.msi
      • 007B212E1F7A0B88AEC09F344D05482C9E50BB052FE3B2F3967C3C797A45762E
    • PowerShell-7.1.0-preview.2-win-x64.msix
      • 270B70609EBBA44DFC03D36BD90064261541335DE87C7FFFA7C9164D0A6F1A03
    • PowerShell-7.1.0-preview.2-win-x64.zip
      • C1784F36A84EFF3C5E19A3AF7FFA9E596096653444DDD4D95B149897FECE5F0F
    • PowerShell-7.1.0-preview.2-win-x86.msi
      • BB75E3C4227AD72A60197C667158480065590CF71E55D25C8C355B0D88ED6CBB
    • PowerShell-7.1.0-preview.2-win-x86.msix
      • 8521AC9159813D1E225C08CD961E9883ACFEE8BB1F3FC82FD5BEF20432353509
    • PowerShell-7.1.0-preview.2-win-x86.zip
      • 2FF88C9EEC3ADC132CDFA8C544A7D373E280A6F7CC03BCE08411B9C3C5820126
    • powershell-preview_7.1.0-preview.2-1.debian.10_amd64.deb
      • 22ECE17902304B3361CA3B6AC095A78C0FFF9CFCD691D1B9B2198883EB647D9E
    • powershell-preview_7.1.0-preview.2-1.debian.11_amd64.deb
      • 2DCC7DBA527668FEB204B0DE2131880035CD6C73DC2F21749ACCC6A5216FD5A3
    • powershell-preview_7.1.0-preview.2-1.debian.9_amd64.deb
      • AB234776C3C434F429E45A4D1316B1E3B6BA605F79BDDF72109F728AD415FC5F
    • powershell-preview_7.1.0-preview.2-1.ubuntu.16.04_amd64.deb
      • 8C811A5B1F64ACB99F3729C5EB9B5C86B5D986A17A2CE1316170C7F15CD87E3D
    • powershell-preview_7.1.0-preview.2-1.ubuntu.18.04_amd64.deb
      • 6CD3183D8C327D7D22D116DBCA594417B7EA1AD5832FB5646862E8511E0DAC3F
    • powershell-preview-7.1.0_preview.2-1.centos.8.x86_64.rpm
      • F405CCC1C3924E693E51B16B327B7274A1C4DE8A06B7717EE48B5895DA050647
    • powershell-preview-7.1.0_preview.2-1.rhel.7.x86_64.rpm
      • 05CDA7C3F1BB4E1A4FBF8DB9F1728D1DD5B333A4783ED3422D73B11B6A23B344