Skip to content

Commit

Permalink
Update release notes for PS 7.5-p4 release (#11363)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored Aug 28, 2024
1 parent f84b0fa commit 75cbfaf
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 26 deletions.
2 changes: 1 addition & 1 deletion reference/docs-conceptual/install/install-alpine.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ to the package depends on the version of PowerShell you want to install.

- PowerShell 7.4.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/powershell-7.4.5-linux-musl-x64.tar.gz`
- PowerShell 7.2.23 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/powershell-7.2.23-linux-alpine-x64.tar.gz`
- PowerShell 7.5-preview.3 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/powershell-7.5.0-preview.3-linux-musl-x64.tar.gz`
- PowerShell 7.5-preview.4 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/powershell-7.5.0-preview.3-linux-musl-x64.tar.gz`

Then, in the terminal, execute the following shell commands to install PowerShell 7.4:

Expand Down
2 changes: 1 addition & 1 deletion reference/docs-conceptual/install/install-rhel.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The link to the current version is:
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/powershell-7.4.5-1.rh.x86_64.rpm`
- PowerShell 7.2.23 universal package for supported versions of RHEL
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/powershell-7.2.23-1.rh.x86_64.rpm`
- PowerShell 7.5-preview.3 universal package for supported versions of RHEL
- PowerShell 7.5-preview.4 universal package for supported versions of RHEL
- `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/powershell-preview-7.5.0_preview.2-1.rh.x86_64.rpm`

The following shell script downloads and installs the current preview release of PowerShell. You can
Expand Down
2 changes: 1 addition & 1 deletion reference/docs-conceptual/install/install-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The link to the current version is:
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/powershell_7.4.5-1.deb_amd64.deb`
- PowerShell 7.2 (LTS) universal package for supported versions of Ubuntu
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/powershell_7.2.23-1.deb_amd64.deb`
- PowerShell 7.5-preview.3 universal package for supported versions of Ubuntu
- PowerShell 7.5-preview.4 universal package for supported versions of Ubuntu
- `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/powershell-preview_7.5.0-preview.3-1.deb_amd64.deb`

The following shell script downloads and installs the current preview release of PowerShell. You can
Expand Down
59 changes: 44 additions & 15 deletions reference/docs-conceptual/learn/experimental-features.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Lists the currently available experimental features and how to use them.
ms.date: 02/23/2024
ms.date: 08/28/2024
title: Using Experimental Features in PowerShell
---
# Using Experimental Features in PowerShell
Expand Down Expand Up @@ -81,20 +81,21 @@ Legend
- The ![Discontinued][03] icon indicates the version of PowerShell where the experimental feature
was removed

| Name | 7.2 | 7.3 | 7.4 | 7.5 (preview) |
| --------------------------------------------------- | :-----------------: | :-----------------: | :-----------------: | :-----------------: |
| [PSCommandNotFoundSuggestion][10] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSDesiredStateConfiguration.InvokeDscResource][14] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSNativePSPathResolution][21] | ![Experimental][02] | ![Discontinued][03] | | |
| [PSSubsystemPluginModel][23] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSNativeCommandArgumentPassing][18] | ![Experimental][02] | ![Mainstream][01] | | |
| [PSAnsiRenderingFileInfo][09] | ![Experimental][02] | ![Mainstream][01] | | |
| [PSLoadAssemblyFromNativeCode][16] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSNativeCommandErrorActionPreference][19] | | ![Experimental][02] | ![Mainstream][01] | |
| [PSFeedbackProvider][15] | | | ![Experimental][02] | ![Experimental][02] |
| [PSModuleAutoLoadSkipOfflineFiles][17] | | | ![Experimental][02] | ![Experimental][02] |
| [PSCommandWithArgs][11] | | | ![Experimental][02] | ![Experimental][02] |
| [PSNativeWindowsTildeExpansion][22] | | | | ![Experimental][02] |
| Name | 7.2 | 7.4 | 7.5 (preview) |
| --------------------------------------------------- | :-----------------: | :-----------------: | :-----------------: |
| [PSCommandNotFoundSuggestion][10] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSDesiredStateConfiguration.InvokeDscResource][14] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSNativePSPathResolution][21] | ![Experimental][02] | | |
| [PSSubsystemPluginModel][23] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSNativeCommandArgumentPassing][18] | ![Experimental][02] | | |
| [PSAnsiRenderingFileInfo][09] | ![Experimental][02] | | |
| [PSLoadAssemblyFromNativeCode][16] | ![Experimental][02] | ![Experimental][02] | ![Experimental][02] |
| [PSNativeCommandErrorActionPreference][19] | | ![Mainstream][01] | |
| [PSFeedbackProvider][15] | | ![Experimental][02] | ![Experimental][02] |
| [PSModuleAutoLoadSkipOfflineFiles][17] | | ![Experimental][02] | ![Experimental][02] |
| [PSCommandWithArgs][11] | | ![Experimental][02] | ![Experimental][02] |
| [PSNativeWindowsTildeExpansion][22] | | | ![Experimental][02] |
| [PSRedirectToVariable][24] | | | ![Experimental][02] |

