# PR Summary Add link to Github compare in `CHANGELOG\preview.md` ## PR Context follow-up #11652 ## PR Checklist - [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - Use the present tense and imperative mood when describing your changes - [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress). - If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready. - **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)** - [x] None - **OR** - [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md) - [ ] Experimental feature name(s): <!-- Experimental feature name(s) here --> - **User-facing changes** - [x] Not Applicable - **OR** - [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - [ ] Issue filed: <!-- Number/link of that issue here --> - **Testing - New and feature** - [x] N/A or can only be tested interactively - **OR** - [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting) - **Tooling** - [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted. - **OR** - [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include: - Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell) for VSCode (which runs in a different PS Host). - Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features. - Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) (which provides linting & formatting in the editor extensions). - Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
15 KiB
15 KiB
Current preview release
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, 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[])
andAssembly.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 ofStart-Process
cmdlet on Windows (#10830) (Thanks @iSazonov!) - Add
-Shuffle
switch toGet-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
toGet-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
forGet-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
toGet-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 convertingScriptBlock
todelegate
(#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
from10.1.11
to10.1.12
(#12230) - Update change log generation script to support collapsible sections (#12214)
Documentation and Help Content
- Add documentation for
WebResponseObject
andBasicHtmlWebResponseObject
properties (#11876) (Thanks @kevinoid!) - Add Windows 10 IoT Core reference in
Adopters.md
(#12266) (Thanks @parameshbabu!) - Update
README.md
andmetadata.json
for7.1.0-preview.1
(#12211)
7.1.0-preview.1 - 2020-03-26
Breaking Changes
- Use invariant culture string conversion for
-replace
operator (#10954) (Thanks @iSazonov!)
Engine Updates and Fixes
- Revert the PRs that made
DBNull.Value
andNullString.Value
treated as$null
(#11648)
Experimental Features
- Use invariant culture string conversion for
-replace
operator (#10954) (Thanks @iSazonov!)
General Cmdlet Updates and Fixes
- Fix an operator preference order issue in binder code (#12075) (Thanks @DamirAinullin!)
- Fix
NullReferenceException
when 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
IOException
inGet-FileHash
(#11944) (Thanks @iSazonov!) - Change
PowerShell Core
toPowerShell
in a resource string (#11928) (Thanks @alexandair!) - Bring back
MainWindowTitle
inPSHostProcessInfo
(#11885) (Thanks @iSazonov!) - Miscellaneous minor updates to Windows Compatibility (#11980)
- Fix
ConciseView
to splitPositionMessage
using[Environment]::NewLine
(#12010) - Remove network hop restriction for interactive sessions (#11920)
- Fix
NullReferenceException
inSuspendStoppingPipeline()
andRestoreStoppingPipeline()
(#11870) (Thanks @iSazonov!) - Generate GUID for
FormatViewDefinition
InstanceId
if not provided (#11896) - Fix
ConciseView
where error message is wider than window width and doesn't have whitespace (#11880) - Allow cross-platform
CAPI-compatible
remote key exchange (#11185) (Thanks @silijon!) - Fix error message (#11862) (Thanks @NextTurn!)
- Fix
ConciseView
to handle case where there isn't a console to obtain the width (#11784) - Update
CmsCommands
to use Store vs certificate provider (#11643) (Thanks @mikeTWC1984!) - Enable
pwsh
to work on Windows systems wherempr.dll
and STA is not available (#11748) - Refactor and implement
Restart-Computer
forUn*x
and macOS (#11319) - Add an implementation of
Stop-Computer
for Linux and macOS (#11151) - Fix
help
function to check ifless
is available before using (#11737) - Update
PSPath
incertificate_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 toPSCustomObject
inSelect-Object
only once (#11548) (Thanks @iSazonov!) - Add
-AsUTC
to theGet-Date
cmdlet (#11611) - Fix grouping behavior with Boolean values in
Format-Hex
(#11587) (Thanks @vexx32!) - Make
Test-Connection
always 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-Command
job dispose. (#11388) - Revert "Update formatter to not write newlines if content is empty (#11193)" (#11342) (Thanks @iSazonov!)
- Allow
CompleteInput
to return results fromArgumentCompleter
whenAST
or 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.NewLine
instead of hard-coded linefeed inParseError.ToString
(#11746) - Fix
FileSystem
provider error message (#11741) (Thanks @iSazonov!) - Reformat code according to
EditorConfig
rules (#11681) (Thanks @xtqqczze!) - Replace use of throw
GetExceptionForHR
withThrowExceptionForHR
(#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-ComputerInfo
cmdlet description (#11321) (Thanks @doctordns!) - Fix typo in description for
Get-ExperimentalFeature
PSWindowsPowerShellCompatibility
(#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.csharp
toms-dotnettools.csharp
(#12083) (Thanks @devlead!) - Specify
csharp_preferred_modifier_order
inEditorConfig
(#11775) (Thanks @xtqqczze!) - Update
.editorconfig
(#11675) (Thanks @xtqqczze!) - Enable
EditorConfig
support inOmniSharp
(#11627) (Thanks @xtqqczze!) - Specify charset in
.editorconfig
asutf-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.md
file to fix broken link (#12041) - Add helper functions for SSH remoting tests (#11955)
- Add new tests for
Get-ChildItem
forFileSystemProvider
(#11602) (Thanks @iSazonov!) - Ensure that types referenced by
PowerShellStandard
are 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-link
tests (#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
x86
PDB generation (#12167) - Bump
NJsonSchema
from10.1.5
to10.1.11
(#12050) (#12088) (#12166) - Create
crossgen
symbols for Windowsx64
andx86
(#12157) - Move to
.NET 5 preview.1
(#12140) - Bump
Microsoft.CodeAnalysis.CSharp
from3.4.0
to3.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.Signed
from0.18.1
to0.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
dotnet
may return error when SDK is not installed (#11972) - Fix daily package build (#11882)
- Fix package sorting for syncing to private Module Feed (#11838)
- Set
StrictMode
version3.0
(#11563) (Thanks @xtqqczze!) - Bump
.devcontainer
version to dotnet3.1.101
(#11707) (Thanks @Jawz84!) - Move to version 3 of
AzFileCopy
(#11697) - Update
README.md
andmetadata.json
for 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
VSCode
link 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.md
andmetadata.json
for the next release (#11918) (#11992) - Update
Adopters.md
to 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
inADOPTERS.md
(#11703) - Update
CHANGELOG.md
for6.2.4
release (#11699) - Update
README.md
andmetadata.json
for 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.md
andmetadata.json
for7.0.0-rc.1
release (#11363) - Add
AzFunctions
toADOPTERS.md
(#11311) (Thanks @Francisco-Gamino!) - Add
Universal Dashboard
toADOPTERS.md
(#11283) (Thanks @adamdriscoll!) - Add
config.yml
forISSUE_TEMPLATE
so that Doc, Security, Support, and Windows PowerShell issues go to URLs (#11153) - Add
Adopters.md
file (#11256) - Update
Readme.md
forpreview.6
release (#11108) - Update
SUPPORT.md
(#11101) (Thanks @mklement0!) - Update
README.md
(#11100) (Thanks @mklement0!)