Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Short description
This is a summary of changes to the PSReadLine module. For a full list of changes, see the PSReadLine ChangeLog.
- Current preview: v2.4.4-beta4
- Current stable release: v2.3.6
Long description
PSReadLine release history
There have been many updates to PSReadLine since the version that ships in Windows PowerShell 5.1.
- v2.3.6 shipped in PowerShell 7.4.7 and 7.5.0
- v2.3.5 shipped in PowerShell 7.4.2 and 7.5.0-preview.3
- v2.3.4 shipped in PowerShell 7.4.0-rc.1
- v2.2.6 shipped in PowerShell 7.3.0
- v2.1.0 shipped in PowerShell 7.2.5
- v2.0.4 shipped in PowerShell 7.0.11
- v2.0.0 ships in Windows PowerShell 5.1
2.4.4-beta4 - 2025-08-28
- Added screen reader support to PSReadLine - The new render implementation redrawing the terminal buffer to avoid unnecessary and confusing output for screen readers.
v2.4.3-beta3 - 2025-07-23
You can get the v2.4.3-beta3 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:
- Allow accepting the current input automatically from within an OnIdle event handler
- Add VS Code tasks and debug config
- Add bound check for the cursor top value to InvokePrompt
- Fix typo in SamplePSReadLineProfile.ps1
- Fix line ending and cache some reflection operations
- Improve test reliability by making sure the PSReadLine one-time initialization is done
v2.4.2-beta2 - 2025-04-16
You can get the v2.4.2-beta2 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:
- Add a private field to indicate if PSReadLine is initialized and ready
- Use CFS for installing module and deploy box for module publish
v2.4.1-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 - Tab completion uses the correct directory separator for the platform
- PowerShell version 5.1 is now the minimum supported version
- Get the Windows keyboard layout from the parent terminal process
- Fix a few VI key handlers to correctly close the edit group
- Read the history file in the streaming way to handle large files efficiently
v2.3.6 - 2024-10-03
This is a servicing release for the build pipeline. There are no changes to PSReadLine in this release.
v2.3.5 - 2024-04-02
This is a servicing release that fixes two issues:
- Exclude test components from SBOM generation to avoid false positive security vulnerability report.
- Include the fix to a regression found in the v2.3.4 of PSReadLine.
v2.3.4 - 2023-10-02
In addition to several bug fixes, this release includes the following enhancements:
- Scrollable ListView for Predictive IntelliSense
- Autoadjusts the size based on the size of the terminal window
- Can contain up to 50 prediction results
- Dynamic list header that shows the number of results and the current prediction source
- Show tooltips in the prediction list view
- Improved sensitive history scrubbing to allow retrieving token from
az,gcloud, andkubectl - Improve the default sensitive history scrubbing to allow safe property access
- Added support for upcasing, downcasing, and capitalizing words
- Make tab completion show results whose
ListItemTextare different by case only - Supports the text-object command
<d,i,w>in the VI edit mode - Change default color for inline prediction to dim
- Add a sample to README for transforming Unicode code point to Unicode char by
Alt+x - Add the
TerminateOrphanedConsoleAppsoption 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
ListItemTextare different by case only - Add support for upcasing, downcasing, and capitalizing word
- Handle multi-line description for parameter help content
v2.2.6 - 2022-06-27
In this release, the Predictive IntelliSense feature is enabled by default depending on the following conditions:
- If Virtual Terminal (VT) is supported and PSReadLine running in PowerShell
7.2 or higher, PredictionSource is set to
HistoryAndPlugin - If VT is supported and PSReadLine running in PowerShell prior to 7.2,
PredictionSource is set to
History - If VT isn't supported, PredictionSource is set to
None
v2.2.5 - 2022-05-03
Official servicing release with minor bug fixes.
v2.2.3 - 2022-04-20
- Respect cancellation in
ReadOneOrMoreKeys()
v2.2.2 - 2022-02-22
- PSReadLine added two new predictive IntelliSense features:
- Added the PredictionViewStyle parameter to allow for the selection of
the new
ListView. - Connected PSReadLine to the
CommandPredictionAPIs introduced in PowerShell 7.2 to allow a user can import a predictor module that can render the suggestions from a custom source.
- Added the PredictionViewStyle parameter to allow for the selection of
the new
- Updated to use the 1.0.0 version of
Microsoft.PowerShell.Pagerfor dynamic help - Improved the scrubbing of sensitive history items
- Make
Ctrl+randCtrl+sinViedit mode work the same way as inEmacsedit mode - Make
d0to delete to the start of the current logical line in a multiline buffer in VI mode - Use
d^to delete from the first non-blank character of a logical line - VI Mode:
Undonow leaves the cursor under the position at the start of the deletion - Make
HistorySearchBackwardandHistorySearchForwardable to navigate the list view - Add the
SelectCommandArgumentbind-able function - Remove
LineIsMultilinein favor of multi-line agnostic algorithms - Lots of bug fixes and smaller improvements
v2.1.0 - 2020-11-02
This release rolls up the following enhancements added since the 2.0.4 release:
- Add Predictive IntelliSense suggestions from the command history
- Many bug fixes and API enhancements
v2.0.4 - 2020-08-05
- vi-mode: Make
dddeletes the logical line instead of the entire buffer - vi-mode: Add
dGto delete to the end of multiline buffer - vi-mode:
ddnow handles single line or multiline buffers consistently - vi-mode: Make
Dandd$delete to the end of the current logical line - vi-mode - Make
djdelete the current and nextnlogical lines - vi-mode: Use
dkto delete the previousnlogical lines and the current logical line in a multi-line buffer - vi-mode: Add
dggto delete from the beginning of the buffer to the current logical line - Rename
PredictionColortoInlinePredictionColor - Allow
MaximumHistoryCountto be set from user's profile - Add the parameter
-PredictionSourcetoSet-PSReadLineOption, with the optionsNoneandHistory - Make the functions
AcceptSuggestionandAcceptNextSuggestionWordbindable - Relax the sensitive words we filter by changing
keytoapikeyto reduce false positives - Make
ViForwardCharable to accept suggestions - Expose
ViBackwardCharandViForwardCharas bindable functions
v2.0.3 - 2020-07-22
- Minor bug fixes
v2.0.2 - 2020-06-05
- Run script in local scope to make PSReadLine works in PSES in
ConstrainedLanguageMode - Other bug fixes
v2.0.1 - 2020-04-01
- Add the
-Chordparameter toGet-PSReadLineKeyHandlerto allow searching for specific key bindings - Other minor bug fixes
v2.0.0 - 2020-02-11
- Allow
InsertPairedBracesto wrap selected text - Lots of bug fixes and smaller improvements
- Filter sensitive history items and avoid writing them to the history file
- Supporting line-wise yanks, including paste and undo
- Make
y0yank up to the start of the logical line inVImode - Add API to detect if the screen reader is active
- Make
PageUp/PageDownandCtrlPageUp/CtrlPageDownWindows-only - Add script block vi mode indicator option
- Support vi mode
Gandggmovements in multi-line buffers - Supports
_and$to move to the beginning and end of the logical line in vi mode - Add
xtermjskeybindings - Support
Ctrl+uin vi insert mode - Enable
Ctrl+con non-Windows - Interactive filtering during menu complete
Shift+Insertbound to Paste in Windows modeCtrl+tbound toSwapCharactersin Emacs modeCtrl+x,Ctrl+ebound toViEditVisuallyin EmacsHistoryNoDuplicatesis now on by default