Releases: nushell/reedline
0.19.0
New release for nushell 0.79.0
This release upgrades crossterm
to 0.26.1
and includes additional improvements.
What's Changed
- Update crossterm to version 0.26.1 by @WindSoilder in #560
- Allow history searching via session id by @fdncred in #562
- Re-export
crossterm::style::Color
for easier custom prompt implementations by @xiuxiu62 in #569 - Add
Reedline::current_insertion_point()
to return the current insertion point of the input buffer by @stevenxxiu in #573 - Support bracketed paste mode by @WindSoilder in #571
- Restore the cursor shape when reedline exits by @nibon7 in #574
New Contributors
- @xiuxiu62 made their first contribution in #569
- @stevenxxiu made their first contribution in #573
Full Changelog: v0.18.0...v0.19.0
0.18.0
New release for nushell 0.78.0
This release fixes a few bugs and includes some polishing work of the code base.
Bugfixes
- fix: singlebyte char assumption in
parse_selection_char
by @micron-mushroom in #548 - Allow multi byte characters as the marker without panicking by @ryanwhitehouse in #553
Minor additions
- Make
Event
public to allow implements customEditMode
by @ClementNerma in #552 - Set MSRV to 1.62.1 by @jaudiger in #554
- Check typos in CI by @Hofer-Julian in #557
- Add const to some new functions. by @jaudiger in #555
- show the ability to have multiple modifiers by @fdncred in #559
- Bump version for
0.18.0
release by @sholderbach in #564
New Contributors
- @ClementNerma made their first contribution in #552
- @micron-mushroom made their first contribution in #548
- @jaudiger made their first contribution in #554
- @Hofer-Julian made their first contribution in #557
- @ryanwhitehouse made their first contribution in #553
Full Changelog: v0.17.0...v0.18.0
0.17.0
New release for nushell 0.77.0
This release adds support for arguments in the pass-through editor invocation.
Breaking change.
- We now depend on
nu-ansi-term
0.47.0 (@sholderbach in #549)
New features
Reedline::with_buffer_editor
now supports editor arguments (@merelymyself in #544)
New Contributors
- @merelymyself made their first contribution in #544
Full Changelog: v0.16.0...v0.17.0
0.16.0
New release for nushell 0.76.0
This release adds a bug fix for menu completions and starts work to improve the History
API by supporting clearing
What's Changed
- Fix columnar menu completion corrupting the editor insertion point by @csko in #534
- Add
History::clear()
function by @rgwood in #536 - add
history-clear
to demo by @fdncred in #537 - VACUUM after deleting SQLite data by @rgwood in #538
- Bump
rstest
to 0.16 by @sholderbach in #541 - Bump version for
0.16.0
release. by @sholderbach in #542
New Contributors
Full Changelog: v0.15.0...v0.16.0
0.15.0
New release for nushell 0.75.0
This release adds more flexibility to configure reedline and some other small improvements.
New configuration features
- Make
DefaultPrompt
configurable by @jmoore34 in #519 - Make reedline handling cursor shapes more configurable by @CozyPenguin in #515
- Allow configuration of multiline prompt color by @dgkf in #531
Various small improvements
- Use
Box::default()
in more places by @sholderbach in #512 - Fix example in CONTRIBUTING.md by @rgwood in #517
- Fix the Github actions badge by @sholderbach in #523
- Remove unstable rustdoc lint by @sholderbach in #533
- Bump version for
0.15
release by @sholderbach in #532
New Contributors
Full Changelog: v0.14.0...v0.15.0
0.14.0
New release for nushell 0.71.0
This release adds some small improvements and slightly adjust how quick_completions
are accepted.
New features
- Option to render the right prompt on the last line input by @nibon7 in #492 #501
- Change of cursor shape depending on Vi edit mode by @CozyPenguin in #494
Improvements
- Support the
h/j/k/l
normal mode moves beyond buffer movements @sholderbach in #510 - Custom validator and prompt code examples by @perlindgren in #500
Bug fixes
- Actually make sqlite-dynlib feature usable by @jcgruenhage in #504
Breaking changes
- Tab inline completion by @dandavison in #498
- Split the
main.rs
example binary intoexamples/
by @sholderbach in #506
New Contributors
- @CozyPenguin made their first contribution in #494
- @dandavison made their first contribution in #498
Full Changelog: v0.13.0...v0.14.0
0.13.0
New release for nushell 0.70.0
This release adds some small improvements and makes it configurable how a line is accepted when pressing Enter
.
New features
Improvements
- Remove flicker on external print by @tailhook in #488
- Added executable examples for individual reedline components by @perlindgren in #493
- Documentation improvements by @perlindgren and @sholderbach in #493, #496, and #497
New Contributors
- @tailhook made their first contribution in #488
- @perlindgren made their first contribution in #493
Full Changelog: v0.12.0...v0.13.0
0.12.0
New release for nushell 0.69.0
This release adds some helpful new experimental features and improves the vi mode.
Improvements
- Allow external manipulation of the command line buffer, fixes #423. Very useful to integrate tools that don't directly work with our completion API (@unrelentingtech in #472)
- You are now not forced to statically link sqlite by using the
sqlite-dynlib
feature instead ofsqlite
(@jcgruenhage, @sholderbach in #474) - Nushell specific: List that space can be bound through
Char(' ')
(@sholderbach in #486) - Vi-Refactor: Properly parse motions separate from the actions (@sholderbach in #484)
- Improves
.
behavior: now useable with a count and only affecting editing operations. - Improvement to
;
and.
: Now picking up the last search from an editing operation and also usable in an editing operation - Finally: support for
dh
anddl
- Fix vi character search (
f
/F
/t
/T
) parsing (additonal work in #483)
- Improves
Breaking changes
Experimental new features
New Contributors
- @GrxE made their first contribution in #467
- @jcgruenhage made their first contribution in #474
Full Changelog: v0.11.0...v0.12.0
0.11.0
New release for nushell 0.68.0
This release helps to fix bugs around the use of our history.
Improvements
- Avoid a panic when accessing history entries (@nibon7)
- Add
has_last_command_context
to test before trying to modify the history metadata (@unrelentingtech)
This release was made possible by contributions from @morzel85, @nibon7, and @unrelentingtech
0.10.0
New release for nushell 0.67.0
This release improves the undo/redo handling and several keybindings.
Breaking changes
- The API to change the buffer from a custom
Menu
has been changed to use theEditor
struct to track undo relevant behavior (@bnprks) - The
CircularCompletionHandler
implementing the basic bash like completion and the associatedReedlineEvent::ActionHandler
have been removed as they are not used innushell
and haven't been tested in a while - Update to
crossterm
0.24
(@sholderbach)- We now reexport the
KeyCode
andKeyModifiers
types directly so consumers don't have to explicit import the correctcrossterm
version (@ajeetdsouza, @sholderbach)
- We now reexport the
Improvements
- Undo/Redo will coalesce individual consecutive keypresses and deletions to words correctly, history navigation and menus are tracked correctly (@bnprks)
- vi mode: Support for
d0
,d^
,c0
, andc^
(@bnprks) - Default for all editing modes: support
Ctrl-h
asBackspace
(@morzel85)
This release was made possible by contributions from @bnprks, @fdncred, @morzel85, and @sholderbach