# 7.4 Changelog ## [7.4.14] ### General Cmdlet Updates and Fixes - Fix `PSMethodInvocationConstraints.GetHashCode` method (#26959) ### Tools - Add merge conflict marker detection to `linux-ci` workflow and refactor existing actions to use reusable `get-changed-files` action (#26362) - Add reusable `get-changed-files` action and refactor existing actions (#26361) - Refactor analyze job to reusable workflow and enable on Windows CI (#26342) ### Tests - Skip the flaky `Update-Help` test for the `PackageManagement` module (#26871) - Fix `$PSDefaultParameterValues` leak causing tests to skip unexpectedly (#26869) - Add GitHub Actions annotations for Pester test failures (#26800) - Mark flaky `Update-Help` web tests as pending to unblock CI (#26805) - Update the `Update-Help` tests to use `-Force` to remove read-only files (#26786) - Fix merge conflict checker for empty file lists and filter `*.cs` files (#26387) - Add markdown link verification for PRs (#26340) ### Build and Packaging Improvements

Update .NET SDK to 8.0.419

### Documentation and Help Content - Update Third Party Notices (#26892) [7.4.14]: https://github.com/PowerShell/PowerShell/compare/v7.4.13...v7.4.14 ## [7.4.13] ### Build and Packaging Improvements

Update .NET SDK to 8.0.415

[7.4.13]: https://github.com/PowerShell/PowerShell/compare/v7.4.12...v7.4.13 ## [7.4.12] ### Tools - Add CodeQL suppressions (#25973) ### Build and Packaging Improvements

Update .NET SDK to 8.0.413

### Documentation and Help Content - Update third-party library versions to `8.0.19` for `ObjectPool`, Windows Compatibility, and `System.Drawing.Common` (#26001) [7.4.12]: https://github.com/PowerShell/PowerShell/compare/v7.4.11...v7.4.12 ## [7.4.11] - 2025-06-17 ### Engine Updates and Fixes - Move .NET method invocation logging to after the needed type conversion is done for method arguments (#25568) ### Build and Packaging Improvements

Update .NET SDK to 8.0.411

### Documentation and Help Content - Update Third Party Notices (#25524, #25659) [7.4.11]: https://github.com/PowerShell/PowerShell/compare/v7.4.10...v7.4.11 ## [7.4.10] ### Engine Updates and Fixes - Fallback to AppLocker after `WldpCanExecuteFile` (#25229) ### Code Cleanup
### Tools - Do not run labels workflow in the internal repository (#25411) ### Build and Packaging Improvements

Update .NET SDK to 8.0.408

[7.4.10]: https://github.com/PowerShell/PowerShell/compare/v7.4.9...v7.4.10 ## [7.4.9] ### Notes _This release is internal only. It is not available for download._ ### Tools - Check GH token availability for `Get-Changelog` (#25156) ### Build and Packaging Improvements

Update .NET SDK to 8.0.407

[7.4.9]: https://github.com/PowerShell/PowerShell/compare/v7.4.8...v7.4.9 ## [7.4.8] ### Notes _This release is internal only. It is not available for download._ ### Build and Packaging Improvements

Update .NET SDK to 8.0.406

[7.4.8]: https://github.com/PowerShell/PowerShell/compare/v7.4.7...v7.4.8 ## [7.4.7] ### Build and Packaging Improvements

Update .NET SDK to 8.0.405

### Documentation and Help Content - Update notices file (#24810) [7.4.7]: https://github.com/PowerShell/PowerShell/compare/v7.4.6...v7.4.7 ## [7.4.6] - 2024-10-22 ### Build and Packaging Improvements

Bump .NET SDK to 8.0.403

[7.4.6]: https://github.com/PowerShell/PowerShell/compare/v7.4.5...v7.4.6 ## [7.4.5] - 2024-08-20 ### General Cmdlet Updates and Fixes - Fix WebCmdlets when `-Body` is specified but `ContentType` is not (#24145) ### Tests - Rewrite the mac syslog tests to make them less flaky (#24152) ### Build and Packaging Improvements

Bump .NET SDK to 8.0.400

### Documentation and Help Content - Update docs sample nuget.config (#24147) - Fix up broken links in Markdown files (#24144) [7.4.5]: https://github.com/PowerShell/PowerShell/compare/v7.4.4...v7.4.5 ## [7.4.4] - 2024-07-18 ### Engine Updates and Fixes - Resolve paths correctly when importing files or files referenced in the module manifest (Internal 31780) ### Build and Packaging Improvements

Bump .NET to 8.0.303

