Skip to content

Releases: nushell/reedline

0.9.0

28 Jul 12:07
a535eda
Compare
Choose a tag to compare

New release for nushell 0.66.0

This release adds support for more common vi commands and motions and removes the problematic periodic repaint for animations

Breaking changes

  • The option to periodically repaint the prompt and content (initially used by an animated clock in the prompt) has been removed to remove a source of unexpected drawing behavior (@jntrnr)
  • Similarly we don't immediately redraw on resize and instead let the text wrapping flow regularly (@jntrnr)
  • Update the rusqlite dependency to 0.28 (@fdncred)

Improvements

  • vi mode: Change the case of a character with ~ (@drbrain)
  • vi mode: Support repeating character search moves with ; and , (@drbrain)

This release was made possible by contributions from @drbrain, @fdncred, and @jntrnr

0.8.0

05 Jul 08:48
117f13b
Compare
Choose a tag to compare

New release for nushell 0.65.0

This release adds support for more common vi commands and motions and includes several bugfixes

Improvements

  • vi mode: Character replacement with r works (@drbrain)
  • vi mode: The whitespace delimited WORD motions W, E, and B are now supported (@drbrain)

Bug fixes

  • Expose the new history IDs as strings via Display (@fdncred)
  • Fix of the bash style history substitutions like !! (@WindSoilder)
  • Fix of a potential underflow (@nibon7)

This release was made possible by contributions from @drbrain, @fdncred, @nibon7, and @WindSoilder

0.7.0

14 Jun 21:15
f145835
Compare
Choose a tag to compare

New release for nushell 0.64.0

This release introduces a new history API and thus enables addition of different history storage backends to support storing additional metadata that can in the future be used to present more relevant history entries to the user.

Breaking changes

  • New API for the History, addition of several types to query the history independent of a running reedline session, addition of the SqliteBackedHistory (@phiresky)
  • We now use nu-ansi-term 0.46.0 to avoid an unsound Deref impl that confuses the clippy lint clippy::unnecessary_to_owned

Improvements

  • Default keybindings were overhauled to support more common bindings in vi mode and make the code more readable (@Artturin, @sholderbach)

Bug fixes

  • Don't panic if the history directory gets deleted during a running session (@WindSoilder)

This release was made possible by contributions from @Artturin, @elferherrera, @fdncred, @phiresky, @sholderbach. @WindSoilder

0.6.0

23 May 22:15
d8ff270
Compare
Choose a tag to compare

New release for nushell 0.63

This release contains several bug fixes and improvements to the vi-emulation and documentation.

  • Improvements to the vi-style keybindings (@sadmac7000):
    • w now correctly moves to the beginning of the word.
    • e to move to the end of the word.
  • Bugfixes:
    • Support terminal emulators that erroneously report a size of 0x0 by assuming a default size to avoid panics and draw nevertheless (@DhruvDh)
    • Fix ListMenu layout calculations. Avoids scrolling bug when wrapping occurs due to the line numbering (@ahkrr)
    • Avoid allocating to the total history capacity which can cause the application to go out of memory (@sholderbach)
  • Documentation improvements including addition of documentation intended for reedline developers (@petrisch, @sholderbach)

This release was made possible with contributions from: @ahkrr, @DhruvDh, @petrisch, @sadmac7000, @sholderbach

0.5.0

03 May 19:36
ef64992
Compare
Choose a tag to compare

New release for nushell 0.62

This release contains several fixes to completions and vi-emulation as well as other small quality of life improvements.

  • vi keybindings:
    • Fix: deleting a character with x correctly adds it to the clipboard
    • new bindings: I to insert at the beginning of the line, C change to the end of the line, s/S substitute character/whole line with the insert mode
  • Completions:
    • partial completions will require matching prefix to not exhibit surprising behavior with fuzzy matching completions.
    • API break: Suggestion struct now has the append_whitespace field to optionally add a space after accepting the Suggestion, this avoids that a shell-like Completer will try to continue to complete the token
  • New EditCommands and ReedlineEvents:
    • ReedlineEvent::OpenEditor to shell out to a configurable external editor for long commands.
    • ReedlineEvent::ClearScrollback for screen clearing that also removes the scrollback buffer content
    • EditCommand::InsertNewline to insert the newline character that is correct for the platform (CRLF on Windows, LF on Unix) at the current position (Can be bound to Alt-Enter for multiline editing without Validator implementation)

This release was made possible with contributions from: @elferherrera, @gipsyh, @sholderbach, @Tropid, @zim0369

0.4.0

12 Apr 09:48
2176424
Compare
Choose a tag to compare

New release for nushell 0.61.0

This release contains several API breaks:

  • The default constructor Reedline::create() and Reedline.with_history are not fallible anymore
  • Changes to the provided menus to have more flexibility

Further changes:

  • Per default Hinter and Validator are not added as DefaultHinter or DefaultValidator anymore, you have to explicitly add them via the builder pattern.
  • The definition of the word boundaries was changed to respect non alphanumeric characters better.
  • Keybindings support the removal of existing bindings
  • More colorful default prompt

0.3.0

16 Mar 23:32
c0543b8
Compare
Choose a tag to compare

This release bundles most of the improvements made in co-development with nushell's new engine-q engine.
Now all major features are sufficiently ready to be used with the next main nushell release.