v7.1.0-preview.1 Release of PowerShell
Pre-release
Pre-release
·
3475 commits
to master
since this release
7.1.0-preview.1 - 2020-03-26
Note: We are building against .NET 5 preview 1 for this release. Please see PR #12140 for details.
Breaking Changes
Engine Updates and Fixes
- Revert the PRs that made
DBNull.ValueandNullString.Valuetreated as$null(#11648)
Experimental Features
General Cmdlet Updates and Fixes
- Fix an operator preference order issue in binder code (#12075) (Thanks @DamirAinullin!)
- Fix
NullReferenceExceptionwhen binding common parameters of typeActionPreference(#12124) - Fix default formatting for deserialized
MatchInfo(#11728) (Thanks @iSazonov!) - Use asynchronous streams in
Invoke-RestMethod(#11095) (Thanks @iSazonov!) - Address UTF-8 Detection In
Get-Content -Tail(#11899) (Thanks @NoMoreFood!) - Handle the
IOExceptioninGet-FileHash(#11944) (Thanks @iSazonov!) - Change 'PowerShell Core' to 'PowerShell' in a resource string (#11928) (Thanks @alexandair!)
- Bring back
MainWindowTitleinPSHostProcessInfo(#11885) (Thanks @iSazonov!) - Miscellaneous minor updates to Windows Compatibility (#11980)
- Fix
ConciseViewto splitPositionMessageusing[Environment]::NewLine(#12010) - Remove network hop restriction for interactive sessions (#11920)
- Fix
NullReferenceExceptioninSuspendStoppingPipeline()andRestoreStoppingPipeline()(#11870) (Thanks @iSazonov!) - Generate GUID for
FormatViewDefinitionInstanceIdif not provided (#11896) - Fix
ConciseViewwhere error message is wider than window width and doesn't have whitespace (#11880) - Allow cross-platform
CAPI-compatibleremote key exchange (#11185) (Thanks @silijon!) - Fix error message (#11862) (Thanks @NextTurn!)
- Fix
ConciseViewto handle case where there isn't a console to obtain the width (#11784) - Update
CmsCommandsto use Store vs certificate provider (#11643) (Thanks @mikeTWC1984!) - Enable
pwshto work on Windows systems wherempr.dlland STA is not available (#11748) - Refactor and implement
Restart-ComputerforUn*xand macOS (#11319) - Add an implementation of
Stop-Computerfor Linux and macOS (#11151) - Fix
helpfunction to check iflessis available before using (#11737) - Update
PSPathincertificate_format_ps1.xml(#11603) (Thanks @xtqqczze!) - Change regular expression to match relation-types without quotes in Link header (#11711) (Thanks @Marusyk!)
- Fix error message during symbolic link deletion (#11331)
- Add custom 'Selected.*' type to
PSCustomObjectinSelect-Objectonly once (#11548) (Thanks @iSazonov!) - Add
-AsUTCto theGet-Datecmdlet (#11611) - Fix grouping behavior with Boolean values in
Format-Hex(#11587) (Thanks @vexx32!) - Make
Test-Connectionalways use the default synchronization context for sending ping requests (#11517) - Correct startup error messages (#11473) (Thanks @iSazonov!)
- Ignore headers with null values in web cmdlets (#11424) (Thanks @iSazonov!)
- Re-add check for
Invoke-Commandjob dispose. (#11388) - Revert "Update formatter to not write newlines if content is empty (#11193)" (#11342) (Thanks @iSazonov!)
- Allow
CompleteInputto return results fromArgumentCompleterwhenASTor Script has matching function definition (#10574) (Thanks @M1kep!) - Update formatter to not write new lines if content is empty (#11193)
Code Cleanup
- Use span-based overloads (#11884) (Thanks @iSazonov!)
- Use new
string.Split()overloads (#11867) (Thanks @iSazonov!) - Remove unreachable DSC code (#12076) (Thanks @DamirAinullin!)
- Remove old dead code from FullCLR (#11886) (Thanks @iSazonov!)
- Use
Dictionary.TryAdd()where possible (#11767) (Thanks @iSazonov!) - Use
Environment.NewLineinstead of hard-coded linefeed inParseError.ToString(#11746) - Fix
FileSystemprovider error message (#11741) (Thanks @iSazonov!) - Reformat code according to
EditorConfigrules (#11681) (Thanks @xtqqczze!) - Replace use of throw
GetExceptionForHRwithThrowExceptionForHR(#11640) (Thanks @xtqqczze!) - Refactor delegate types to lambda expressions (#11690) (Thanks @xtqqczze!)
- Remove Unicode BOM from text files (#11546) (Thanks @xtqqczze!)
- Fix Typo in
Get-ComputerInfocmdlet description (#11321) (Thanks @doctordns!) - Fix typo in description for
Get-ExperimentalFeaturePSWindowsPowerShellCompatibility(#11282) (Thanks @alvarodelvalle!) - Cleanups in command discovery (#10815) (Thanks @iSazonov!)
- Review
currentculture(#11044) (Thanks @iSazonov!)
Tools
- Change recommended VS Code extension name from
ms-vscode.csharptoms-dotnettools.csharp(#12083) (Thanks @devlead!) - Specify
csharp_preferred_modifier_orderinEditorConfig(#11775) (Thanks @xtqqczze!) - Update
.editorconfig(#11675) (Thanks @xtqqczze!) - Enable
EditorConfigsupport inOmniSharp(#11627) (Thanks @xtqqczze!) - Specify charset in
.editorconfigasutf-8(no BOM) (#11654) (Thanks @xtqqczze!) - Configure the issue label bot (#11527)
- Avoid variable names that conflict with automatic variables (#11392) (Thanks @xtqqczze!)
Tests
- Add empty
preview.mdfile to fix broken link (#12041) - Add helper functions for SSH remoting tests (#11955)
- Add new tests for
Get-ChildItemforFileSystemProvider(#11602) (Thanks @iSazonov!) - Ensure that types referenced by
PowerShellStandardare present (#10634) - Check state and report reason if it's not "opened" (#11574)
- Fixes for running tests on Raspbian (#11661)
- Unify pester test syntax for the arguments of
-BeOfType(#11558) (Thanks @xtqqczze!) - Correct casing for automatic variables (#11568) (Thanks @iSazonov!)
- Avoid variable names that conflict with automatic variables part 2 (#11559) (Thanks @xtqqczze!)
- Update pester syntax to v4 (#11544) (Thanks @xtqqczze!)
- Allow error 504 (Gateway Timeout) in
markdown-linktests (#11439) (Thanks @xtqqczze!) - Re-balance CI tests (#11420) (Thanks @iSazonov!)
- Include URL in the markdown-links test error message (#11438) (Thanks @xtqqczze!)
- Use CIM cmdlets instead of WMI cmdlets in tests (#11423) (Thanks @xtqqczze!)
Build and Packaging Improvements
- Put symbols in separate package (#12169)
- Disable
x86PDB generation (#12167) - Bump
NJsonSchemafrom10.1.5to10.1.11(#12050) (#12088) (#12166) - Create
crossgensymbols for Windowsx64andx86(#12157) - Move to
.NET 5 preview.1(#12140) - Bump
Microsoft.CodeAnalysis.CSharpfrom3.4.0to3.5.0(#12136) - Move to standard internal pool for building (#12119)
- Fix package syncing to private Module Feed (#11841)
- Add Ubuntu SSH remoting tests CI (#12033)
- Bump
Markdig.Signedfrom0.18.1to0.18.3(#12078) - Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string (#11991)
- Ignore last exit code in the build step as
dotnetmay return error when SDK is not installed (#11972) - Fix daily package build (#11882)
- Fix package sorting for syncing to private Module Feed (#11838)
- Set
StrictModeversion3.0(#11563) (Thanks @xtqqczze!) - Bump
.devcontainerversion to dotnet3.1.101(#11707) (Thanks @Jawz84!) - Move to version 3 of
AzFileCopy(#11697) - Update
README.mdandmetadata.jsonfor next release (#11664) - Code Cleanup for environment data gathering in
build.psm1(#11572) (Thanks @xtqqczze!) - Update Debian Install Script To Support Debian 10 (#11540) (Thanks @RandomNoun7!)
- Update
ADOPTERS.md(#11261) (Thanks @edyoung!) - Change back to use powershell.exe in 'SetVersionVariables.yml' to unblock daily build (#11207)
- Change to use pwsh to have consistent JSON conversion for
DateTime(#11126)
Documentation and Help Content
- Replace
VSCodelink inCONTRIBUTING.md(#11475) (Thanks @stevend811!) - Remove the version number of PowerShell from LICENSE (#12019)
- Add the 7.0 change log link to
CHANGELOG/README.md(#12062) (Thanks @LabhanshAgrawal!) - Improvements to the contribution guide (#12086) (Thanks @ShaydeNofziger!)
- Update the doc about debugging dotnet core in VSCode (#11969)
- Update
README.mdandmetadata.jsonfor the next release (#11918) (#11992) - Update
Adopters.mdto include info on Azure Pipelines and GitHub Actions (#11888) (Thanks @alepauly!) - Add information about how Amazon AWS uses PowerShell. (#11365) (Thanks @bpayette!)
- Add link to .NET CLI version in build documentation (#11725) (Thanks @joeltankam!)
- Added info about DeploymentScripts in ADOPTERS.md (#11703)
- Update
CHANGELOG.mdfor6.2.4release (#11699) - Update
README.mdandmetadata.jsonfor next release (#11597) - Update the breaking change definition (#11516)
- Adding System Frontier to the PowerShell Core adopters list
ADOPTERS.md(#11480) (Thanks @OneScripter!) - Update
ChangeLog,README.mdandmetadata.jsonfor7.0.0-rc.1release (#11363) - Add
AzFunctionstoADOPTERS.md(#11311) (Thanks @Francisco-Gamino!) - Add
Universal DashboardtoADOPTERS.md(#11283) (Thanks @adamdriscoll!) - Add
config.ymlforISSUE_TEMPLATEso that Doc, Security, Support, and Windows PowerShell issues go to URLs (#11153) - Add
Adopters.mdfile (#11256) - Update
Readme.mdforpreview.6release (#11108) - Update
SUPPORT.md(#11101) (Thanks @mklement0!) - Update
README.md(#11100) (Thanks @mklement0!)
SHA256 Hashes of the release artifacts
- powershell-7.1.0-preview.1-linux-alpine-x64.tar.gz
- C7E5B469BBE2FA52B831781A116A8CF57ED148653EC316C5D1340EDAAFBF99AE
- powershell-7.1.0-preview.1-linux-arm32.tar.gz
- 50B523C0F8305A9D8C46A473928E070C7F3D18C07160D5C6DFEC5132B65A0501
- powershell-7.1.0-preview.1-linux-arm64.tar.gz
- 69DE8D06DEACED98BEBAD9C8A21B64820D4DF6E9F2AFFB902266666264114808
- powershell-7.1.0-preview.1-linux-x64.tar.gz
- E950A970DF5096B0E831F55F86F4FFABE4966F147E2EFE179DA6372BC2EEF235
- powershell-7.1.0-preview.1-linux-x64-fxdependent.tar.gz
- 7550BF921C501677971E5765B32C1A82934C533F3F09192EBB2E50115C2E4792
- powershell-7.1.0-preview.1-osx-x64.pkg
- 2950781506E4F25BB8E063AB1703B29D7C63D7BE1D373154C2F430D64BA58C85
- powershell-7.1.0-preview.1-osx-x64.tar.gz
- C6903D6E765C7A889A497F915321A187C0E43BF3D5D06BCB8FF45DAE18A35445
- PowerShell-7.1.0-preview.1-win-arm32.msix
- 53C9DB997FE10181A7883A5D560F5CCE08160AAE7E2C77A55767C208FBD5F671
- PowerShell-7.1.0-preview.1-win-arm32.zip
- D69B5B98D807ABD20F59A452A7120D1BD33262A51BB9A5268B0B96B3BA78EEED
- PowerShell-7.1.0-preview.1-win-arm64.msix
- 7B2B3FBBFCC1E928DBF37421DA98D30EE6AFFF2FB38BD103AA04174FA73F0E4A
- PowerShell-7.1.0-preview.1-win-arm64.zip
- DF2BEC2C9F97A65D8600F433C9D9E7FBD90C4D295A9C49CB03A42C03D6AD2622
- PowerShell-7.1.0-preview.1-win-fxdependent.zip
- 75827BC05A2C96DE0B6402864CA6162A793D0A62D118A38144632B1EC47924E7
- PowerShell-7.1.0-preview.1-win-fxdependentWinDesktop.zip
- 7CC5824656233B9AEC02834BF34EA5DA91F94763B6263FCB44F1D8D4E31649F3
- PowerShell-7.1.0-preview.1-win-x64.msi
- 41F0E6FF748F1246FC4F6D2E76DEC7537B9E65E885399F20E55E1802252961EC
- PowerShell-7.1.0-preview.1-win-x64.msix
- 9C9AB3EE4C8F579D62FC91DF72D5D1303493EDB0C6DB5A39D6A201BEB92823A7
- PowerShell-7.1.0-preview.1-win-x64.zip
- A9A6F163ED1087D16F647DDD1E6460BAA2B4E305D6ED63C0F280B236ABB93BA3
- PowerShell-7.1.0-preview.1-win-x86.msi
- 11CED04A2FA78C7CD453BCCFF9F8BA336D19158C883AEDAFD28A1267A68D8DDB
- PowerShell-7.1.0-preview.1-win-x86.msix
- 340941B743E35F3956E9B458CF07C8DEF5FB15937DFF28597D4437CA3BCD1659
- PowerShell-7.1.0-preview.1-win-x86.zip
- 48F1C4BC67A9B4F585EC3D4A1BE9D0CD734EE9198F50E7FD8747195461BD749C
- powershell-preview_7.1.0-preview.1-1.debian.10_amd64.deb
- 28DE256E4836DEEA1776AC61F54AAA1C5D64DBC39CF881C0F6AD9E80E888E7E1
- powershell-preview_7.1.0-preview.1-1.debian.11_amd64.deb
- 0124D387E00FE6216FAB5B522CDD4641C371ABB5E94D1FD969E76596D7C74151
- powershell-preview_7.1.0-preview.1-1.debian.9_amd64.deb
- 352306D19FB69FDC47EC44FC383819B7BE34D6E50D02ED53219415766908D6E6
- powershell-preview_7.1.0-preview.1-1.ubuntu.16.04_amd64.deb
- D56A9E8793679E68091675460811AFFD396246C2321D7BBB50F8C963EA0C3E99
- powershell-preview_7.1.0-preview.1-1.ubuntu.18.04_amd64.deb
- DE8266061E65145A366B6709F2CCEEA558D16431F1AD5E926F9ADD7C27AFE841
- powershell-preview-7.1.0_preview.1-1.centos.8.x86_64.rpm
- DB594146936868E9E979C3B641F05C29961253067ADE75AE13FAC4CD0FBE196A
- powershell-preview-7.1.0_preview.1-1.rhel.7.x86_64.rpm
- B29CF6622627F633D560A913104C3A2F7320A248A934B3DCBFEB56E95487B73F