[7.4.4]: https://github.com/PowerShell/PowerShell/compare/v7.4.3...v7.4.4 ## [7.4.3] - 2024-06-18 ### General Cmdlet Updates and Fixes - Fix the error when using `Start-Process -Credential` without the admin privilege (#21393) (Thanks @jborean93!) - Fix `Test-Path -IsValid` to check for invalid path and filename characters (#21358) ### Engine Updates and Fixes - Fix generating `OutputType` when running in Constrained Language Mode (#21605) - Expand `~` to `$home` on Windows with tab completion (#21529) - Make sure both stdout and stderr can be redirected from a native executable (#20997) ### Build and Packaging Improvements

Update to .NET 8.0.6

We thank the following contributors!

@ForNeVeR!

[7.4.3]: https://github.com/PowerShell/PowerShell/compare/v7.4.2...v7.4.3 ## [7.4.2] - 2024-04-11 ### General Cmdlet Updates and Fixes - Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" (#21049) - Fix regression with `Get-Content` when `-Tail 0` and `-Wait` are both used (#20734) (Thanks @CarloToso!) - Fix `Get-Error` serialization of array values (#21085) (Thanks @jborean93!) - Fix a regression in `Format-Table` when header label is empty (#21156) ### Engine Updates and Fixes - Revert the PR #17856 (Do not preserve temporary results when no need to do so) (#21368) - Make sure the assembly/library resolvers are registered at early stage (#21361) - Handle the case that `Runspace.DefaultRunspace` is `null` when logging for WDAC Audit (#21344) - Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331) - Fix the regression when doing type inference for `$_` (#21223) (Thanks @MartinGC94!) ### Build and Packaging Improvements

Bump to .NET 8.0.4

[7.4.2]: https://github.com/PowerShell/PowerShell/compare/v7.4.1...v7.4.2 ## [7.4.1] - 2024-01-11 ### General Cmdlet Updates and Fixes - Fix `Group-Object` output using interpolated strings (#20745) (Thanks @mawosoft!) - Fix `Start-Process -PassThru` to make sure the `ExitCode` property is accessible for the returned `Process` object (#20749) (#20866) (Thanks @CodeCyclone!) - Fix rendering of DisplayRoot for network PSDrive (#20793) (#20863) ### Engine Updates and Fixes - Ensure filename is not null when logging WDAC ETW events (#20910) (Thanks @jborean93!) - Fix four regressions introduced by WDAC audit logging feature (#20913) ### Build and Packaging Improvements
Bump .NET 8 to version 8.0.101
[7.4.1]: https://github.com/PowerShell/PowerShell/compare/v7.4.0...v7.4.1 ## [7.4.0] - 2023-11-16 ### General Cmdlet Updates and Fixes - Added a missing `ConfigureAwait(false)` call to webcmdlets so they don't block (#20622) - Fix `Group-Object` so output uses current culture (#20623) - Block getting help from network locations in restricted remoting sessions (#20615) ### Build and Packaging Improvements

Bump .NET 8 to 8.0.0 RTM build

[7.4.0]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-rc.1...v7.4.0 ## [7.4.0-rc.1] - 2023-10-24 ### General Cmdlet Updates and Fixes - Fix `Test-Connection` due to .NET 8 changes (#20369) (#20531) - Add telemetry to check for specific tags when importing a module (#20371) (#20540) - Fix `Copy-Item` progress to only show completed when all files are copied (#20517) (#20544) - Fix `unixmode` to handle `setuid` and `sticky` when file is not an executable (#20366) (#20537) - Fix UNC path completion regression (#20419) (#20541) - Fix implicit remoting proxy cmdlets to act on common parameters (#20367) (#20530) - Fix `Get-Service` non-terminating error message to include category (#20276) (#20529) - Fixing regression in DSC (#20268) (#20528) ### Build and Packaging Improvements

We thank the following contributors!

[7.4.0-rc.1]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.6...v7.4.0-rc.1 ## [7.4.0-preview.6] - 2023-09-28 ### General Cmdlet Updates and Fixes - Set approved experimental features to stable for 7.4 release (#20362) - Revert changes to continue using `BinaryFormatter` for `Out-GridView` (#20360) - Remove the comment trigger from feedback provider (#20346) ### Tests - Continued improvement to tests for release automation (#20259) - Skip the test on x86 as `InstallDate` is not visible on `Wow64` (#20255) - Harden some problematic release tests (#20254) ### Build and Packaging Improvements

Move to .NET 8.0.100-rc.1.23463.5

