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 forSplit-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
tosystem32
folder (#12730)
General Cmdlet Updates and Fixes
- Fix
NullReferenceException
inCommandSearcher.GetNextCmdlet
(#12659) (Thanks @powercode!) - Prevent
NullReferenceException
in Unix computer cmdlets with test hooks active (#12651) (Thanks @vexx32!) - Fix issue in
Select-Object
whereHashtable
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
inConciseView
(#12778) - Flag
default
switch statement condition clause as keyword (#10487) (Thanks @msftrncs!) - Add parameter
SchemaFile
toTest-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 toRead-Host
(#10908) (Thanks @davinci26!) - Change
CimCmdlets
to useAliasAttribute
(#12617) (Thanks @thlac!)
Code Cleanup
We thank the following contributors!
- Use
nameof
operator (#12716) (Thanks @xtqqczze!) - Fix comments in Mshexpression.cs (#12711) (Thanks @sethvs!)
- Formatting: remove duplicate semicolons (#12666) (Thanks @xtqqczze!)
- Replace
SortedList
withGeneric.SortedList<TKey,TValue>
(#12954) (Thanks @xtqqczze!) - Use HashSet instead of Hashtable with null values (#12958) (Thanks @xtqqczze!)
- Rename
CopyItem.Tests.ps1
toCopy-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!)
- 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 inStyleCop
(#12855) (Thanks @xtqqczze!) - Add @TylerLeonhardt to PowerShell team list to correct changelog generation (#12927)
- Enable the upload of
ETW
traces toCLR 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!
- 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
to5.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
to2.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 to1.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
to5.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
to5.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
to5.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
from3.5.0
to3.6.0
(#12731)
Documentation and Help Content
- Update
README
andmetadata
files for next release (#12717) - Update
README.md
removing experimental status ofArm
builds, butWin-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
andmetadata.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
andmetadata.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