Releases: PowerShell/PSReadLine
PSReadLine v2.2.0-beta4 Release
2.2.0-beta4 - 2021-10-27
You can get the v2.2.0-beta4 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:
- [Low-risk Breaking Change] Generate
OnIdleevent only if the editing buffer is empty (#2934) - Add private contract delegate for PSES to handle idle (#1679)
- Disable warning for the private contract field used by PSES (#2935)
- Reset all ANSI attributes before changing color in rendering to avoid color leaking (#2925)
- Make the default sensitive history scrubbing function a little smarter (#2921)
- Generate ADO SBOM for PSReadLine (#2918)
- Update the issue templates to use form templates (#2898, #2900, #2917)
- Update the inline suggestion rendering to not exceed the max window buffer (#2892)
- VI Mode: "Undo" now leaves the cursor under the position at the start of the deletion (#2045) (Thanks @springcomp!)
- Update
CreateCharInfoBufferto support continuous 'NextLineToken' (#2880) - Fix
GotoBraceto handle the case when the text buffer is empty (#2879) - Fix rendering when continuation prompt is an empty string (#2875)
- Release mutex when facing
AbandonedMutexException(#2867) - Migrate the release build to use the 1ES agent pool and also fix the API scan (#2859)
- Pass the cancellation token along instead of using the default one (#2636)
- Don't ignore
ConsoleKey.Packettype as that is simply Unicode (#2632)
PSReadLine v2.2.0-beta3 Release
2.2.0-beta3 - 2021-06-01
You can get the v2.2.0-beta3 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:
PSReadLine v2.2.0-beta2 Release
2.2.0-beta2 - 2021-02-23
You can get the v2.2.0-beta2 version of the PSReadLine module from PowerShell Gallery.
This release includes the following changes:
- Update PSReadLine corresponding to the prediction interface updates (#2225)
- Add white spaces to the emacs dispatch table (#2223)
- Add the
SelectCommandArgumentbind-able function (#2222) (Thanks @ThePSAdmin for the idea!) - Move prediction functions to a new group (#2211)
- Remove
LineIsMultilinein favor of multi-line agnostic algorithms (#1125) (#2047) (Thanks @springcomp!) - Add the "Dynamic Help" feature to PSReadLine (#1777)
- Prevent crash in
GotoFirstNonBlankOfLine(#2050) (#2051) (Thanks @springcomp!) - Refactor the usage of
_clipboard(#2022) (Thanks @springcomp!) - Make
d0to delete to the start of the current logical line in a multiline buffer in VI mode (#2002) (Thanks @springcomp!) - Add github action to pre-triage new issues (#2117, #2118)
- Highlight the install command in README.md (#2088) (Thanks @jiriurban21!)
- Deleting backward to or until a character should preserve the character under the cursor (#2007) (Thanks @springcomp!)
- Use
d^to delete from the first non-blank character of a logical line (#2001) (Thanks @springcomp!) - Update nuget.config based on guidance (#2003)
- Update the release build to use ESRP signing and unify the compliance job (#1983)
- Add readonly modifier to some private fields (#1984)
- Add argument selection handler to the sample profile (#1947) (Thanks @ThePSAdmin!)
- Fix three issues with the menu completion (#1946)
PSReadLine v2.2.0-beta1 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
ListViewand also hook up with theCommandPredictionAPIs introduced in PS 7.1 (#1909)- Please see the PR description of #1909 for details about the Predictive IntelliSense feature.
- NOTE: the prediction
ListViewhas been mainly tested in theWindowsedit mode. Testing in theEmacsandVIedit 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
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
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
HelpInfoURIfor 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
dddeletes the logical line instead of the entire buffer (#1658) (Thanks @springcomp) - Improve the bug reporting message (#1698)
- vi-mode: Add
dGto delete to the end of multiline buffer (#1692) (Thanks @springcomp) - Remove duplicated code (#1700) (Thanks @springcomp)
- vi-mode:
ddnow handles single line or multiline buffers consistently (#1694) (Thanks @springcomp) - vi-mode: Make
Dandd$delete to the end of the current logical line (#1695) (Thanks @springcomp) - vi-mode - Make
djdelete the current and nextnlogical 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
dkto delete the previousnlogical lines and the current logical line in a multi-line buffer (#1737) (Thanks @springcomp) - vi-mode: Add
dggto delete from the beginning of the buffer to the current logical line (#1752) (Thanks @springcomp) - Use const strings for some often used
ANSIcontrol sequences (#1809) - Correct the descriptions of
SelectBackwardsLineandSelectLine(#1857) - Fix the inline prediction to not leak color (#1861)
- Rename
PredictionColortoInlinePredictionColor(#1860) - Fix a rendering issue regarding cleanup of previous logical lines (#1865)
- Allow
MaximumHistoryCountto 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
-PredictionSourcetoSet-PSReadLineOption, with the optionsNoneandHistory(#1496) - Make the predictive suggestion feature disabled by default (
PredictionSourceset toNone).
It can be enabled bySet-PSReadLineOption -PredictionSource History(#1496) - Make the functions
AcceptSuggestionandAcceptNextSuggestionWordbindable (#1496) - Fix the
ArgumentOutOfRangeExceptioncaused by trimming the command line before saving to history (#1496) - Refactor
SelfInsertto avoid duplicate logic (#1510) - Relax the sensitive words we filter by changing
keytoapikeyto reduce false positives (#1517) - Make edit group more stable in VI mode (#1526)
- Make
ViForwardCharable to accept suggestions (#1528) - Update build as we move help content to the
PowerShell-Docsrepository (#1537) - Reset all VT attributes for
PromptTextif it contains VT sequences (#1544) - Expose
ViBackwardCharandViForwardCharas 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)