[7.4.0-preview.6]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.5...v7.4.0-preview.6 ## [7.4.0-preview.5] - 2023-08-21 ### Breaking Changes - Change how relative paths in `Resolve-Path` are handled when using the `RelativeBasePath` parameter (#19755) (Thanks @MartinGC94!) ### Engine Updates and Fixes - Fix dynamic parameter completion (#19510) (Thanks @MartinGC94!) - Use `OrdinalIgnoreCase` to lookup script breakpoints (#20046) (Thanks @fflaten!) - Guard against `null` or blank path components when adding to module path (#19922) (Thanks @stevenebutler!) - Fix deadlock when piping to shell associated file extension (#19940) - Fix completion regression for filesystem paths with custom `PSDrive` names (#19921) (Thanks @MartinGC94!) - Add completion for variables assigned by the `Data` statement (#19831) (Thanks @MartinGC94!) - Fix a null reference crash in completion code (#19916) (Thanks @MartinGC94!) ### General Cmdlet Updates and Fixes - Fix `Out-GridView` by implementing `Clone()` method to replace old use of binary format serialization (#20050) - Support Unix domain socket in WebCmdlets (#19343) (Thanks @CarloToso!) - Wait-Process: add `-Any` and `-PassThru` parameters (#19423) (Thanks @dwtaber!) - Added the switch parameter `-CaseInsensitive` to `Select-Object` and `Get-Unique` cmdlets (#19683) (Thanks @ArmaanMcleod!) - `Restore-Computer` and `Stop-Computer` should fail with error when not running via `sudo` on Unix (#19824) - Add Help proxy function for non-Windows platforms (#19972) - Remove input text from the error message resulted by `SecureString` and `PSCredential` conversion failure (#19977) (Thanks @ArmaanMcleod!) - Add `Microsoft.PowerShell.PSResourceGet` to the telemetry module list (#19926) ### Code Cleanup

We thank the following contributors!

@eltociear, @Molkree, @MartinGC94

### Tools - Give the `assignPRs` workflow write permissions (#20021) ### Tests - Additional test hardening for tests which fail in release pass. (#20093) - Don't use a completion which has a space in it (#20064) - Fixes for release tests (#20028) - Remove spelling CI in favor of GitHub Action (#19973) - Hide expected error for negative test on windows for script extension (#19929) - Add more debugging to try to determine why these test fail in release build. (#19829) ### Build and Packaging Improvements ### Documentation and Help Content - Update `README.md` and `metadata.json` for `7.4.0-preview.4` release (#19872) - Fix grammatical issue in `ADOPTERS.md` (#20037) (Thanks @nikohoffren!) - Replace docs.microsoft.com URLs in code with FWLinks (#19996) - Change `docs.microsoft.com` to `learn.microsoft.com` (#19994) - Update man page to match current help for pwsh (#19993) - Merge `7.3.5`, `7.3.6`, `7.2.12` and `7.2.13` changelogs (#19968) - Fix ///-comments that violate the docs schema (#19957) - Update the link for getting started in `README.md` (#19932) - Migrate user docs to the PowerShell-Docs repository (#19871) [7.4.0-preview.5]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.4...v7.4.0-preview.5 ## [7.4.0-preview.4] - 2023-06-29 ### Breaking Changes - `Test-Json`: Use `JsonSchema.Net` (`System.Text.Json`) instead of `NJsonSchema` (`Newtonsoft.Json`) (#18141) (Thanks @gregsdennis!) - `Test-Connection`: Increase output detail when performing a TCP test (#11452) (Thanks @jackdcasey!) ### Engine Updates and Fixes - Fix native executables not redirecting to file (#19842) - Add a new experimental feature to control native argument passing style on Windows (#18706) - Fix `TabExpansion2` variable leak when completing variables (#18763) (Thanks @MartinGC94!) - Enable completion of variables across ScriptBlock scopes (#19819) (Thanks @MartinGC94!) - Fix completion of the `foreach` statement variable (#19814) (Thanks @MartinGC94!) - Fix variable type inference precedence (#18691) (Thanks @MartinGC94!) - Fix member completion for PowerShell Enum class (#19740) (Thanks @MartinGC94!) - Fix parsing for array literals in index expressions in method calls (#19224) (Thanks @MartinGC94!) - Fix incorrect string to type conversion (#19560) (Thanks @MartinGC94!) - Fix slow execution when many breakpoints are used (#14953) (Thanks @nohwnd!) - Add a public API for getting locations of `PSModulePath` elements (#19422) - Add WDAC Audit logging (#19641) - Improve path completion (#19489) (Thanks @MartinGC94!) - Fix an indexing out of bound error in `CompleteInput` for empty script input (#19501) (Thanks @MartinGC94!) - Improve variable completion performance (#19595) (Thanks @MartinGC94!) - Allow partial culture matching in `Update-Help` (#18037) (Thanks @dkaszews!) - Fix the check when reading input in `NativeCommandProcessor` (#19614) - Add support of respecting `$PSStyle.OutputRendering` on the remote host (#19601) - Support byte stream piping between native commands and file redirection (#17857) ### General Cmdlet Updates and Fixes - Disallow negative values for `Get-Content` cmdlet parameters `-Head` and `-Tail` (#19715) (Thanks @CarloToso!) - Make `Update-Help` throw proper error when current culture is not associated with a language (#19765) (Thanks @josea!) - Do not require activity when creating a completed progress record (#18474) (Thanks @MartinGC94!) - WebCmdlets: Add alias for `-TimeoutSec` to `-ConnectionTimeoutSeconds` and add `-OperationTimeoutSeconds` (#19558) (Thanks @stevenebutler!) - Avoid checking screen scraping on non-Windows platforms before launching native app (#19812) - Add reference to PSResourceGet (#19597) - Add `FileNameStar` to `MultipartFileContent` in WebCmdlets (#19467) (Thanks @CarloToso!) - Add `ParameterSetName` for the `-Detailed` parameter of `Test-Connection` (#19727) - Remove the property disabling optimization (#19701) - Filter completion for enum parameter against `ValidateRange` attributes (#17750) (Thanks @fflaten!) - Small cleanup `Invoke-RestMethod` (#19490) (Thanks @CarloToso!) - Fix wildcard globbing in root of device paths (#19442) (Thanks @MartinGC94!) - Add specific error message that creating Junctions requires absolute path (#19409) - Fix array type parsing in generic types (#19205) (Thanks @MartinGC94!) - Improve the verbose message of WebCmdlets to show correct HTTP version (#19616) (Thanks @CarloToso!) - Fix HTTP status from 409 to 429 for WebCmdlets to get retry interval from Retry-After header. (#19622) (Thanks @mkht!) - Remove minor versions from `PSCompatibleVersions` (#18635) (Thanks @xtqqczze!) - Update `JsonSchema.Net` version to 4.1.0 (#19610) (Thanks @gregsdennis!) - Allow combining of `-Skip` and `-SkipLast` parameters in `Select-Object` cmdlet. (#18849) (Thanks @ArmaanMcleod!) - Fix constructing `PSModulePath` if a sub-path has trailing separator (#13147) - Add `Get-SecureRandom` cmdlet (#19587) - Fix `New-Item` to re-create `Junction` when `-Force` is specified (#18311) (Thanks @GigaScratch!) - Improve Hashtable key completion for type constrained variable assignments, nested Hashtables and more (#17660) (Thanks @MartinGC94!) - `Set-Clipboard -AsOSC52` for remote usage (#18222) (Thanks @dkaszews!) - Refactor `MUIFileSearcher.AddFiles` in the help related code (#18825) (Thanks @xtqqczze!) - Set `SetLastError` to `true` for symbolic and hard link native APIs (#19566) - Fix `Get-AuthenticodeSignature -Content` to not roundtrip the bytes to a Unicode string and then back to bytes (#18774) (Thanks @jborean93!) - WebCmdlets: Rename `-TimeoutSec` to `-ConnectionTimeoutSeconds` (with alias) and add `-OperationTimeoutSeconds` (#19558) (Thanks @stevenebutler!) ### Code Cleanup

