Releases: PowerShell/PSReadLine
PSReadLine v2.1.0-rc1 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
andd$
delete to the end of the current logical line (#1695) (Thanks @springcomp) - vi-mode - Make
dj
delete the current and nextn
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 previousn
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
andSelectLine
(#1857) - Fix the inline prediction to not leak color (#1861)
- Rename
PredictionColor
toInlinePredictionColor
(#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
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 ofPSReadLine
- 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
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:
PSReadLine v2.1.0-beta2 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
toSet-PSReadLineOption
, with the optionsNone
andHistory
(#1496) - Make the predictive suggestion feature disabled by default (
PredictionSource
set toNone
).
It can be enabled bySet-PSReadLineOption -PredictionSource History
(#1496) - Make the functions
AcceptSuggestion
andAcceptNextSuggestionWord
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
toapikey
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
andViForwardChar
as bindable functions (#1547)
PSReadLine v2.0.2 Release
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
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 runningSet-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
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 toGet-PSReadLineKeyHandler
to allow searching for specific key bindings (#1298) (Thanks @theaquamarine) - Update docs to reflect the new
-Chord
parameter toGet-PSReadLineKeyHandler
(#1438)
PSReadLine v2.0.0 GA Release
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)
RC2 of PSReadLine 2.0
v2.0.0-rc2 - 1/14/2020
You can get the v2.0.0-rc2
version of the PSReadLine
module from PowerShell Gallery.
This release includes the following bug fixes:
- Add
ProjectUri
in module manifest (#1245) - Fix docs to note the
-PromptText
parameter ofSet-PSReadLineOption
is now of theString[]
type (#1244) (Thanks @heaths) - Update key bindings in sample and docs now that the
Shift
key is inferred (#1248) - Update
HelpInfoURI
of thePSReadLine
module to point to latest help content (#1251) - Fix
RepeatLastCharSearch
andRepeatLastCharSearchBackwards
to not flip their functionalities (#1253) (Thanks @mikebattista) - Fix the exception when searching history with
ctrl+r
orctrl+s
(#1256) - Preserve and clear the saved current line properly to make the history operations work as expected (#1259)
- Update release build with compliance tasks (#1260)
- Update README.md to put
PSReadLine
andPowerShellGet
in backtick quotes (#1280) - Fix a few VI edit mode issues (#1262)
- Fix and enhance
SmartInsertQuote
to work better with closing braces, keywords and variables (#1288, #1289) (Thanks @theaquamarine) - Allow
InsertPairedBraces
to wrap selected text (#1293) (Thanks @theaquamarine)
RC1 of PSReadLine 2.0
v2.0.0-rc1 - 12/11/2019
You can get the v2.0.0-rc1
version of the PSReadLine module from PowerShell Gallery.
This release includes the following bug fixes:
- Fix an assertion in debug build that crashes PSReadLine (#1199) (Thanks @springcomp)
- Fix an
IndexOutOfRangeException
in VI mode (#1200) (Thanks @springcomp) - Improve handling of color in prompts (#1180) (Thanks @lzybkr)
- Fix an 'ArgumentOutOfRangeException' when error prompt contains CJK (#1206)
- Add instructions for updating
PowerShellGet
for Windows PowerShell users (#1222) (Thanks @espoelstra) - Correct cursor positioning (#1221) (Thanks @msftrncs)
- Utilize LengthInBufferCells when creating Completions Menu (#1214) (Thanks @msftrncs)
- Ensure the desired column number is used while moving up or down in VI mode (#1122) (Thanks @springcomp)
- Make the continuation prompt's color sequence always explicitly specified (#1238)