PowerShell 7.5.0 preview 1 released


  • Staff

Breaking Changes​

  • Fix -OlderThan and -NewerThan parameters for Test-Path when using PathType and date range (#20942) (Thanks @ArmaanMcleod!)
    • Previously -OlderThan would be ignored if specified together
  • Change New-FileCatalog -CatalogVersion default to 2 (#20428) (Thanks @ThomasNieto!)

General Cmdlet Updates and Fixes​

  • Fix completion crash for the SCCM provider (#20815, #20919, #20915) (Thanks @MartinGC94!)
  • Fix regression in Get-Content when -Tail 0 and -Wait are used together (#20734) (Thanks @CarloToso!)
  • Add Aliases to the properties shown up when formatting the help content of the parameter returned by Get-Help (#20994)
  • Add implicit localization fallback to Import-LocalizedData (#19896) (Thanks @chrisdent-de!)
  • Change Test-FileCatalog to use File.OpenRead to better handle the case where the file is being used (#20939) (Thanks @dxk3355!)
  • Added -Module completion for Save-Help and Update-Help commands (#20678) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Verb for Start-Process (#20415) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Scope for *-Variable, *-Alias & *-PSDrive commands (#20451) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Verb for Get-Verb and Get-Command (#20286) (Thanks @ArmaanMcleod!)
  • Fixing incorrect formatting string in CommandSearcher trace logging (#20928) (Thanks @powercode!)
  • Ensure the filename is not null when logging WDAC ETW events (#20910) (Thanks @jborean93!)
  • Fix four regressions introduced by the WDAC logging feature (#20913)
  • Leave the input, output, and error handles unset when they are not redirected (#20853)
  • Fix Start-Process -PassThru to make sure the ExitCode property is accessible for the returned Process object (#20749) (Thanks @CodeCyclone!)
  • Fix Group-Object output using interpolated strings (#20745) (Thanks @mawosoft!)
  • Fix rendering of DisplayRoot for network PSDrive (#20793)
  • Fix Invoke-WebRequest to report correct size when -Resume is specified (#20207) (Thanks @LNKLEO!)
  • Add PSAdapter and ConsoleGuiTools to module load telemetry whitelist (#20641)
  • Fix Web Cmdlets to allow WinForm apps to work correctly (#20606)
  • Block getting help from network locations in restricted remoting sessions (#20593)
  • Fix Group-Object to use current culture for its output (#20608)
  • Add argument completer to -Version for Set-StrictMode (#20554) (Thanks @ArmaanMcleod!)
  • Fix Copy-Item progress to only show completed when all files are copied (#20517)
  • Fix UNC path completion regression (#20419) (Thanks @MartinGC94!)
  • Add telemetry to check for specific tags when importing a module (#20371)
  • Report error if invalid -ExecutionPolicy is passed to pwsh (#20460)
  • Add HelpUri to Remove-Service (#20476)
  • Fix unixmode to handle setuid and sticky when file is not an executable (#20366)
  • Fix Test-Connection due to .NET 8 changes (#20369)
  • Fix implicit remoting proxy cmdlets to act on common parameters (#20367)
  • Set experimental features to stable for 7.4 release (#20285)
  • Revert changes to continue using BinaryFormatter for Out-GridView (#20300)
  • Fix Get-Service non-terminating error message to include category (#20276)
  • Prevent Export-CSV from flushing with every input (#20282) (Thanks @Chris--A!)
  • Fix a regression in DSC (#20268)
  • Include the module version in error messages when module is not found (#20144) (Thanks @ArmaanMcleod!)
  • Add -Empty and -InputObject parameters to New-Guid (#20014) (Thanks @CarloToso!)
  • Remove the comment trigger from feedback provider (#20136)
  • Prevent fallback to file completion when tab completing type names (#20084) (Thanks @MartinGC94!)
  • Add the alias r to the parameter -Recurse for the Get-ChildItem command (#20100) (Thanks @kilasuit!)

Code Cleanup​

We thank the following contributors!

@eltociear, @ImportTaste, @ThomasNieto, @0o001

Tools​

  • Make sure feedback link in the bot's comment is clickable (#20878) (Thanks @floh96!)
  • Fix bot so anyone who comments will remove the "Resolution-No Activity" label (#20788)
  • Fix bot configuration to prevent multiple comments about "no activity" (#20758)
  • Add bot logic for closing GitHub issues after 6 months of "no activity" (#20525)
  • Refactor bot for easier use and updating (#20805)
  • Configure bot to add survey comment for closed issues (#20397)

Tests​

  • Suppress error output from Set-Location tests (#20499)
  • Fix typo in FileCatalog.Tests.ps1 (#20329) (Thanks @eltociear!)
  • Continue to improve tests for release automation (#20182)
  • Skip the test on x86 as InstallDate is not visible on Wow64 (#20165)
  • Harden some problematic release tests (#20155)

Build and Packaging Improvements​

We thank the following contributors!

@alerickson, @Zhoneym, @0o001
  • Bump .NET SDK to 8.0.101 (#21084)
  • Update the cgmanifest (#20083, #20436, #20523, #20560, #20627, #20764, #20906, #20933, #20955, #21047)
  • Update to the latest NOTICES file (#20074, #20161, #20385, #20453, #20576, #20590, #20880, #20905)
  • Bump StyleCop.Analyzers from 1.2.0-beta.507 to 1.2.0-beta.556 (#20953)
  • Bump xUnit to 2.6.6 (#21071)
  • Bump JsonSchema.Net to 5.5.0 (#21027)
  • Fix failures in GitHub action markdown-link-check (#20996)
  • Bump xunit.runner.visualstudio to 2.5.6 (#20966)
  • Bump github/codeql-action from 2 to 3 (#20927)
  • Bump Markdig.Signed to 0.34.0 (#20926)
  • Bump Microsoft.ApplicationInsights from 2.21.0 to 2.22.0 (#20888)
  • Bump Microsoft.NET.Test.Sdk to 17.8.0 (#20660)
  • Update apiscan.yml to have access to the AzDevOpsArtifacts variable group (#20671)
  • Set the ollForwardOnNoCandidateFx in runtimeconfig.json to roll forward only on minor and patch versions (#20689)
  • Sign the global tool shim executable (#20794)
  • Bump actions/github-script from 6 to 7 (#20682)
  • Remove RHEL7 publishing to packages.microsoft.com as it's no longer supported (#20849)
  • Bump Microsoft.CodeAnalysis.CSharp to 4.8.0 (#20751)
  • Add internal nuget feed to compliance build (#20669)
  • Copy azure blob with PowerShell global tool to private blob and move to CDN during release (#20659)
  • Fix release build by making the internal SDK parameter optional (#20658)
  • Update PSResourceGet version to 1.0.1 (#20652)
  • Make internal .NET SDK URL as a parameter for release builld (#20655)
  • Fix setting of variable to consume internal SDK source (#20644)
  • Bump Microsoft.Management.Infrastructure to v3.0.0 (#20642)
  • Bump Microsoft.PowerShell.Native to v7.4.0 (#20617)
  • Bump Microsoft.Security.Extensions from 1.2.0 to 1.3.0 (#20556)
  • Fix package version for .NET nuget packages (#20551)
  • Add SBOM for release pipeline (#20519)
  • Block any preview vPack release (#20243)
  • Only registry App Path for release package (#20478)
  • Increase timeout when publishing packages to pacakages.microsoft.com (#20470)
  • Fix alpine tar package name and do not crossgen alpine fxdependent package (#20459)
  • Bump PSReadLine from 2.2.6 to 2.3.4 (#20305)
  • Remove the ref folder before running compliance (#20373)
  • Updates RIDs used to generate component Inventory (#20370)
  • Bump XunitXml.TestLogger from 3.1.11 to 3.1.17 (#20293)
  • Update experimental-feature json files (#20335)
  • Use fxdependent-win-desktop runtime for compliance runs (#20326)
  • Release build: Change the names of the PATs (#20307)
  • Add mapping for mariner arm64 stable (#20213)
  • Put the calls to Set-AzDoProjectInfo and Set-AzDoAuthToken in the right order (#20306)
  • Enable vPack provenance data (#20220)
  • Bump actions/checkout from 3 to 4 (#20205)
  • Start using new packages.microsoft.com cli (#20140, #20141)
  • Add mariner arm64 to PMC release (#20176)
  • Fix typo donet to dotnet in build scripts and pipelines (#20122) (Thanks @0o001!)
  • Install the pmc cli
  • Add skip publish parameter
  • Add verbose to clone

Documentation and Help Content​


Source:

Download:
 

Attachments

  • PowerShell_preview.png
    PowerShell_preview.png
    19.1 KB · Views: 0
Back
Top Bottom