We thank the following contributors!

@eltociear, @ArmaanMcleod, @turbedi, @CarloToso, @Molkree, @xtqqczze

### Tools - Add Git mailmap for Andy Jordan (#19469) - Add backport function to release tools (#19568) ### Tests - Improve reliability of the `Ctrl+c` tests for WebCmdlets (#19532) (Thanks @stevenebutler!) - Fix logic for `Import-CliXml` test (#19805) - Add some debugging to the transcript test for `SilentlyContinue` (#19770) - Re-enable `Get-ComputerInfo` pending tests (#19746) - Update syslog parser to handle modern formats. (#19737) - Pass `-UserScope` as required by `RunUpdateHelpTests` (#13400) (Thanks @yecril71pl!) - Change how `isPreview` is determined for default cmdlets tests (#19650) - Skip file signature tests on 2012R2 where PKI cmdlet do not work (#19643) - Change logic for testing missing or extra cmdlets. (#19635) - Fix incorrect test cases in `ExecutionPolicy.Tests.ps1` (#19485) (Thanks @xtqqczze!) - Fixing structure typo in test setup (#17458) (Thanks @powercode!) - Fix test failures on Windows for time zone and remoting (#19466) - Harden 'All approved Cmdlets present' test (#19530) ### Build and Packaging Improvements

Updated to .NET 8 Preview 4

We thank the following contributors!

@krishnayalavarthi