### PSAnsiRenderingFileInfo

Expand Down Expand Up @@ -325,6 +326,33 @@ operating system.
- If the path isn't a PSDrive or `~` (on Windows), then path normalization doesn't occur
- If the path is in single quotes, then it's not resolved and treated as literal

### PSRedirectToVariable

> [!NOTE]
> This experimental feature was added in PowerShell 7.5-preview.4.
When enabled, this feature adds support for redirecting to the variable drive. This feature allows
you to redirect data to a variable using the `variable:name` syntax. PowerShell inspects the target
of the redirection and if it uses the variable provider it calls `Set-Variable` rather than
`Out-File`.

The following example shows how to redirect the output of a command to a variable:

```powershell
. {
"Output 1"
Write-Warning "Warning, Warning!"
"Output 2"
} 3> variable:warnings
$warnings
```

```Output
Output 1
Output 2
WARNING: Warning, Warning!
```

### PSSubsystemPluginModel

This feature enables the subsystem plugin model in PowerShell. The feature makes it possible to
Expand Down Expand Up @@ -385,6 +413,7 @@ This feature was added in PowerShell 7.5-preview.2.
[21]: #psnativepspathresolution
[22]: #psnativewindowstildeexpansion
[23]: #pssubsystempluginmodel
[24]: #psredirecttovariable
[25]: https://github.com/PowerShell/PowerShell/issues/new/choose
[26]: https://github.com/PowerShell/PowerShell/tree/master/test/tools/TestExe
[27]: xref:Microsoft.PowerShell.Core.Disable-ExperimentalFeature
Expand Down
51 changes: 43 additions & 8 deletions reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-75.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: What's New in PowerShell 7.5
description: New features and changes released in PowerShell 7.5
ms.date: 05/16/2024
ms.date: 08/28/2024
---

# What's New in PowerShell 7.5

PowerShell 7.5-preview.3 includes the following features, updates, and breaking changes. PowerShell
PowerShell 7.5-preview.4 includes the following features, updates, and breaking changes. PowerShell
7.5 is built on .NET 9.0.0-preview.3.

For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repository.
Expand All @@ -24,10 +24,10 @@ For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repositor

## Updated modules

PowerShell 7.5-preview.3 includes the following updated modules:
PowerShell 7.5-preview.4 includes the following updated modules:

- **Microsoft.PowerShell.PSResourceGet** v1.0.5
- **PSReadLine** v2.3.4
- **Microsoft.PowerShell.PSResourceGet** v1.1.0-preview1
- **PSReadLine** v2.3.5

## Tab completion improvements

