Skip to content

Commit

Permalink
Update release notes for 7.4-rc.1 (#10576)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored Oct 25, 2023
1 parent e8c489e commit bd28ef3
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 36 deletions.
19 changes: 10 additions & 9 deletions reference/7.4/Microsoft.PowerShell.Core/About/about_Telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ Describes the telemetry collected in PowerShell and how to opt-out.
## Long description

PowerShell sends basic telemetry data to Microsoft using Application Insights.
This data allows us to better understand the environments where PowerShell is
used and enables us to prioritize new features and fixes. The telemetry
includes anonymized information about the host running PowerShell, and
information about how PowerShell is used.
This data allows us to better understand the environments using PowerShell and
enables us to prioritize new features and fixes. PowerShell anonymizes the
telemetry information before sending.

PowerShell sends the following information at startup:

Expand Down Expand Up @@ -46,14 +45,15 @@ PowerShell sends the following information during the session:

- The count of calls to the `PowerShell.Create()` API
- The names and versions of Microsoft-owned modules loaded
- The count of loaded modules that have the `CrescendoBuilt` tag
- The names of enabled experimental features
- The names of disabled experimental features
- Value of `$PSNativeCommandUseErrorActionPreference` experimental feature, either
`true`, `false` or `unset`
- Value of `$PSNativeCommandUseErrorActionPreference` preference variable,
either `true`, `false` or `unset`
- The count of remote session open operations

This information is sent periodically during the lifetime of the session. This
information is sent regardless of the host application.
PowerShell sends this information periodically during the lifetime of the
session in all host applications.

To opt-out of this telemetry, set the environment variable
`$env:POWERSHELL_TELEMETRY_OPTOUT` to `true`, `yes`, or `1`.
Expand All @@ -66,7 +66,8 @@ Microsoft, users shouldn't change this value.
For more information about these environment variables, see
[about_Environment_Variables][01].

For more information about Microsoft's statement on privacy, see [Microsoft Privacy Statement][03]
For more information about Microsoft's statement on privacy, see
[Microsoft Privacy Statement][03]

<!-- link references -->
[01]: about_environment_variables.md#powershell-environment-variables
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Windows
ms.date: 10/11/2023
ms.date: 10/25/2023
title: Installing PowerShell on Windows
---
# Installing PowerShell on Windows
Expand Down Expand Up @@ -52,7 +52,7 @@ winget search Microsoft.PowerShell
Name Id Version Source
--------------------------------------------------------------
PowerShell Microsoft.PowerShell 7.3.8.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.4.0.3 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.4.0.6 winget
```

Install PowerShell or PowerShell Preview using the `id` parameter
Expand Down
12 changes: 6 additions & 6 deletions reference/docs-conceptual/install/install-debian.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Debian Linux
ms.date: 09/26/2023
ms.date: 10/25/2023
title: Installing PowerShell on Debian
---
# Installing PowerShell on Debian
Expand Down Expand Up @@ -73,8 +73,8 @@ The link to the current version is:
- `https://github.com/PowerShell/PowerShell/releases/download/v7.3.8/powershell_7.3.8-1.deb_amd64.deb`
- PowerShell 7.2.15 universal package for supported versions of Debian
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.15/powershell-lts_7.2.15-1.deb_amd64.deb`
- PowerShell 7.4-preview.5 universal package for supported versions of Debian
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-preview.5/powershell-preview_7.4.0-preview.5-1.deb_amd64.deb`
- PowerShell 7.4-rc.1 universal package for supported versions of Debian
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-rc.1/powershell-preview_7.4.0-rc.1-1.deb_amd64.deb`

The following shell script downloads and installs the current preview release of PowerShell. You can
change the URL to download a the version of PowerShell you want to install.
Expand All @@ -90,17 +90,17 @@ sudo apt-get update
sudo apt-get install -y wget

# Download the PowerShell package file
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-preview.5/powershell-preview_7.4.0-preview.5-1.deb_amd64.deb
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-rc.1/powershell-preview_7.4.0-rc.1-1.deb_amd64.deb

###################################
# Install the PowerShell package
sudo dpkg -i powershell-preview_7.4.0-preview.5-1.deb_amd64.deb
sudo dpkg -i powershell-preview_7.4.0-rc.1-1.deb_amd64.deb

# Resolve missing dependencies and finish the install (if necessary)
sudo apt-get install -f

# Delete the downloaded package file
rm powershell-preview_7.4.0-preview.5-1.deb_amd64.deb
rm powershell-preview_7.4.0-rc.1-1.deb_amd64.deb

# Start PowerShell Preview
pwsh-preview
Expand Down
6 changes: 3 additions & 3 deletions reference/docs-conceptual/install/install-rhel.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Red Hat Enterprise Linux (RHEL)
ms.date: 09/26/2023
ms.date: 10/25/2023
title: Installing PowerShell on Red Hat Enterprise Linux (RHEL)
---
# Installing PowerShell on Red Hat Enterprise Linux (RHEL)
Expand Down Expand Up @@ -79,8 +79,8 @@ The link to the current version is:
- `https://github.com/PowerShell/PowerShell/releases/download/v7.3.8/powershell-7.3.8-1.rh.x86_64.rpm`
- PowerShell 7.2.15 universal package for supported versions of RHEL
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.15/powershell-lts-7.2.15-1.rh.x86_64.rpm`
- PowerShell 7.4-preview.5 universal package for supported versions of RHEL
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-preview.5/powershell-preview-7.4.0_preview.5-1.rh.x86_64.rpm`
- PowerShell 7.4-rc.1 universal package for supported versions of RHEL
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-rc.1/powershell-preview-7.4.0_preview.5-1.rh.x86_64.rpm`

The following shell script downloads and installs the current preview release of PowerShell. You can
change the URL to download a the version of PowerShell you want to install.
Expand Down
12 changes: 6 additions & 6 deletions reference/docs-conceptual/install/install-ubuntu.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Information about installing PowerShell on Ubuntu
ms.date: 10/24/2023
ms.date: 10/25/2023
title: Installing PowerShell on Ubuntu
---
# Installing PowerShell on Ubuntu
Expand Down Expand Up @@ -85,8 +85,8 @@ The link to the current version is:
- `https://github.com/PowerShell/PowerShell/releases/download/v7.3.8/powershell_7.3.8-1.deb_amd64.deb`
- PowerShell 7.2.15 universal package for supported versions of Ubuntu
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.15/powershell-lts_7.2.15-1.deb_amd64.deb`
- PowerShell 7.4-preview.5 universal package for supported versions of Ubuntu
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-preview.5/powershell-preview_7.4.0-preview.5-1.deb_amd64.deb`
- PowerShell 7.4-rc.1 universal package for supported versions of Ubuntu
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-rc.1/powershell-preview_7.4.0-rc.1-1.deb_amd64.deb`

The following shell script downloads and installs the current preview release of PowerShell. You can
change the URL to download a the version of PowerShell you want to install.
Expand All @@ -102,17 +102,17 @@ sudo apt-get update
sudo apt-get install -y wget

# Download the PowerShell package file
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-preview.5/powershell-preview_7.4.0-preview.5-1.deb_amd64.deb
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-rc.1/powershell-preview_7.4.0-rc.1-1.deb_amd64.deb

###################################
# Install the PowerShell package
sudo dpkg -i powershell-preview_7.4.0-preview.5-1.deb_amd64.deb
sudo dpkg -i powershell-preview_7.4.0-rc.1-1.deb_amd64.deb

# Resolve missing dependencies and finish the install (if necessary)
sudo apt-get install -f

# Delete the downloaded package file
rm powershell-preview_7.4.0-preview.5-1.deb_amd64.deb
rm powershell-preview_7.4.0-rc.1-1.deb_amd64.deb

# Start PowerShell Preview
pwsh-preview
Expand Down
27 changes: 17 additions & 10 deletions reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: What's New in PowerShell 7.4 (preview)
description: New features and changes released in PowerShell 7.4 (preview)
ms.date: 09/29/2023
ms.date: 10/25/2023
---

# What's New in PowerShell 7.4 (preview)

PowerShell 7.4-preview.6 includes the following features, updates, and breaking changes. PowerShell
7.4 is now built on .NET 8.0.0-preview.7.
PowerShell 7.4-rc.1 includes the following features, updates, and breaking changes. PowerShell
7.4 is now built on .NET 8.0.0-rc.2.

For a complete list of changes, see the [CHANGELOG][15] in the GitHub repository.

Expand All @@ -20,27 +20,28 @@ For a complete list of changes, see the [CHANGELOG][15] in the GitHub repository
- Remove code related to `#requires -pssnapin` ([#19320][19320])
- `Test-Json` now uses Json.Schema.Net instead of Newtonsoft.Json.Schema. With this change,
`Test-Json` no longer supports the older Draft 4 schemas. ([#18141][18141]) (Thanks @gregsdennis!)
- Output from`Test-Connection` now includes more detailed information about TCP connection tests
- Output from `Test-Connection` now includes more detailed information about TCP connection tests

## Installer updates

The Windows MSI package now provides an option to disable PowerShell telemetry during installation.
For more information, see [Install the msi package from the command line][01].

## Inclusion of PSResourceGet
## Updated versions of PSResourceGet and PSReadLine

As of PowerShell 7.4-preview.6, **Microsoft.PowerShell.PSResourceGet** v0.9.0-rc1 is now included.
This module is installed side-by-side with **PowerShellGet** v2.2.5 and **PackageManagement**
v1.4.8.1.
PowerShell 7.4-rc.1 now includes **Microsoft.PowerShell.PSResourceGet** v1.0.0. This module is
installed side-by-side with **PowerShellGet** v2.2.5 and **PackageManagement** v1.4.8.1. For more
information, see the documentation for [Microsoft.PowerShell.PSResourceGet][14].

For more information, see the documentation for [Microsoft.PowerShell.PSResourceGet][14].
PowerShell 7.4-rc.1 now includes **PSReadLine** v2.3.4. For more information, see the documentation
for [PSReadLine][13].

## Tab completion improvements

Many thanks to **@MartinGC94** and others for all their work to improve tab completion.

- Fix issue when completing the first command in a script with an empty array expression
([[#18355][18355])
([#18355][18355])
- Fix positional argument completion ([#17796][17796])
- Prioritize the default parameter set when completing positional arguments ([#18755][18755])
- Improve pseudo binding for dynamic parameters ([#18030][18030])
Expand Down Expand Up @@ -117,6 +118,8 @@ Many thanks to **@CarloToso** and others for all the work on improving web cmdle

## Other cmdlet improvements

- `Test-Connection` now returns error about the need to use `sudo` on Linux platforms when using a
custom buffer size ([#20369][20369])
- Add output types to Format commands ([#18746][18746]) (Thanks @MartinGC94!)
- Add output type attributes for `Get-WinEvent` ([#17948][17948]) (Thanks @MartinGC94!)
- Add **Path** and **LiteralPath** parameters to `Test-Json` cmdlet ([#19042][19042]) (Thanks
Expand Down Expand Up @@ -156,6 +159,7 @@ Updates to `$PSStyle`
values to ANSI escape sequences ([#17938][17938])
- Table headers for calculated fields are formatted in italics by default
- Add support of respecting `$PSStyle.OutputRendering` on the remote host ([#19601][19601])
- Updated telemetry data to include use of `CrescendoBuilt` modules ([#20371][20371])

Other Engine updates

Expand Down Expand Up @@ -220,6 +224,7 @@ For more information about the Experimental Features, see [Using Experimental Fe
[10]: ../learn/experimental-features.md#psnativecommandpreservebytepipe
[11]: ../learn/experimental-features.md#pswindowsnativecommandargpassing

[13]: /powershell/module/psreadline
[14]: /powershell/module/microsoft.powershell.psresourceget
[15]: https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/preview.md
[14953]: https://github.com/PowerShell/PowerShell/pull/14953
Expand Down Expand Up @@ -316,3 +321,5 @@ For more information about the Experimental Features, see [Using Experimental Fe
[19831]: https://github.com/PowerShell/PowerShell/pull/19831
[19683]: https://github.com/PowerShell/PowerShell/pull/19683
[19824]: https://github.com/PowerShell/PowerShell/pull/19824
[20369]: https://github.com/PowerShell/PowerShell/pull/20369
[20371]: https://github.com/PowerShell/PowerShell/pull/20371

0 comments on commit bd28ef3

Please sign in to comment.