### Documentation and Help Content - Update `metadata.json` and `README.md` for upcoming releases (#19863)(#19542) - Update message to use the actual parameter name (#19851) - Update `CONTRIBUTING.md` to include Code of Conduct enforcement (#19810) - Update `working-group-definitions.md` (#19809)(#19561) - Update `working-group.md` to add section about reporting working group members (#19758) - Correct capitalization in readme (#19666) (Thanks @Aishat452!) - Updated the public dashboard link (#19634) - Fix a typo in `serialization.cs` (#19598) (Thanks @eltociear!) [7.4.0-preview.4]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.3...v7.4.0-preview.4 ## [7.4.0-preview.3] - 2023-04-20 ### Breaking Changes - Remove code related to `#requires -pssnapin` (#19320) ### Engine Updates and Fixes - Change the arrow used in feedback suggestion to a more common Unicode character (#19534) - Support trigger registration in feedback provider (#19525) - Update the `ICommandPredictor` interface to reduce boilerplate code from predictor implementation (#19414) - Fix a crash in the type inference code (#19400) (Thanks @MartinGC94!) ### Performance - Speed up `Resolve-Path` relative path resolution (#19171) (Thanks @MartinGC94!) ### General Cmdlet Updates and Fixes - Infer external application output as strings (#19193) (Thanks @MartinGC94!) - Fix a race condition in `Add-Type` (#19471) - Detect insecure `https-to-http` redirect only if both URIs are absolute (#19468) (Thanks @CarloToso!) - Support `Ctrl+c` when connection hangs while reading data in WebCmdlets (#19330) (Thanks @stevenebutler!) - Enable type conversion of `AutomationNull` to `$null` for assignment (#19415) - Add the parameter `-Environment` to `Start-Process` (#19374) - Add the parameter `-RelativeBasePath` to `Resolve-Path` (#19358) (Thanks @MartinGC94!) - Exclude redundant parameter aliases from completion results (#19382) (Thanks @MartinGC94!) - Allow using a folder path in WebCmdlets' `-OutFile` parameter (#19007) (Thanks @CarloToso!) ### Code Cleanup

We thank the following contributors!

@eltociear, @CarloToso

### Tests - Harden the default command test (#19416) - Skip VT100 tests on Windows Server 2012R2 as console does not support it (#19413) - Improve package management acceptance tests by not going to the gallery (#19412) ### Build and Packaging Improvements

We thank the following contributors!

@dkattan

