Skip to content

Releases: PowerShell/PSReadLine

PSReadLine v2.2.0-beta1 Release

05 Nov 04:31
b3f0d76
Compare
Choose a tag to compare
Pre-release

v2.2.0-beta1 - 11/4/2020

You can get the v2.2.0-beta1 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:

  • Add the prediction ListView and also hook up with the CommandPrediction APIs introduced in PS 7.1 (#1909)
    • Please see the PR description of #1909 for details about the Predictive IntelliSense feature.
    • NOTE: the prediction ListView has been mainly tested in the Windows edit mode. Testing in the Emacs and VI edit modes is very minimum as of today. But we will spend more time improving its user experience in these 2 edit modes.
  • Update the release build to work with new module artifacts (#1930)

PSReadLine v2.1.0 GA Release

02 Nov 23:23
3856776
Compare
Choose a tag to compare

v2.1.0 - 11/2/2020

You can get the v2.1.0 version of the PSReadLine module from PowerShell Gallery.

PSReadLine v2.1.0-rc1 Release

13 Oct 21:56
900dc4c
Compare
Choose a tag to compare
Pre-release

v2.1.0-rc1 - 10/13/2020

You can get the v2.1.0-rc1 version of the PSReadLine module from PowerShell Gallery.
This release includes the following bug fixes:

  • Add a key binding example: ForwardCharAndAcceptNextSuggestionWord (#1601)
  • Update HelpInfoURI for the PSReadLine module (#1589)
  • Fix incremental history saving when the history queue is full (#1602)
  • Make PSReadline to not force the background color during render (#1626) (Thanks @DHowett)
  • Update broken link in README.md (#1631) (Thanks @escape0707)
  • Fix UpHat (^) in vi-mode to move the cursor while yanking (#1656) (Thanks @springcomp)
  • vi-mode: Make dd deletes the logical line instead of the entire buffer (#1658) (Thanks @springcomp)
  • Improve the bug reporting message (#1698)
  • vi-mode: Add dG to delete to the end of multiline buffer (#1692) (Thanks @springcomp)
  • Remove duplicated code (#1700) (Thanks @springcomp)
  • vi-mode: dd now handles single line or multiline buffers consistently (#1694) (Thanks @springcomp)
  • vi-mode: Make D and d$ delete to the end of the current logical line (#1695) (Thanks @springcomp)
  • vi-mode - Make dj delete the current and next n logical lines (#1697) (Thanks @springcomp)
  • Add comment in SamplePSReadLineProfile.ps1 (#1712) (Thanks @sethvs)
  • Update the release build to satisfy the compliance requirement (#1702, #1714, #1726, #1731)
  • vi-mode: Use dk to delete the previous n logical lines and the current logical line in a multi-line buffer (#1737) (Thanks @springcomp)
  • vi-mode: Add dgg to delete from the beginning of the buffer to the current logical line (#1752) (Thanks @springcomp)
  • Use const strings for some often used ANSI control sequences (#1809)
  • Correct the descriptions of SelectBackwardsLine and SelectLine (#1857)
  • Fix the inline prediction to not leak color (#1861)
  • Rename PredictionColor to InlinePredictionColor (#1860)
  • Fix a rendering issue regarding cleanup of previous logical lines (#1865)
  • Allow MaximumHistoryCount to be set from user's profile (#1869)

PSReadLine v2.0.4 Release

05 Aug 23:56
Compare
Choose a tag to compare

v2.0.4 - 8/5/2020

You can get the v2.0.4 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:

  • Revert the update to the module HelpInfoURI, which is only applicable to the version 2.1 of PSReadLine
  • Fix the env-data script and write buffer info in case of exception (#1482)
  • Improve the bug reporting message (#1698)
  • Update build to use .NET 3.1 for compliance (#1702)
  • Release build improvements (#1714, #1726, #1731)

PSReadLine v2.0.3 Release

22 Jul 05:51
Compare
Choose a tag to compare

v2.0.3 - 7/21/2020

You can get the v2.0.3 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:

  • Update HelpInfoURI for the PSReadLine module (#1589)
  • Teach PSReadline to not force the background color during render (#1626) (Thanks @DHowett)

PSReadLine v2.1.0-beta2 Release

06 Jun 00:55
2005773
Compare
Choose a tag to compare
Pre-release

v2.1.0-beta2 - 6/5/2020

You can get the v2.1.0-beta2 version of the PSReadLine module from PowerShell Gallery.
This release includes the following bug fixes:

  • Fix the environment data script and print buffer info in case of exception (#1482)
  • Add the parameter -PredictionSource to Set-PSReadLineOption, with the options None and History (#1496)
  • Make the predictive suggestion feature disabled by default (PredictionSource set to None).
    It can be enabled by Set-PSReadLineOption -PredictionSource History (#1496)
  • Make the functions AcceptSuggestion and AcceptNextSuggestionWord bindable (#1496)
  • Fix the ArgumentOutOfRangeException caused by trimming the command line before saving to history (#1496)
  • Refactor SelfInsert to avoid duplicate logic (#1510)
  • Relax the sensitive words we filter by changing key to apikey to reduce false positives (#1517)
  • Make edit group more stable in VI mode (#1526)
  • Make ViForwardChar able to accept suggestions (#1528)
  • Update build as we move help content to the PowerShell-Docs repository (#1537)
  • Reset all VT attributes for PromptText if it contains VT sequences (#1544)
  • Expose ViBackwardChar and ViForwardChar as bindable functions (#1547)

PSReadLine v2.0.2 Release

05 Jun 17:49
Compare
Choose a tag to compare

v2.0.2 - 6/5/2020

You can get the v2.0.2 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:

  • Add the template parameter to the bug report link (#1441) (Thanks @anthonyvdotbe)
  • Update the release build to create the NuGet package for publish (#1480)
  • Run script in local scope to make PSReadLine works in PSES in ConstrainedLanguageMode (#1527)

PSReadLine v2.1.0-beta1 Release

07 Apr 07:07
Compare
Choose a tag to compare
Pre-release

v2.1.0-beta1 - 4/7/2020

You can get the v2.1.0-beta1 version of the PSReadLine module from PowerShell Gallery.
This release includes the prototype to support the fish-like auto-suggestion in PSReadLine.

Currently:

  • The only suggestion source is the PSReadLine history file.
    The ultimate goal is to call into a prediction API in PowerShell engine that is powered by a prediction plugin.
  • By default, the suggestion text is rendered with the dark black color \x1b[38;5;238m, which works OK with a black background.
    You can change it by running Set-PSReadLineOption -Colors @{ Prediction = '<your-choice-of-color>' }.
  • VI mode - now the suggestion is disabled when switching to the command mode, and enabled when switching to insert mode.
  • Very limited efforts have been spent on the VI/Emacs experience, so it could be pretty raw for them, and feedback is very welcome.

When using this version of PSReadLine, please add the following key binding to your profile:

Set-PSReadLineKeyHandler -Key "Ctrl+f" -Function ForwardWord
  • Pressing RightArrow at the end of current typing will accept the suggestion text
  • Pressing Ctrl+f at the end of current typing will accept a word from the suggestion text
  • Pressing Ctrl+z will get you back to where you were before accepting all or part of the suggestion

PSReadLine v2.0.1 Release

01 Apr 20:57
38b933f
Compare
Choose a tag to compare

v2.0.1 - 3/31/2020

You can get the v2.0.1 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:

  • Correct the default foreground and background colors so the appropriate default value is set for SelectionColor (#1435)
  • Add the -Chord parameter to Get-PSReadLineKeyHandler to allow searching for specific key bindings (#1298) (Thanks @theaquamarine)
  • Update docs to reflect the new -Chord parameter to Get-PSReadLineKeyHandler (#1438)

PSReadLine v2.0.0 GA Release

11 Feb 18:45
6b5e9ff
Compare
Choose a tag to compare

v2.0.0 - 2/11/2020

You can get the v2.0.0 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:

  • Name the ReadKey thread for debug purpose (#1313)
  • Compliance: Update the .NET Core version and PowerShell SDK package (#1320)
  • Build: Enable F5 debugging of PSReadLine in Visual Studio (#1319) (Thanks @theaquamarine)
  • Build: Simply the way to get semantic version information in build (#1324)