CHANGELOG/7.2.md
Limited release for dotnet SDK container images.
<summary> <p>Update .NET 6 to 6.0.31 and how global tool is generated</p> </summary> <ul> <li>Fixes for change to new Engineering System.</li> <li>Create <code>powershell.config.json</code> for <code>PowerShell.Windows.x64</code> global tool (#23941) (#23942)</li> <li>Update change log for v7.2.20</li> <li>Update installation on Wix module (#23808)</li> <li>Updates to package and release pipelines (#23800)</li> <li>Use feed with Microsoft Wix toolset (#21651)</li> <li>update wix package install (#21537)</li> <li>Use PSScriptRoot to find path to Wix module (#21611)</li> <li>Create the Windows.x64 global tool with shim for signing (#21559)</li> <li>Add branch counter variables for daily package builds (#21523)</li> <li>Official PowerShell Package pipeline (#21504)</li> <li>Add a PAT for fetching PMC cli (#21503)</li> <li>[StepSecurity] Apply security best practices (#21480)</li> <li>Fix build failure due to missing reference in <code>GlobalToolShim.cs</code> (#21388)</li> <li>Fix argument passing in <code>GlobalToolShim</code> (#21333)</li> <li>Update .NET 6 to 6.0.31 (Internal 31302)</li> <li>Re-apply the OneBranch changes to packaging.psm1"</li> </ul> </details>README.md (#20235)ApplicationType (#18168)Invoke-WebRequest for downloading small files, and prevent file-download-error suppression (#18170)$PSStyle.Formatting (#18287)ForEach-Object -Parallel when passing in script block variable (#16564)Out-String and Out-File keep string input unchanged (#17455)ErrorView types to use $host.PrivateData colors (#17705)Export-PSSession to not throw error when a rooted path is specified for -OutputModule (#17671)PowerShellGet tests targeting PowerShell gallery (#17062)$PSStyle.OutputRendering to Ansi (Internal 18394)HelpInfoUri for 7.2 release (#16456)UseMU in the MSI (#16543)Microsoft.ApplicationInsights to not send cloud role name (#16246)Add-Type in NoLanguage mode on a locked down machine (#16245)Move-Item an error (#16198)FileSystemInfo.Target from a CodeProperty to an AliasProperty that points to FileSystemInfo.LinkTarget (#16165)PlainText when writing to a host that doesn't support VT (#16092)AppExecLinks to retrieve target (#16044)GetOuputString() and GetFormatStyleString() to PSHostUserInterface as public API (#16075)isOutputRedirected parameter to GetFormatStyleString() method (#14397)ConvertTo-SecureString with key regression due to .NET breaking change (#16068)Move-Item to only fallback to CopyAndDelete in specific cases (#16029)$? correctly for command expression with redirection (#16046)CurrentCulture when handling conversions to DateTime in Add-History (#16005) (Thanks @vexx32!)NullReferenceException in Format-Wide (#15990) (Thanks @DarylGraves!).stylecop to filetypexml and format it (#16025)Get-Process tests (#15845) (Thanks @iSazonov!)$PSStyle.OutputRendering to OutputRendering.Host and remove OutputRendering.Automatic (#15882)CA1052 for public API to make classes static when they only have static methods (#15775) (Thanks @xtqqczze!)pwsh.exe -File to only accept .ps1 script files on Windows (#15859)-PassThru parameter to Set-Clipboard (#13713) (Thanks @ThomasNieto!)-Encoding parameter for Tee-Object (#12135) (Thanks @Peter-Schneider!)ConvertTo-Csv and Export-Csv to handle IDictionary objects (#11029) (Thanks @vexx32!)-Exception and -ErrorRecord for Write-Error to be position 0 (#13813) (Thanks @ThomasNieto!)ArgumentList when creating COM object with New-Object as it's not applicable to the COM parameter set (#15915)$PSStyle list output to correctly show TableHeader (#15928)PSImplicitRemotingBatching experimental feature (#15863)Get-Process -Module failing to stop when it's piped to Select-Object (#15682) (Thanks @ArmaanMcleod!)PSUnixFileStat, PSCultureInvariantReplaceOperator, PSNotApplyErrorActionToStderr, PSAnsiRendering, PSAnsiProgressFeatureName stable (#15864)Remove-Item to work with OneDrive (#15571) (Thanks @iSazonov!)ServerRemoteHost version to be same as PSVersion (#15809)HttpKnownHeaderNames thread safe (#15519) (Thanks @iSazonov!)ConvertTo-Csv: Quote fields with quotes and newlines when using -UseQuotes AsNeeded (#15765) (Thanks @lselden!)Foreach-Object -Parallel runspaces (#14271) (Thanks @powercode!)$PSStyle to reject printable text when setting a property that only expects ANSI escape sequence (#15825)/rebase to automatically rebase a PR (#15808).editorconfig to not replace tabs with spaces in .tsv files (#15815) (Thanks @SethFalco!)Measure-Object property test independent of the file system (#15879)syslog parsing error occurs (#15857)syslog entries to be sure that we select based on the process ID (#15841)README and metadata files for release v7.2.0-preview.8 (#15819)$PSNativeCommandArgumentPassing that allows some commands to use legacy argument passing (#15408)nameof to get parameter names when creating ArgumentNullException (#15604) (Thanks @gukoff!)Microsoft.PowerShell.Crescendo to telemetry allow list (#15372)$PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output (#14406)Message and underline in PositionMessage for Get-Error (#15786)FileInfo filenames (#14403)DateTime and string types (#15665)HyperVSocketEndPoint.ServiceId setter (#15704) (Thanks @xtqqczze!)DetailedView to $ErrorView (#15609)SkipRoslynAnalyzers parameter to Start-PSBuild (#15640) (Thanks @xtqqczze!)DocumentationAnalyzers to build (#14336) (Thanks @xtqqczze!)ConvertFrom-Json (#15706) (Thanks @strawgate!)glob-parent and hosted-git-info test dependencies (#15643)Get-Error (#15737)ProductVersion using informational version attribute in AmsiUtils.Init() (#15527) (Thanks @Fs00!)Start-Benchmarking to put TargetPSVersion and TargetFramework in separate parameter sets (#15508)win-x86 test package to the build (#15517)mdspell command to exclude the folder that should be ignored (#15576)README.md (#15557)FileSystemProvider.cs (#15445) (Thanks @eltociear!)PipelineStoppedException notes to PowerShell API (#15324)PSCommand (#15568) (Thanks @octos4murai!)LanguagePrimitives.UpdateTypeConvertFromTypeTable (#15168) (Thanks @xtqqczze!)Directory.GetDirectories with Directory.EnumerateDirectories to avoid array allocations (#15167) (Thanks @xtqqczze!)List.ConvertAll instead of LINQ (#15140) (Thanks @xtqqczze!)AllocConsole before initializing CLR to ensure codepage is correct for WinRM remoting (PowerShell/PowerShell-Native#70) (Thanks @jborean93!)#requires statements (#14596) (Thanks @MartinGC94!)Minimal progress view to handle activity that is longer than console width (#15264)NullReferenceException in DSC ClearCache() (#15373)ControlSequenceLength to handle colon as a virtual terminal parameter separator (#14942)StopTranscriptCmdlet.cs (#15349) (Thanks @dbaileyut!)d for the -Directory parameter from Get-ChildItem (#15171) (Thanks @kvprasoon!)about topics (#15265) (Thanks @MartinGC94!)LoadAssemblyFromNativeMemory API to load assemblies from memory in a native PowerShell host (#14652) (Thanks @awakecoding!)Remove-Item OneDrive support (#15260) (Thanks @iSazonov!)winget release script (#15050)PSNativeCommandArgumentPassing: Use ArgumentList for native executable invocation (breaking change) (#14692)IArgumentCompleterFactory for parameterized ArgumentCompleters (#12605) (Thanks @powercode!)TERM and NO_COLOR environment variables for $PSStyle rendering (#14969)ProgressView.Classic when Virtual Terminal is not supported (#15048)Get-Counter issue with -Computer parameter (#15166) (Thanks @krishnayalavarthi!)Remove-Item -Recurse to work with OneDrive (#14902) (Thanks @iSazonov!)ConvertTo-Json (#14830) (Thanks @kvprasoon!)Set-Clipboard to accept empty string (#14579)DECCKM to modify keyboard mode for Unix native commands to work correctly (#14943)CopyAndDelete() when MoveTo() fails due to an IOException (#15077)copy-props version in package.json (#15124)7.2.0-preview.4 changes to master (#15056)README and metadata.json (#15046)dotnet CLI (#14937)Get-Date -UFormat %G and %g behavior (#14555) (Thanks @brianary!)Get-AuthenticodeSignature logic (#14849)GetDirectories and GetFiles (#14327) (Thanks @xtqqczze!)UseOSCIndicator setting to enable progress indicator in terminal (#14927)ConsoleHost (#14413)Move-Item for FileSystemProvider to use copy-delete instead of move for DFS paths (#14913)PromptForCredential() to add targetName as domain (#14504)Concise ErrorView to not show line information for errors from script module functions (#14912)Start-Process (#14111) (Thanks @hbuckle!)dependabot configuration to V2 format (#14882)README.md and metadata.json for upcoming releases (#14755)README and metadata.json for releases (#14997)v7.1.2 release (#14783)v7.0.5 release (#14782) (Internal 14479)Get-Date -UFormat %u behavior to comply with ISO 8601 (#14549) (Thanks @brianary!)PSDesiredStateConfiguration v3 module allows Get-DscResource, Invoke-DscResource and DSC configuration compilation on all platforms, supported by PowerShell (using class-based DSC resources).Directory.GetDirectories and Directory.GetFiles. (#14326) (Thanks @xtqqczze!)string.ToLowerInvariant() from GetEnvironmentVariableAsBool() to avoid loading libicu at startup (#14323) (Thanks @iSazonov!)PSVersionInfo using assembly attribute instead of FileVersionInfo (#14332) (Thanks @Fs00!)Write-Progress in ConsoleHost if output is redirected and fix tests (#14716)PSAnsiProgress: Add minimal progress bar using ANSI rendering (#14414)-NoProxy (#14673)ICommandPredictor to provide more feedback and also make feedback easier to be correlated (#14649)Verbose, Debug, and Warning messages (#14698)ForEach-Object -Parallel calls (#14548)Get-Command ' ' (#13564) (Thanks @jakekerr!)ProxyURINotSupplied (#14526) (Thanks @romero126!)$PSStyle for strikethrough and hyperlinks (#14461)$PSStyle blink codes (#14447) (Thanks @iSazonov!)::set-env (#14629) (Thanks @imba-tjd!)StyleCopAnalyzers to v1.2.0-beta.312 (#14354) (Thanks @xtqqczze!)ini component version in test package.json (#14454)libmi dependent tests for macOS. (#14446)-PipelineVariable is set for all output from script cmdlets (#12766) (Thanks @vexx32!)PSAnsiRendering: Enable ANSI formatting via $PSStyle and support suppressing ANSI output (#13758)IEnumerable variant of replace operator (#14221) (Thanks @iSazonov!)Microsoft.PowerShell.Commands.Utility methods (#14148) (Thanks @xtqqczze!)Environment.TickCount64 instead of Datetime.Now as the random seed for AppLocker test file content (#14283) (Thanks @iSazonov!)OrdinalIgnoreCase in CommandLineParser (#14303) (Thanks @iSazonov!)StringComparison.Ordinal instead of StringComparison.CurrentCulture (#14298) (Thanks @iSazonov!)-replace implementation (#14128)-SkipLimitCheck switch to Import-PowerShellDataFile (#13672)New-Object in NoLanguage mode under lock down (#14140) (Thanks @krishnayalavarthi!)-Stream parameter now works with directories (#13941) (Thanks @kyanha!)CA1012: Abstract types should not have public constructors (#13940) (Thanks @xtqqczze!)SA1212: Property accessors should follow order (#14051) (Thanks @xtqqczze!)Reset-PWSHSystemPath.ps1 (#13689) (Thanks @dgoldman-msft!)Test-Connection tests (#13324)nuget.config (#14349)GetEncoding in Start-Transcript to be UTF8 without a BOM (#13732) (Thanks @Gimly!)pwsh -? output to match docs (#13748)NullReferenceException in Test-Json (#12942) (Thanks @iSazonov!)Dispose in TranscriptionOption idempotent (#13839) (Thanks @krishnayalavarthi!)SSL verification checks for WSMan on non-Windows hosts with verification available (#13786) (Thanks @jborean93!)OutputTypeAttribute to Get-ExperimentalFeature (#13738) (Thanks @ThomasNieto!)ConvertTo-Json exceeds -Depth value (#13692)CodeQL Security scanning (#13894)AnalyzerConfig with default configuration (#13835) (Thanks @xtqqczze!)crontab formatting in example doc (#13712) (Thanks @dgoldman-msft!)