[7.4.0-preview.3]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.2...v7.4.0-preview.3 ## [7.4.0-preview.2] - 2023-03-14 ### Breaking Changes - Update some PowerShell APIs to throw `ArgumentException` instead of `ArgumentNullException` when the argument is an empty string (#19215) (Thanks @xtqqczze!) - Add the parameter `-ProgressAction` to the common parameters (#18887) ### Engine Updates and Fixes - Fix `PlainText` output to correctly remove the `Reset` VT sequence without number (#19283) - Fix `ConciseView` to handle custom `ParserError` error records (#19239) - Fix `VtSubstring` helper method to correctly check characters copied (#19240) - Update the `FeedbackProvider` interface to return structured data (#19133) - Make the exception error in PowerShell able to associate with the right history entry (#19095) - Fix for JEA session leaking functions (#19024) - Add WDAC events and system lockdown notification (#18893) - Fix support for nanoserver due to lack of AMSI (#18882) ### Performance - Use interpolated strings (#19002)(#19003)(#18977)(#18980)(#18996)(#18979)(#18997)(#18978)(#18983)(#18992)(#18993)(#18985)(#18988) (Thanks @CarloToso!) ### General Cmdlet Updates and Fixes - Fix completion for `PSCustomObject` variable properties (#18682) (Thanks @MartinGC94!) - Improve type inference for `Get-Random` (#18972) (Thanks @MartinGC94!) - Make `-Encoding` parameter able to take `ANSI` encoding in PowerShell (#19298) (Thanks @CarloToso!) - Telemetry improvements for tracking experimental feature opt out (#18762) - Support HTTP persistent connections in Web Cmdlets (#19249) (Thanks @stevenebutler!) - Fix using XML `-Body` in webcmdlets without an encoding (#19281) (Thanks @CarloToso!) - Add the `Statement` property to `$MyInvocation` (#19027) (Thanks @IISResetMe!) - Fix `Start-Process` `-Wait` with `-Credential` (#19096) (Thanks @jborean93!) - Adjust `PUT` method behavior to `POST` one for default content type in WebCmdlets (#19152) (Thanks @CarloToso!) - Improve verbose message in web cmdlets when content length is unknown (#19252) (Thanks @CarloToso!) - Preserve `WebSession.MaximumRedirection` from changes (#19190) (Thanks @CarloToso!) - Take into account `ContentType` from Headers in WebCmdlets (#19227) (Thanks @CarloToso!) - Use C# 11 UTF-8 string literals (#19243) (Thanks @turbedi!) - Add property assignment completion for enums (#19178) (Thanks @MartinGC94!) - Fix class member completion for classes with base types (#19179) (Thanks @MartinGC94!) - Add `-Path` and `-LiteralPath` parameters to `Test-Json` cmdlet (#19042) (Thanks @ArmaanMcleod!) - Allow to preserve the original HTTP method by adding `-PreserveHttpMethodOnRedirect` to Web cmdlets (#18894) (Thanks @CarloToso!) - Webcmdlets display an error on HTTPS to http redirect (#18595) (Thanks @CarloToso!) - Build the relative URI for links from the response in `Invoke-WebRequest` (#19092) (Thanks @CarloToso!) - Fix redirection for `-CustomMethod` `POST` in WebCmdlets (#19111) (Thanks @CarloToso!) - Dispose previous response in Webcmdlets (#19117) (Thanks @CarloToso!) - Improve `Invoke-WebRequest` XML and JSON errors format (#18837) (Thanks @CarloToso!) - Fix error formatting to remove the unneeded leading newline for concise view (#19080) - Add `-NoHeader` parameter to `ConvertTo-Csv` and `Export-Csv` cmdlets (#19108) (Thanks @ArmaanMcleod!) - Fix `Start-Process -Credential -Wait` to work on Windows (#19082) - Add `ValidateNotNullOrEmpty` to `OutFile` and `InFile` parameters of WebCmdlets (#19044) (Thanks @CarloToso!) - Correct spelling of "custom" in event (#19059) (Thanks @spaette!) - Ignore expected error for file systems not supporting alternate streams (#19065) - Adding missing guard for telemetry opt out to avoid `NullReferenceException` when importing modules (#18949) (Thanks @powercode!) - Fix progress calculation divide by zero in Copy-Item (#19038) - Add progress to `Copy-Item` (#18735) - WebCmdlets parse XML declaration to get encoding value, if present. (#18748) (Thanks @CarloToso!) - `HttpKnownHeaderNames` update headers list (#18947) (Thanks @CarloToso!) - Fix bug with managing redirection and `KeepAuthorization` in Web cmdlets (#18902) (Thanks @CarloToso!) - Fix `Get-Error` to work with strict mode (#18895) - Add `AllowInsecureRedirect` switch to Web cmdlets (#18546) (Thanks @CarloToso!) - `Invoke-RestMethod` `-FollowRelLink` fix links containing commas (#18829) (Thanks @CarloToso!) - Prioritize the default parameter set when completing positional arguments (#18755) (Thanks @MartinGC94!) - Add `-CommandWithArgs` parameter to pwsh (#18726) - Enable creating composite subsystem implementation in modules (#18888) - Fix `Format-Table -RepeatHeader` for property derived tables (#18870) - Add `StatusCode` to `HttpResponseException` (#18842) (Thanks @CarloToso!) - Fix type inference for all scope variables (#18758) (Thanks @MartinGC94!) - Add completion for Using keywords (#16514) (Thanks @MartinGC94!) ### Code Cleanup

We thank the following contributors!

@CarloToso, @iSazonov, @xtqqczze, @turbedi, @syntax-tm, @eltociear, @ArmaanMcleod

### Tools - Add a Mariner install script (#19294) - Add tool to trigger license information gathering for NuGet modules (#18827) ### Tests - Update and enable the test for the type of `$input` (#18968) (Thanks @MartinGC94!) - Increase the timeout for creating the `WebListener` (#19268) - Increase the timeout when waiting for the event log (#19264) - Add Windows ARM64 CI (#19040) - Change test so output does not include newline (#19026) - Allow system lock down test debug hook to work with new WLDP API (#18962) - Add tests for `Allowinsecureredirect` parameter in Web cmdlets (#18939) (Thanks @CarloToso!) - Enable `get-help` pattern tests on Unix (#18855) (Thanks @xtqqczze!) - Create test to check if WebCmdlets decompress brotli-encoded data (#18905) (Thanks @CarloToso!) ### Build and Packaging Improvements

We thank the following contributors!

@bergmeister, @xtqqczze

