Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
209 changes: 209 additions & 0 deletions CHANGELOG/preview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,214 @@
# Preview Changelog

## [7.6.0-preview.5] - 2025-09-30

### Engine Updates and Fixes

- Allow opt-out of the named-pipe listener using the environment variable `POWERSHELL_DIAGNOSTICS_OPTOUT` (#26086)
- Ensure that socket timeouts are set only during the token validation (#26066)
- Fix race condition in `RemoteHyperVSocket` (#26057)
- Fix `stderr` output of console host to respect `NO_COLOR` (#24391)
- Update PSRP protocol to deprecate session key exchange between newer client and server (#25774)
- Fix the `ssh` PATH check in `SSHConnectionInfo` when the default Runspace is not available (#25780) (Thanks @jborean93!)
- Adding hex format for native command exit codes (#21067) (Thanks @sba923!)
- Fix infinite loop crash in variable type inference (#25696) (Thanks @MartinGC94!)
- Add `PSForEach` and `PSWhere` as aliases for the PowerShell intrinsic methods `Where` and `Foreach` (#25511) (Thanks @powercode!)

### General Cmdlet Updates and Fixes

- Remove `IsScreenReaderActive()` check from `ConsoleHost` (#26118)
- Fix `ConvertFrom-Json` to ignore comments inside array literals (#14553) (#26050) (Thanks @MatejKafka!)
- Fix `-Debug` to not trigger the `ShouldProcess` prompt (#26081)
- Add the parameter `Register-ArgumentCompleter -NativeFallback` to support registering a cover-all completer for native commands (#25230)
- Change the default feedback provider timeout from 300ms to 1000ms (#25910)
- Update PATH environment variable for package manager executable on Windows (#25847)
- Fix `Write-Host` to respect `OutputRendering = PlainText` (#21188)
- Improve the `$using` expression support in `Invoke-Command` (#24025) (Thanks @jborean93!)
- Use parameter `HelpMessage` for tool tip in parameter completion (#25108) (Thanks @jborean93!)
- Revert "Never load a module targeting the PSReadLine module's `SessionState`" (#25792)
- Fix debug tracing error with magic extents (#25726) (Thanks @jborean93!)
- Add `MethodInvocation` trace for overload tracing (#21320) (Thanks @jborean93!)
- Improve verbose and debug logging level messaging in web cmdlets (#25510) (Thanks @JustinGrote!)
- Fix quoting in completion if the path includes a double quote character (#25631) (Thanks @MartinGC94!)
- Fix the common parameter `-ProgressAction` for advanced functions (#24591) (Thanks @cmkb3!)
- Use absolute path in `FileSystemProvider.CreateDirectory` (#24615) (Thanks @Tadas!)
- Make inherited protected internal instance members accessible in PowerShell class scope (#25245) (Thanks @mawosoft!)
- Treat `-Target` as literal in `New-Item` (#25186) (Thanks @GameMicrowave!)
- Remove duplicate modules from completion results (#25538) (Thanks @MartinGC94!)
- Add completion for variables assigned in `ArrayLiteralAst` and `ParenExpressionAst` (#25303) (Thanks @MartinGC94!)
- Add support for thousands separators in `[bigint]` casting (#25396) (Thanks @AbishekPonmudi!)
- Add internal methods to check Preferences (#25514) (Thanks @iSazonov!)
- Improve debug logging of Web cmdlet request and response (#25479) (Thanks @JustinGrote!)
- Revert "Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest (#20409)" (#25462) (Thanks @MartinGC94!)
- Fix the `NullReferenceException` when writing progress records to console from multiple threads (#25440) (Thanks @kborowinski!)
- Update `Get-Service` to ignore common errors when retrieving non-critical properties for a service (#24245) (Thanks @jborean93!)
- Add single/double quote support for `Join-String` Argument Completer (#25283) (Thanks @ArmaanMcleod!)
- Fix tab completion for env/function variables (#25346) (Thanks @jborean93!)
- Fix `Out-GridView` by replacing use of obsolete `BinaryFormatter` with custom implementation (#25497) (Thanks @mawosoft!)
- Remove the use of Windows PowerShell ETW provider id from code base and update the `PSDiagnostics` module to work for PowerShell 7 (#25590)

### Code Cleanup

<details>

<summary>

<p>We thank the following contributors!</p>
<p>@xtqqczze, @mawosoft, @ArmaanMcleod</p>

</summary>

<ul>
<li>Enable CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types (#25813) (Thanks @xtqqczze!)</li>
<li>Remove some unused <code>ConsoleControl</code> structs (#26063) (Thanks @xtqqczze!)</li>
<li>Remove unused <code>FileStreamBackReader.NativeMethods</code> type (#26062) (Thanks @xtqqczze!)</li>
<li>Ensure data-serialization files end with one newline (#26039) (Thanks @xtqqczze!)</li>
<li>Remove unnecessary <code>CS0618</code> suppressions from Variant APIs (#26006) (Thanks @xtqqczze!)</li>
<li>Ensure <code>.cs</code> files end with exactly one newline (#25968) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA2105</code> rule suppression (#25938) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA1703</code> rule suppression (#25955) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA2240</code> rule suppression (#25957) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA1701</code> rule suppression (#25948) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA2233</code> rule suppression (#25951) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA1026</code> rule suppression (#25934) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA1059</code> rule suppression (#25940) (Thanks @xtqqczze!)</li>
<li>Remove obsolete <code>CA2118</code> rule suppression (#25924) (Thanks @xtqqczze!)</li>
<li>Remove redundant <code>System.Runtime.Versioning</code> attributes (#25926) (Thanks @xtqqczze!)</li>
<li>Seal internal types in <code>Microsoft.PowerShell.Commands.Utility</code> (#25892) (Thanks @xtqqczze!)</li>
<li>Seal internal types in <code>Microsoft.PowerShell.Commands.Management</code> (#25849) (Thanks @xtqqczze!)</li>
<li>Make the interface <code>IDeepCloneable</code> internal to minimize confusion (#25552)</li>
<li>Remove <code>OnDeserialized</code> and <code>Serializable</code> attributes from <code>Microsoft.Management.UI.Internal</code> project (#25548)</li>
<li>Refactor Tooltip/ListItemText mapping to use <code>CompletionDisplayInfoMapper</code> delegate (#25395) (Thanks @ArmaanMcleod!)</li>
</ul>

</details>

### Tools

- Add Codeql Suppressions (#25943, #26132)
- Update CODEOWNERS to add Justin as a maintainer (#25386)
- Do not run labels workflow in the internal repo (#25279)

### Tests

- Mark the 3 consistently failing tests as pending to unblock PRs (#26091)
- Make some tests less noisy on failure (#26035) (Thanks @xtqqczze!)
- Suppress false positive `PSScriptAnalyzer` warnings in tests and build scripts (#25864)
- Fix updatable help test for new content (#25819)
- Add more tests for `PSForEach` and `PSWhere` methods (#25519)
- Fix the isolated module test that was disabled previously (#25420)

### Build and Packaging Improvements

<details>

<summary>

<p>We thank the following contributors!</p>
<p>@alerickson, @senerh, @RichardSlater, @xtqqczze</p>

</summary>

<ul>
<li>Update package references for the master branch (#26124)</li>
<li>Remove <code>ThreadJob</code> module and update <code>PSReadLine</code> to 2.4.4-beta4 (#26120)</li>
<li>Automate Store Publishing (#25725)</li>
<li>Add global config change detection to action (#26082)</li>
<li>Update outdated package references (#26069)</li>
<li>Ensure that the workflows are triggered on <code>.globalconfig</code> and other files at the root of the repo (#26034)</li>
<li>Update <code>Microsoft.PowerShell.PSResourceGet</code> to 1.2.0-preview3 (#26056) (Thanks @alerickson!)</li>
<li>Update metadata for Stable to v7.5.3 and LTS to v7.4.12 (#26054) (Thanks @senerh!)</li>
<li>Bump github/codeql-action from 3.30.2 to 3.30.3 (#26036)</li>
<li>Update version for the package <code>Microsoft.PowerShell.Native</code> (#26041)</li>
<li>Fix the APIScan pipeline (#26016)</li>
<li>Move PowerShell build to use .NET SDK 10.0.100-rc.1 (#26027)</li>
<li>fix(apt-package): add libicu76 dependency to support Debian 13 (#25866) (Thanks @RichardSlater!)</li>
<li>Bump github/codeql-action from 3.30.1 to 3.30.2 (#26029)</li>
<li>Update Ev2 Shell Extension Image to AzureLinux 3 for PMC Release (#26025)</li>
<li>Bump github/codeql-action from 3.30.0 to 3.30.1 (#26008)</li>
<li>Bump actions/github-script from 7 to 8 (#25983)</li>
<li>Fix variable reference for release environment in pipeline (#26012)</li>
<li>Add LinuxHost Network configuration to PowerShell Packages pipeline (#26000)</li>
<li>Make logical template name consistent between pipelines (#25990)</li>
<li>Update container images to use mcr.microsoft.com for Linux and Azure GǪ (#25981)</li>
<li>Bump github/codeql-action from 3.29.11 to 3.30.0 (#25966)</li>
<li>Bump actions/setup-dotnet from 4 to 5 (#25978)</li>
<li>Add build to vPack Pipeline (#25915)</li>
<li>Replace <code>DOTNET_SKIP_FIRST_TIME_EXPERIENCE</code> with <code>DOTNET_NOLOGO</code> (#25946) (Thanks @xtqqczze!)</li>
<li>Bump actions/dependency-review-action from 4.7.2 to 4.7.3 (#25930)</li>
<li>Bump github/codeql-action from 3.29.10 to 3.29.11 (#25889)</li>
<li>Remove AsyncSDL from Pipelines Toggle Official/NonOfficial Runs (#25885)</li>
<li>Specify .NET Search by Build Type (#25837)</li>
<li>Update PowerShell to use .NET SDK v10-preview.7 (#25876)</li>
<li>Bump actions/dependency-review-action from 4.7.1 to 4.7.2 (#25882)</li>
<li>Bump github/codeql-action from 3.29.9 to 3.29.10 (#25881)</li>
<li>Change the macos runner image to macos 15 large (#25867)</li>
<li>Bump actions/checkout from 4 to 5 (#25853)</li>
<li>Bump github/codeql-action from 3.29.7 to 3.29.9 (#25857)</li>
<li>Update to .NET 10 Preview 6 (#25828)</li>
<li>Bump agrc/create-reminder-action from 1.1.20 to 1.1.22 (#25808)</li>
<li>Bump agrc/reminder-action from 1.0.17 to 1.0.18 (#25807)</li>
<li>Bump github/codeql-action from 3.28.19 to 3.29.5 (#25797)</li>
<li>Bump super-linter/super-linter from 7.4.0 to 8.0.0 (#25770)</li>
<li>Update metadata for v7.5.2 and v7.4.11 releases (#25687)</li>
<li>Correct Capitalization Referencing Templates (#25669)</li>
<li>Change linux packaging tests to ubuntu latest (#25634)</li>
<li>Bump github/codeql-action from 3.28.18 to 3.28.19 (#25636)</li>
<li>Move to .NET 10 preview 4 and update package references (#25602)</li>
<li>Revert &quot;Add windows signing for pwsh.exe&quot; (#25586)</li>
<li>Bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#25628)</li>
<li>Publish <code>.msixbundle</code> package as a VPack (#25612)</li>
<li>Bump agrc/reminder-action from 1.0.16 to 1.0.17 (#25573)</li>
<li>Bump agrc/create-reminder-action from 1.1.18 to 1.1.20 (#25572)</li>
<li>Bump github/codeql-action from 3.28.17 to 3.28.18 (#25580)</li>
<li>Bump super-linter/super-linter from 7.3.0 to 7.4.0 (#25563)</li>
<li>Bump actions/dependency-review-action from 4.7.0 to 4.7.1 (#25562)</li>
<li>Update metadata.json with 7.4.10 (#25554)</li>
<li>Bump github/codeql-action from 3.28.16 to 3.28.17 (#25508)</li>
<li>Bump actions/dependency-review-action from 4.6.0 to 4.7.0 (#25529)</li>
<li>Move MSIXBundle to Packages and Release to GitHub (#25512)</li>
<li>Update outdated package references (#25506)</li>
<li>Bump github/codeql-action from 3.28.15 to 3.28.16 (#25429)</li>
<li>Fix Conditional Parameter to Skip NuGet Publish (#25468)</li>
<li>Update metadata.json (#25438)</li>
<li>Fix MSIX artifact upload, vPack template, changelog hashes, git tag command (#25437)</li>
<li>Use new variables template for vPack (#25434)</li>
<li>Bump <code>agrc/create-reminder-action</code> from 1.1.17 to 1.1.18 (#25416)</li>
<li>Add PSScriptAnalyzer (#25423)</li>
<li>Update outdated package references (#25392)</li>
<li>Use GitHubReleaseTask instead of custom script (#25398)</li>
<li>Update APIScan to use new symbols server (#25388)</li>
<li>Retry ClearlyDefined operations (#25385)</li>
<li>Update to .NET 10.0.100-preview.3 (#25358)</li>
<li>Enhance path filters action to set outputs for all changes when not a PR (#25367)</li>
<li>Combine GitHub and Nuget Release Stage (#25318)</li>
<li>Add Windows Store Signing to MSIX bundle (#25296)</li>
<li>Bump skitionek/notify-microsoft-teams from 190d4d92146df11f854709774a4dae6eaf5e2aa3 to e7a2493ac87dad8aa7a62f079f295e54ff511d88 (#25366)</li>
<li>Add CodeQL suppressions for PowerShell intended behavior (#25359)</li>
<li>Migrate MacOS Signing to OneBranch (#25295)</li>
<li>Bump github/codeql-action from 3.28.13 to 3.28.15 (#25290)</li>
<li>Update test result processing to use NUnitXml format and enhance logging for better clarity (#25288)</li>
<li>Fix R2R for fxdependent packaging (#26131)</li>
<li>Remove <code>UseDotnet</code> task and use the <code>dotnet-install</code> script (#26093)</li>
</ul>

</details>

### Documentation and Help Content

- Fix a typo in the 7.4 changelog (#26038) (Thanks @VbhvGupta!)
- Add 7.4.12 Changelog (#26011)
- Add v7.5.3 Changelog (#25994)
- Fix typo in CHANGELOG for script filename suggestion (#25962)
- Update CHANGELOG for v7.5.2 (#25668)
- Update CHANGELOG for v7.4.11 (#25667)
- Update build documentation with instruction of dev terminal (#25587)
- Update links and contribution guide in documentation (#25532) (Thanks @JustinGrote!)
- Add 7.4.10 Changelog (#25520)
- Add 7.5.1 Change log (#25382)

[7.6.0-preview.5]: https://github.com/PowerShell/PowerShell/compare/v7.6.0-preview.4...v7.6.0-preview.5

## [7.6.0-preview.4]

### Breaking Changes
Expand Down