Releases: nushell/reedline
0.9.0
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 to0.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
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
, andB
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
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 runningreedline
session, addition of theSqliteBackedHistory
(@phiresky) - We now use
nu-ansi-term
0.46.0
to avoid an unsoundDeref
impl that confuses the clippy lintclippy::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
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
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
- Fix: deleting a character with
- Completions:
- partial completions will require matching prefix to not exhibit surprising behavior with fuzzy matching completions.
- API break:
Suggestion
struct now has theappend_whitespace
field to optionally add a space after accepting the Suggestion, this avoids that a shell-likeCompleter
will try to continue to complete the token
- New
EditCommand
s andReedlineEvent
s:ReedlineEvent::OpenEditor
to shell out to a configurable external editor for long commands.ReedlineEvent::ClearScrollback
for screen clearing that also removes the scrollback buffer contentEditCommand::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 toAlt-Enter
for multiline editing withoutValidator
implementation)
This release was made possible with contributions from: @elferherrera, @gipsyh, @sholderbach, @Tropid, @zim0369
0.4.0
New release for nushell 0.61.0
This release contains several API breaks:
- The default constructor
Reedline::create()
andReedline.with_history
are not fallible anymore - Changes to the provided menus to have more flexibility
Further changes:
- Per default
Hinter
andValidator
are not added asDefaultHinter
orDefaultValidator
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