### Documentation and Help Content - Update to the latest NOTICES file (#19169)(#19309)(#19086)(#19077) - Update supported distros in readme (#18667) (Thanks @techguy16!) - Remove the 'Code Coverage Status' badge (#19265) - Pull in changelogs for `v7.2.10` and `v7.3.3` releases (#19219) - Update tools `metadata` and `README` (#18831)(#19204)(#19014) - Update a broken link in the `README.md` (#19187) - Fix typos in comments (#19064) (Thanks @spaette!) - Add `7.2` and `7.3` changelogs (#19025) - typos (#19058) (Thanks @spaette!) - Fix typo in `dotnet-tools/README.md` (#19021) (Thanks @spaette!) - Fix up all comments to be in the proper order with proper spacing (#18619) - Changelog for `v7.4.0-preview.1` release (#18835) [7.4.0-preview.2]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.1...v7.4.0-preview.2 ## [7.4.0-preview.1] - 2022-12-20 ### Engine Updates and Fixes - Add Instrumentation to `AmsiUtil` and make the init variable readonly (#18727) - Fix typo in `OutOfProcTransportManager.cs` (#18766) (Thanks @eltociear!) - Allow non-default encodings to be used in user's script/code (#18605) - Add `Dim` and `DimOff` to `$PSStyle` (#18653) - Change `exec` from alias to function to handle arbitrary arguments (#18567) - The command prefix should also be in the error color for `NormalView` (#18555) - Skip cloud files marked as "not on disk" during command discovery (#18152) - Replace `UTF8Encoding(false)` with `Encoding.Default` (#18356) (Thanks @xtqqczze!) - Fix `Switch-Process` to set `termios` appropriate for child process (#18467) - On Unix, only explicitly terminate the native process if not in background (#18215) - Treat `[NullString]::Value` as the string type when resolving methods (#18080) - Improve pseudo binding for dynamic parameters (#18030) (Thanks @MartinGC94!) - Make experimental feature `PSAnsiRenderingFileInfo` stable (#18042) - Update to use version `2.21.0` of Application Insights. (#17903) - Do not preserve temporary results when no need to do so (#17856) ### Performance - Remove some static constants from `Utils.Separators` (#18154) (Thanks @iSazonov!) - Avoid using regular expression when unnecessary in `ScriptWriter` (#18348) - Use source generator for `PSVersionInfo` to improve startup time (#15603) (Thanks @iSazonov!) - Skip evaluating suggestions at startup (#18232) - Avoid using `Regex` when not necessary (#18210) ### General Cmdlet Updates and Fixes - Update to use `ComputeCore.dll` for PowerShell Direct (#18194) - Replace `ArgumentNullException(nameof())` with `ArgumentNullException.ThrowIfNull()` (#18792)(#18784) (Thanks @CarloToso!) - Remove `TabExpansion` from remote session configuration (#18795) (Internal 23331) - WebCmdlets get Retry-After from headers if status code is 429 (#18717) (Thanks @CarloToso!) - Implement `SupportsShouldProcess` in `Stop-Transcript` (#18731) (Thanks @JohnLBevan!) - Fix `New-Item -ItemType Hardlink` to resolve target to absolute path and not allow link to itself (#18634) - Add output types to Format commands (#18746) (Thanks @MartinGC94!) - Fix the process `CommandLine` on Linux (#18710) (Thanks @jborean93!) - Fix `SuspiciousContentChecker.Match` to detect a predefined string when the text starts with it (#18693) - Switch `$PSNativeCommandUseErrorActionPreference` to `$true` when feature is enabled (#18695) - Fix `Start-Job` to check the existence of working directory using the PowerShell way (#18675) - Webcmdlets add 308 to redirect codes and small cleanup (#18536) (Thanks @CarloToso!) - Ensure `HelpInfo.Category` is consistently a string (#18254) - Remove `gcloud` from the legacy list because it's resolved to a .ps1 script (#18575) - Add `gcloud` and `sqlcmd` to list to use legacy argument passing (#18559) - Fix native access violation (#18545) (#18547) (Thanks @chrullrich!) - Fix issue when completing the first command in a script with an empty array expression (#18355) (Thanks @MartinGC94!) - Improve type inference of hashtable keys (#17907) (Thanks @MartinGC94!) - Fix `Switch-Process` to copy the current env to the new process (#18452) - Fix `Switch-Process` error to include the command that is not found (#18443) - Update `Out-Printer` to remove all decorating ANSI escape sequences from PowerShell formatting (#18425) - Web cmdlets set default charset encoding to `UTF8` (#18219) (Thanks @CarloToso!) - Fix incorrect cmdlet name in the script used by `Restart-Computer` (#18374) (Thanks @urizen-source!) - Add the function `cd~` (#18308) (Thanks @GigaScratch!) - Fix type inference error for empty return statements (#18351) (Thanks @MartinGC94!) - Fix the exception reporting in `ConvertFrom-StringData` (#18336) (Thanks @GigaScratch!) - Implement `IDisposable` in `NamedPipeClient` (#18341) (Thanks @xtqqczze!) - Replace command-error suggestion with new implementation based on subsystem plugin (#18252) - Remove the `ProcessorArchitecture` portion from the full name as it's obsolete (#18320) - Make the fuzzy searching flexible by passing in the fuzzy matcher (#18270) - Add `-FuzzyMinimumDistance` parameter to `Get-Command` (#18261) - Improve startup time by triggering initialization of additional types on background thread (#18195) - Fix decompression in web cmdlets (#17955) (Thanks @iSazonov!) - Add `CustomTableHeaderLabel` formatting to differentiate table header labels that are not property names (#17346) - Remove the extra new line form List formatting (#18185) - Minor update to the `FileInfo` table formatting on Unix to make it more concise (#18183) - Fix Parent property on processes with complex name (#17545) (Thanks @jborean93!) - Make PowerShell class not affiliate with `Runspace` when declaring the `NoRunspaceAffinity` attribute (#18138) - Complete the progress bar rendering in `Invoke-WebRequest` when downloading is complete or cancelled (#18130) - Display download progress in human readable format for `Invoke-WebRequest` (#14611) (Thanks @bergmeister!) - Update `WriteConsole` to not use `stackalloc` for buffer with too large size (#18084) - Filter out compiler generated types for `Add-Type -PassThru` (#18095) - Fixing `CA2014` warnings and removing the warning suppression (#17982) (Thanks @creative-cloud!) - Make experimental feature `PSNativeCommandArgumentPassing` stable (#18044) - Make experimental feature `PSAMSIMethodInvocationLogging` stable (#18041) - Handle `PSObject` argument specially in method invocation logging (#18060) - Fix typos in `EventResource.resx` (#18063) (Thanks @eltociear!) - Make experimental feature `PSRemotingSSHTransportErrorHandling` stable (#18046) - Make experimental feature `PSExec` stable (#18045) - Make experimental feature `PSCleanBlock` stable (#18043) - Fix error formatting to use color defined in `$PSStyle.Formatting` (#17987) - Remove unneeded use of `chmod 777` (#17974) - Support mapping foreground/background `ConsoleColor` values to VT escape sequences (#17938) - Make `pwsh` server modes implicitly not show banner (#17921) - Add output type attributes for `Get-WinEvent` (#17948) (Thanks @MartinGC94!) - Remove 1 second minimum delay in `Invoke-WebRequest` for small files, and prevent file-download-error suppression. (#17896) (Thanks @AAATechGuy!) - Add completion for values in comparisons when comparing Enums (#17654) (Thanks @MartinGC94!) - Fix positional argument completion (#17796) (Thanks @MartinGC94!) - Fix member completion in attribute argument (#17902) (Thanks @MartinGC94!) - Throw when too many parameter sets are defined (#17881) (Thanks @fflaten!) - Limit searching of `charset` attribute in `meta` tag for HTML to first 1024 characters in webcmdlets (#17813) - Fix `Update-Help` failing silently with implicit non-US culture. (#17780) (Thanks @dkaszews!) - Add the `ValidateNotNullOrWhiteSpace` attribute (#17191) (Thanks @wmentha!) - Improve enumeration of inferred types in pipeline (#17799) (Thanks @MartinGC94!) ### Code Cleanup

