diff --git a/reference/5.1/PSReadLine/About/about_PSReadLine.md b/reference/5.1/PSReadLine/About/about_PSReadLine.md index 43ec4957441c..65dd4e228213 100644 --- a/reference/5.1/PSReadLine/About/about_PSReadLine.md +++ b/reference/5.1/PSReadLine/About/about_PSReadLine.md @@ -1,7 +1,7 @@ --- description: PSReadLine provides an improved command-line editing experience in the PowerShell console. Locale: en-US -ms.date: 09/17/2024 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine @@ -16,6 +16,7 @@ PowerShell console. There have been many updates to PSReadLine since the version that ships in Windows PowerShell 5.1. +- v2.3.6 first shipped in PowerShell 7.4.7 and 7.5.0 - v2.3.5 first shipped in PowerShell 7.4.2 and 7.5.0-preview.3 - v2.3.4 first shipped in PowerShell 7.4.0-rc.1 - v2.2.6 first shipped in PowerShell 7.3.0 diff --git a/reference/5.1/PSReadLine/About/about_PSReadLine_Functions.md b/reference/5.1/PSReadLine/About/about_PSReadLine_Functions.md index 47266ccbda8d..bea3d0136c6c 100644 --- a/reference/5.1/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/5.1/PSReadLine/About/about_PSReadLine_Functions.md @@ -18,11 +18,11 @@ PowerShell console. ## Long Description PowerShell 5.1 ships with PSReadLine 2.0.0. The current version is PSReadLine -2.3.4. The current version of PSReadLine can be installed and used on Windows +2.3.6. The current version of PSReadLine can be installed and used on Windows PowerShell 5.1 and newer. For some features, you need to be running PowerShell 7.2 or higher. -This article documents the functions provided by PSReadLine. These functions +This article documents the functions provided by PSReadLine 2.0.0. These functions can be bound to keystrokes for easy access and invocation. ## Using the Microsoft.PowerShell.PSConsoleReadLine class diff --git a/reference/5.1/PSReadLine/About/about_PSReadLine_Release_Notes.md b/reference/5.1/PSReadLine/About/about_PSReadLine_Release_Notes.md index d37bc376d74c..5f3abf84b842 100644 --- a/reference/5.1/PSReadLine/About/about_PSReadLine_Release_Notes.md +++ b/reference/5.1/PSReadLine/About/about_PSReadLine_Release_Notes.md @@ -1,7 +1,7 @@ --- description: This article contains the list of changes for each released version of PSReadLine. Locale: en-US -ms.date: 01/23/2025 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_release_notes?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Release_Notes @@ -11,7 +11,7 @@ title: about_PSReadLine_Release_Notes This is a summary of changes to the **PSReadLine** module. For a full list of changes, see the **PSReadLine** [ChangeLog][01]. -- Current preview: v2.4.0-beta0 +- Current preview: v2.4.0-beta1 - Current stable release: v2.3.6 ## PSReadLine release history @@ -29,6 +29,13 @@ Windows PowerShell 5.1. ## Release Notes +### v2.4.0-beta1 - 2025-02-28 + +- Avoid querying for cursor position when it's not necessary +- Handle buffer changes made by an event handler +- Update SelectCommandArgument to properly handle POSIX style options for CLI + commands + ### v2.4.0-beta0 - 2024-03-01 - Fix copying text to system clipboard on Linux using `xclip` @@ -75,7 +82,8 @@ enhancements: - Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input - De-duplicate prediction results with the history results -- Make tab completion show results whose `ListItemText` are different by case only +- Make tab completion show results whose `ListItemText` are different by case + only - Add support for upcasing, downcasing, and capitalizing word - Handle multi-line description for parameter help content @@ -143,9 +151,11 @@ release: logical line - Rename `PredictionColor` to `InlinePredictionColor` - Allow `MaximumHistoryCount` to be set from user's profile -- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the options `None` and `History` +- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the + options `None` and `History` - Make the functions `AcceptSuggestion` and `AcceptNextSuggestionWord` bindable -- Relax the sensitive words we filter by changing `key` to `apikey` to reduce false positives +- Relax the sensitive words we filter by changing `key` to `apikey` to reduce + false positives - Make `ViForwardChar` able to accept suggestions - Expose `ViBackwardChar` and `ViForwardChar` as bindable functions diff --git a/reference/7.4/PSReadLine/About/about_PSReadLine.md b/reference/7.4/PSReadLine/About/about_PSReadLine.md index e890ccaf678b..448fea8c14f4 100644 --- a/reference/7.4/PSReadLine/About/about_PSReadLine.md +++ b/reference/7.4/PSReadLine/About/about_PSReadLine.md @@ -1,7 +1,7 @@ --- description: PSReadLine provides an improved command-line editing experience in the PowerShell console. Locale: en-US -ms.date: 09/17/2024 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine @@ -16,6 +16,7 @@ PowerShell console. There have been many updates to PSReadLine since the version that ships in Windows PowerShell 5.1. +- v2.3.6 first shipped in PowerShell 7.4.7 and 7.5.0 - v2.3.5 first shipped in PowerShell 7.4.2 and 7.5.0-preview.3 - v2.3.4 first shipped in PowerShell 7.4.0-rc.1 - v2.2.6 first shipped in PowerShell 7.3.0 diff --git a/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md index 9f0dc6bd21cc..7dade66cae15 100644 --- a/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md @@ -3,7 +3,7 @@ description: > This article documents the functions provided by PSReadLine. These functions can be bound to keystrokes for easy access and invocation. Locale: en-US -ms.date: 10/16/2023 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_functions?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Functions @@ -18,11 +18,11 @@ PowerShell console. ## Long Description PowerShell 7.3 ships with PSReadLine 2.2.6. The current version is PSReadLine -2.3.4. The current version of PSReadLine can be installed and used on Windows +2.3.6. The current version of PSReadLine can be installed and used on Windows PowerShell 5.1 and newer. For some features, you need to be running PowerShell 7.2 or higher. -This article documents the functions provided by PSReadLine 2.3.4. These +This article documents the functions provided by PSReadLine 2.3.6. These functions can be bound to keystrokes for easy access and invocation. ## Using the Microsoft.PowerShell.PSConsoleReadLine class diff --git a/reference/7.4/PSReadLine/About/about_PSReadLine_Release_Notes.md b/reference/7.4/PSReadLine/About/about_PSReadLine_Release_Notes.md index e9235380eb84..699a6e7d68a6 100644 --- a/reference/7.4/PSReadLine/About/about_PSReadLine_Release_Notes.md +++ b/reference/7.4/PSReadLine/About/about_PSReadLine_Release_Notes.md @@ -1,7 +1,7 @@ --- description: This article contains the list of changes for each released version of PSReadLine. Locale: en-US -ms.date: 01/23/2025 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_release_notes?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Release_Notes @@ -11,7 +11,7 @@ title: about_PSReadLine_Release_Notes This is a summary of changes to the **PSReadLine** module. For a full list of changes, see the **PSReadLine** [ChangeLog][01]. -- Current preview: v2.4.0-beta0 +- Current preview: v2.4.0-beta1 - Current stable release: v2.3.6 ## PSReadLine release history @@ -29,6 +29,13 @@ Windows PowerShell 5.1. ## Release Notes +### v2.4.0-beta1 - 2025-02-28 + +- Avoid querying for cursor position when it's not necessary +- Handle buffer changes made by an event handler +- Update SelectCommandArgument to properly handle POSIX style options for CLI + commands + ### v2.4.0-beta0 - 2024-03-01 - Fix copying text to system clipboard on Linux using `xclip` @@ -75,7 +82,8 @@ enhancements: - Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input - De-duplicate prediction results with the history results -- Make tab completion show results whose `ListItemText` are different by case only +- Make tab completion show results whose `ListItemText` are different by case + only - Add support for upcasing, downcasing, and capitalizing word - Handle multi-line description for parameter help content @@ -143,9 +151,11 @@ release: logical line - Rename `PredictionColor` to `InlinePredictionColor` - Allow `MaximumHistoryCount` to be set from user's profile -- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the options `None` and `History` +- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the + options `None` and `History` - Make the functions `AcceptSuggestion` and `AcceptNextSuggestionWord` bindable -- Relax the sensitive words we filter by changing `key` to `apikey` to reduce false positives +- Relax the sensitive words we filter by changing `key` to `apikey` to reduce + false positives - Make `ViForwardChar` able to accept suggestions - Expose `ViBackwardChar` and `ViForwardChar` as bindable functions diff --git a/reference/7.5/PSReadLine/About/about_PSReadLine.md b/reference/7.5/PSReadLine/About/about_PSReadLine.md index 9f28f3b61945..df8f9fd10b68 100644 --- a/reference/7.5/PSReadLine/About/about_PSReadLine.md +++ b/reference/7.5/PSReadLine/About/about_PSReadLine.md @@ -1,7 +1,7 @@ --- description: PSReadLine provides an improved command-line editing experience in the PowerShell console. Locale: en-US -ms.date: 09/17/2024 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine @@ -16,6 +16,7 @@ PowerShell console. There have been many updates to PSReadLine since the version that ships in Windows PowerShell 5.1. +- v2.3.6 first shipped in PowerShell 7.4.7 and 7.5.0 - v2.3.5 first shipped in PowerShell 7.4.2 and 7.5.0-preview.3 - v2.3.4 first shipped in PowerShell 7.4.0-rc.1 - v2.2.6 first shipped in PowerShell 7.3.0 diff --git a/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md index f40b4bcb7e5f..16db20471d43 100644 --- a/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md @@ -3,7 +3,7 @@ description: > This article documents the functions provided by PSReadLine. These functions can be bound to keystrokes for easy access and invocation. Locale: en-US -ms.date: 10/16/2023 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_functions?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Functions @@ -18,11 +18,11 @@ PowerShell console. ## Long Description PowerShell 7.3 ships with PSReadLine 2.2.6. The current version is PSReadLine -2.3.4. The current version of PSReadLine can be installed and used on Windows +2.3.6. The current version of PSReadLine can be installed and used on Windows PowerShell 5.1 and newer. For some features, you need to be running PowerShell 7.2 or higher. -This article documents the functions provided by PSReadLine 2.3.4. These +This article documents the functions provided by PSReadLine 2.3.6. These functions can be bound to keystrokes for easy access and invocation. ## Using the Microsoft.PowerShell.PSConsoleReadLine class @@ -557,7 +557,7 @@ Deletes backwards until given character. - Vi command mode: `` -### ViInsertAtBeginning +### ViInsertAtBegining Switch to Insert mode and position the cursor at the beginning of the line. diff --git a/reference/7.5/PSReadLine/About/about_PSReadLine_Release_Notes.md b/reference/7.5/PSReadLine/About/about_PSReadLine_Release_Notes.md index 4edd66b68354..f06eb761e4f5 100644 --- a/reference/7.5/PSReadLine/About/about_PSReadLine_Release_Notes.md +++ b/reference/7.5/PSReadLine/About/about_PSReadLine_Release_Notes.md @@ -1,7 +1,7 @@ --- description: This article contains the list of changes for each released version of PSReadLine. Locale: en-US -ms.date: 01/23/2025 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_release_notes?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Release_Notes @@ -11,7 +11,7 @@ title: about_PSReadLine_Release_Notes This is a summary of changes to the **PSReadLine** module. For a full list of changes, see the **PSReadLine** [ChangeLog][01]. -- Current preview: v2.4.0-beta0 +- Current preview: v2.4.0-beta1 - Current stable release: v2.3.6 ## PSReadLine release history @@ -29,6 +29,13 @@ Windows PowerShell 5.1. ## Release Notes +### v2.4.0-beta1 - 2025-02-28 + +- Avoid querying for cursor position when it's not necessary +- Handle buffer changes made by an event handler +- Update SelectCommandArgument to properly handle POSIX style options for CLI + commands + ### v2.4.0-beta0 - 2024-03-01 - Fix copying text to system clipboard on Linux using `xclip` @@ -75,7 +82,8 @@ enhancements: - Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input - De-duplicate prediction results with the history results -- Make tab completion show results whose `ListItemText` are different by case only +- Make tab completion show results whose `ListItemText` are different by case + only - Add support for upcasing, downcasing, and capitalizing word - Handle multi-line description for parameter help content @@ -143,9 +151,11 @@ release: logical line - Rename `PredictionColor` to `InlinePredictionColor` - Allow `MaximumHistoryCount` to be set from user's profile -- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the options `None` and `History` +- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the + options `None` and `History` - Make the functions `AcceptSuggestion` and `AcceptNextSuggestionWord` bindable -- Relax the sensitive words we filter by changing `key` to `apikey` to reduce false positives +- Relax the sensitive words we filter by changing `key` to `apikey` to reduce + false positives - Make `ViForwardChar` able to accept suggestions - Expose `ViBackwardChar` and `ViForwardChar` as bindable functions diff --git a/reference/7.6/PSReadLine/About/about_PSReadLine.md b/reference/7.6/PSReadLine/About/about_PSReadLine.md index f946aa96adf2..d19472d382b8 100644 --- a/reference/7.6/PSReadLine/About/about_PSReadLine.md +++ b/reference/7.6/PSReadLine/About/about_PSReadLine.md @@ -1,7 +1,7 @@ --- description: PSReadLine provides an improved command-line editing experience in the PowerShell console. Locale: en-US -ms.date: 09/17/2024 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine @@ -16,6 +16,7 @@ PowerShell console. There have been many updates to PSReadLine since the version that ships in Windows PowerShell 5.1. +- v2.3.6 first shipped in PowerShell 7.4.7 and 7.5.0 - v2.3.5 first shipped in PowerShell 7.4.2 and 7.5.0-preview.3 - v2.3.4 first shipped in PowerShell 7.4.0-rc.1 - v2.2.6 first shipped in PowerShell 7.3.0 diff --git a/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md index 4ac686c1ae28..3d288d097d0c 100644 --- a/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md @@ -3,7 +3,7 @@ description: > This article documents the functions provided by PSReadLine. These functions can be bound to keystrokes for easy access and invocation. Locale: en-US -ms.date: 10/16/2023 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_functions?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Functions @@ -18,11 +18,11 @@ PowerShell console. ## Long Description PowerShell 7.3 ships with PSReadLine 2.2.6. The current version is PSReadLine -2.3.4. The current version of PSReadLine can be installed and used on Windows +2.3.6. The current version of PSReadLine can be installed and used on Windows PowerShell 5.1 and newer. For some features, you need to be running PowerShell 7.2 or higher. -This article documents the functions provided by PSReadLine 2.3.4. These +This article documents the functions provided by PSReadLine 2.3.6. These functions can be bound to keystrokes for easy access and invocation. ## Using the Microsoft.PowerShell.PSConsoleReadLine class @@ -557,7 +557,7 @@ Deletes backwards until given character. - Vi command mode: `` -### ViInsertAtBeginning +### ViInsertAtBegining Switch to Insert mode and position the cursor at the beginning of the line. diff --git a/reference/7.6/PSReadLine/About/about_PSReadLine_Release_Notes.md b/reference/7.6/PSReadLine/About/about_PSReadLine_Release_Notes.md index 4b7d2d44d751..b4148f749a3a 100644 --- a/reference/7.6/PSReadLine/About/about_PSReadLine_Release_Notes.md +++ b/reference/7.6/PSReadLine/About/about_PSReadLine_Release_Notes.md @@ -1,7 +1,7 @@ --- description: This article contains the list of changes for each released version of PSReadLine. Locale: en-US -ms.date: 01/23/2025 +ms.date: 03/03/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_release_notes?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Release_Notes @@ -11,7 +11,7 @@ title: about_PSReadLine_Release_Notes This is a summary of changes to the **PSReadLine** module. For a full list of changes, see the **PSReadLine** [ChangeLog][01]. -- Current preview: v2.4.0-beta0 +- Current preview: v2.4.0-beta1 - Current stable release: v2.3.6 ## PSReadLine release history @@ -29,6 +29,13 @@ Windows PowerShell 5.1. ## Release Notes +### v2.4.0-beta1 - 2025-02-28 + +- Avoid querying for cursor position when it's not necessary +- Handle buffer changes made by an event handler +- Update SelectCommandArgument to properly handle POSIX style options for CLI + commands + ### v2.4.0-beta0 - 2024-03-01 - Fix copying text to system clipboard on Linux using `xclip` @@ -75,7 +82,8 @@ enhancements: - Add the `TerminateOrphanedConsoleApps` option on Windows to kill orphaned console-attached process that may mess up reading from Console input - De-duplicate prediction results with the history results -- Make tab completion show results whose `ListItemText` are different by case only +- Make tab completion show results whose `ListItemText` are different by case + only - Add support for upcasing, downcasing, and capitalizing word - Handle multi-line description for parameter help content @@ -143,9 +151,11 @@ release: logical line - Rename `PredictionColor` to `InlinePredictionColor` - Allow `MaximumHistoryCount` to be set from user's profile -- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the options `None` and `History` +- Add the parameter `-PredictionSource` to `Set-PSReadLineOption`, with the + options `None` and `History` - Make the functions `AcceptSuggestion` and `AcceptNextSuggestionWord` bindable -- Relax the sensitive words we filter by changing `key` to `apikey` to reduce false positives +- Relax the sensitive words we filter by changing `key` to `apikey` to reduce + false positives - Make `ViForwardChar` able to accept suggestions - Expose `ViBackwardChar` and `ViForwardChar` as bindable functions