Expand All @@ -51,17 +51,34 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co
- Add `-Module` completion for `Save-Help`/`Update-Help` commands ([#20678][20678]) (Thanks
@ArmaanMcleod)

## Web Cmdlets improvements
## New cmdlets

- Add `ConvertTo-CliXml` and `ConvertFrom-CliXml` cmdlets ([#21063][21063]) (Thanks @ArmaanMcleod!)

## Web cmdlets improvements

- Fix to allow `-PassThru` and `-Outfile` work together ([#24086][24086]) (Thanks @jshigetomi!)
- Add `OutFile` property in `WebResponseObject` ([#24047][24047]) (Thanks @jshigetomi!)
- Show filename in `Invoke-WebRequest -OutFile -Verbose` ([#24041][24041]) (Thanks @jshigetomi!)
- Fix WebCmdlets when `-Body` is specified but `ContentType` is not ([#23952][23952]) (Thanks
@CarloToso!)
- Fix `Invoke-WebRequest` to report correct size when `-Resume` is specified ([#20207][20207])
(Thanks @LNKLEO!)
- Fix Web Cmdlets to allow `WinForm` apps to work correctly ([#20606][20606])

## Other cmdlet improvements

- `Get-Process`: Remove admin requirement for `-IncludeUserName` ([#21302][21302]) (Thanks @jborean93!)
- Enable `-NoRestart` to work with `Register-PSSessionConfiguration` ([#23891][23891])
- Add `IgnoreComments` and `AllowTrailingCommas` options to `Test-Json` cmdlet ([#23817][23817])
(Thanks @ArmaanMcleod!)
- Get-Help may report parameters with `ValueFromRemainingArguments` attribute as pipeline-able
([#23871][23871])
- Change type of `LineNumber` to `ulong` in `Select-String` ([#24075][24075]) (Thanks @Snowman-25!)
- `Get-Process`: Remove admin requirement for `-IncludeUserName` ([#21302][21302]) (Thanks
@jborean93!)
- Fix `Test-Path -IsValid` to check for invalid path and filename characters ([#21358][21358])
- Add `RecommendedAction` to `ConciseView` of the error reporting ([#20826][20826]) (Thanks @JustinGrote!)
- Add `RecommendedAction` to `ConciseView` of the error reporting ([#20826][20826]) (Thanks
@JustinGrote!)
- Added progress bar for `Remove-Item` cmdlet ([#20778][20778]) (Thanks @ArmaanMcleod!)
- Fix `Test-Connection` due to .NET 8 changes ([#20369][20369])
- Fix `Get-Service` non-terminating error message to include category ([#20276][20276])
Expand Down Expand Up @@ -92,6 +109,10 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co

## Engine improvements

- Explicitly start and stop ANSI Error Color ([#24065][24065]) (Thanks @JustinGrote!)
- Improve .NET overload definition of generic methods ([#21326][21326]) (Thanks @jborean93!)
- Optimize the `+=` operation for a collection when it's an object array ([#23901][23901]) (Thanks
@jborean93!)
- Add telemetry to check for specific tags when importing a module ([#20371][20371])
- Add `PSAdapter` and `ConsoleGuiTools` to module load telemetry allowlist ([#20641][20641])
- Add Winget module to track usage ([#21040][21040])
Expand All @@ -109,6 +130,7 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co

## Experimental features

- Allow redirecting to a variable ([#20381][20381]) - experimental feature
- Add tilde expansion for windows native executables ([#20402][20402]) (Thanks @domsleee!)
For more information, see [PSNativeWindowsTildeExpansion][01]

Expand Down Expand Up @@ -170,3 +192,16 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co
[21302]: https://github.com/PowerShell/PowerShell/pull/21302
[21358]: https://github.com/PowerShell/PowerShell/pull/21358
[21529]: https://github.com/PowerShell/PowerShell/pull/21529
[20381]: https://github.com/PowerShell/PowerShell/pull/20381
[21063]: https://github.com/PowerShell/PowerShell/pull/21063
[21326]: https://github.com/PowerShell/PowerShell/pull/21326
[23817]: https://github.com/PowerShell/PowerShell/pull/23817
[23871]: https://github.com/PowerShell/PowerShell/pull/23871
[23891]: https://github.com/PowerShell/PowerShell/pull/23891
[23901]: https://github.com/PowerShell/PowerShell/pull/23901
[23952]: https://github.com/PowerShell/PowerShell/pull/23952
[24041]: https://github.com/PowerShell/PowerShell/pull/24041
[24047]: https://github.com/PowerShell/PowerShell/pull/24047
[24065]: https://github.com/PowerShell/PowerShell/pull/24065
[24075]: https://github.com/PowerShell/PowerShell/pull/24075
[24086]: https://github.com/PowerShell/PowerShell/pull/24086

0 comments on commit 75cbfaf

Please sign in to comment.