We thank the following contributors!

@MartinGC94, @CarloToso, @iSazonov, @xtqqczze, @turbedi, @trossr32, @eltociear, @AtariDreams, @jborean93

### Tools - Add a function to get the PR Back-port report (#18299) - Add a workaround in automatic rebase workflow to continue on error (#18176) - Update list of PowerShell team members in release tools (#17909) - Don't block if we fail to create the comment (#17869) ### Tests - Add `testexe.exe -echocmdline` to output raw command-line received by the process on Windows (#18591) - Mark charset test as pending (#18511) - Skip output rendering tests on Windows Server 2012 R2 (#18382) - Increase timeout to make subsystem tests more reliable (#18380) - Add missing -Tag 'CI' to describe blocks. (#18316) - Use short path instead of multiple quotes in `Get-Item` test relying on node (#18250) - Replace the CIM class used for `-Amended` parameter test (#17884) (Thanks @sethvs!) - Stop ongoing progress-bar in `Write-Progress` test (#17880) (Thanks @fflaten!) ### Build and Packaging Improvements

We thank the following contributors!

### Documentation and Help Content - Update readme and metadata for releases (#18780)(#18493)(#18393)(#18332)(#18128)(#17870) - Remove 'please' and 'Core' from README.md per MS style guide (#18578) (Thanks @Rick-Anderson!) - Change unsupported XML documentation tag (#18608) - Change public API mention of `monad` to PowerShell (#18491) - Update security reporting policy to recommend security portal for more streamlined reporting (#18437) - Changelog for v7.3.0 (#18505) (Internal 23161) - Replace `msh` in public API comment based documentation with PowerShell equivalent (#18483) - Add missing XML doc elements for methods in `RunspaceFactory` (#18450) - Changelog for `v7.3.0-rc.1` (#18400) - Update changelogs for `v7.2.7` and `v7.0.13` (#18342) - Update the changelog for v7.3.0-preview.8 (#18136) - Add the `ConfigurationFile` option to the PowerShell help content (#18093) - Update help content about the PowerShell flag `-NonInteractive` (#17952) [7.4.0-preview.1]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.8...v7.4.0-preview.1