Skip to content

Releases: PowerShell/PSReadLine

Beta5 of PSReadLine 2.0

13 Sep 21:12
809c287
Compare
Choose a tag to compare
Pre-release

v2.0.0-beta5 - 09/13/2019

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

  • Handle the dead key on Windows properly (#933, #945)
  • Fix duplicate menu at end of buffer (#937) (Thanks @parkovski)
  • Get Buffer Info as part of the Environment data in bug reporting (#942)
  • Add API to detect if the screen reader is active (#947)
  • Fix ArgumentOutOfRangeException thrown when changing color of the error prompt (#967)
  • Fix the ArgumentOutOfRangeException caused by top of the text being scrolled up-off the buffer (#979)
  • Add the missing single curly quote and double curly quote to IsSingleQuote and IsDoubleQuote checks (#985) (Thanks @msftrncs)
  • Fix the color of operator token in the ArgumentMode in syntax highlighting (#1003) (Thanks @msftrncs)
  • Prioritize highlight of command names, prevent bleed from aligned nested tokens in syntax highlighting (#989) (Thanks @msftrncs)
  • Prevent ArgumentOutOfRangeException when showing the tab completion menu (#984) (Thanks @msftrncs)
  • Make PageUp/PageDown and CtrlPageUp/CtrlPageDown windows only (#1032)
  • Fix UpArrow when the cursor is at the end of a wrapped line in a multiple-line text (#1028)

Beta1 of PSReadLine 2.0

06 Dec 07:52
Compare
Choose a tag to compare
Pre-release

This is the first release from the repo supporting both PowerShell Core (all platforms) and Windows PowerShell.

The single zip file should work on platforms where PowerShell is supported, though testing on non-Windows platforms has been limited.

### Version 2.0

Pre-release notes:

There are known issues:

* Some custom key bindings are broken (#580)

Breaking changes:
* Requires PowerShell V5 or later and .Net 4.6.1
* Set-PSReadLineOption options have changed
  - To specify colors, use the new `-Color` parameter and pass a Hashtable
  - All other color options have been removed include `-ResetTokenColors`
  - To specify background colors, you must now use a VT escape sequence.
* Changing the end of the prompt to red may not work automatically anymore if
  your prompt is non-trivial. To fix, use `Set-PSReadLineOption -PromptText "> "`.
* Consistently use `PSReadLine` instead of `PSReadline` everywhere, APIs, cmdlets, files, etc.
* Building requires VS2017

New features:
* Interactive filtering during menu complete (#515) (Thanks @MVKozlov!)
* Redirected input now works (#564) (Thanks @parkovski!)
* Tooltips always on in MenuComplete (only displayed
  if they give more information than the completion.)
* Get-PSReadLineKeyHandler output is grouped by category. (#114)
* Support for VT escape sequences to specify colors.
* Shift+Insert bound to Paste in Windows mode (#484)
* Ctrl+t bound to SwapCharacters in Emacs mode (#538) (Thanks andrewcromwell!)
* Ctrl+x,Ctrl+e bound to ViEditVisually in Emacs mode (#478)
* HistoryNoDuplicates is now on by default (#208)

Bug fixes:
* DeleteChar no longer deletes any text left of the cursor in Windows/Emacs
  and matches vim behavior of working like <x> in command mode.
* Fix InvokePrompt when the prompt is > 1 line.
* Fix YankToPercent off by 1 error.
* Fix error reported when running in container.
* Catch and ignore execptions in InvokePrompt (#583)
* Get new completions on 2nd tab if 1st had 1 result (#238)
* Tab replaced with 4 spaces during paste (#144)
* Fix rendering after buffer resize (#418)
* Invoke external editor w/o AcceptLine (#339)
* Fix exception with UpArrow after a command line edit in vi-mode (#573) (Thanks @srdubya!)
* Treat DingDuration=0 as BellStyle.None (#364)
* Color long name parameters like --force as a parameter (#398)
* Allow CaptureScreen to be used w/o a key binding (#419)
* Ignore duplicates during tab completion (#413)
* Fix exception with negative count in Delete (#502)
* Use correct help file name (#507)
* Fix exception in ShowKeyBinding w/ custom handler (#505)
* Normalize filename for saving history (#512)
* Treat end of buffer as whitespace for vi words (#536)
* Fix exception with invalid CompletionResult (#534)
* Fix exception with negative count in Kill* (#540) (Thanks andrewcromwell!)
* Fixes to SwapCharacters (#538) (Thanks andrewcromwell!)
* Fix cursor placement with CJK characters (#542)
* Fix key bindings with certain Windows keyboard layouts (#168 #556)
* Remove Ding from Backspace on an empty line (#422)
* Fix occasional hang reading history file (#524)
* HistorySearchCursorMovesToEnd previously only worked in incremental search.
  It is now on by default, honored in the non-incremental search (HistorySearch)
  and also in Vi Command mode for non-search history recall. (#438 #530) (Thanks @srdubya!)

Win10 compatibility, vi mode, and bug fixes

25 Jan 21:02
Compare
Choose a tag to compare

This release is compatible with what shipped in Win10. Notable changes (and possibly breaking if coming from v1.0.0.13):

  • Vi mode now supported
  • Namespace change (relevant for custom key handlers) (same as in Win10)
  • Default location of history file has moved (same as in Win10)

V1.0.0.13

18 Feb 00:42
Compare
Choose a tag to compare

This release contains mostly bug fixes, see https://raw.githubusercontent.com/lzybkr/PSReadLine/master/PSReadLine/Changes.txt for details.

PSReadLine - Latest

16 Nov 19:19
Compare
Choose a tag to compare

The tag/release is the latest stable build.

v1.0.0.12

26 Aug 16:16
Compare
Choose a tag to compare

Added sane multi-line editing plus bug fixes.

PSReadLine

16 Nov 19:18
Compare
Choose a tag to compare

With Ctrl-R support, we can call this v1!

It's not done, but I'm not a fan of perpetual beta releases.