Releases: nushell/reedline
0.27.0
New release for nushell 0.88.0
This release fixes a vi-mode binding and makes several parts of the history-related API public.
Bugfixes
(Preliminary) changes to the history API
Note: we are considering changes to History
and friends in the near future, so this publication may be preliminary and encounter future changes.
- Allow to construct ReedlineError values from the outside by @ClementNerma in #676
- Allow to build HistoryItemId values from the outside by @ClementNerma in #677
- Make history-related items (de-)serializable by @ClementNerma in #678
Other changes
- Build docs.rs docs with all features by @sholderbach in #672
New Contributors
Full Changelog: v0.26.0...v0.27.0
0.26.0
New release for nushell 0.87.0
This release adds a Hinter
implementation that prefers suggestions from the current directory, generally improves the hint behavior, and changes the API to control terminal enhancements like bracketed paste and the kitty protocol.
Additions
- Add
CwdAwareHinter
for use withSqliteBackedHistory
by @p00f in #647 - Make
Result
andReedlineError
public by @ClementNerma in #661 - Add more derive impl for HistoryItemId by @ClementNerma in #662
Fixes
- Avoid consuming CPU when waiting for input. by @sunfishcode in #651
- Don't allow certain
examples/
to compile without their features by @fdncred in #658 - re-enable bracketed paste on not(windows) (fixes #9944) (fixes #648) by @LevitatingBusinessMan in #657
Breaking changes
- Split hinter tokens at Unicode word boundaries by @stfacc in #650
- Properly handle optional event modes by @sholderbach in #659
Reedline::enable/disable_bracketed_paste
have been replaced byuse_bracketed_paste
Reedline::enable/disable_kitty_protocol
have been replaced byuse_kitty_keyboard_enhancement
Reedline::can_use_kitty_protocol
has been replaced bykitty_protocol_available
- bracketed paste will now only be enabled for the duration of
Reedline::read_line
, you don't have to manually toggle it anymore.
Other improvements
- Also run clippy on examples by @Hofer-Julian in #666
- Bump version for
0.26.0
release by @sholderbach in #664
New Contributors
- @p00f made their first contribution in #647
- @sunfishcode made their first contribution in #651
- @stfacc made their first contribution in #650
- @LevitatingBusinessMan made their first contribution in #657
Full Changelog: v0.25.0...v0.26.0
0.25.0
New release for nushell 0.86.0
This release changes the API to pass the buffer editor to enable you to safely pass flags and configure the location of the temp file.
Breaking changes
- Accept
Command
with args forBufferEditor
by @horasal in #630- updated arguments on
Reedline::with_buffer_arguments
- updated arguments on
Other changes
- Update motto title by @sholderbach in #640
- Fix clippy lint from most recent Rust by @sholderbach in #646
- Bump version for
0.25.0
release by @sholderbach in #645
New Contributors
Full Changelog: v0.24.0...v0.25.0
0.24.0
New release for nushell 0.85.0
This release includes support for the Kitty Keyboard Protocol, an API for transient prompts, and improves session isolation for the SqliteBackedHistory
Additions
- Add Kitty protocol keyboard enhancement support by @Abdillah in #607
- Disabled by default use
Reedline::enable_kitty_protocol
. Disable viaReedline::disable_kitty_protocol
- To check whether the terminal emulator supports it:
Reedline::can_use_kitty_protocol
- Disabled by default use
- Support for "transient prompt" that is displayed for already submitted entries. by @ysthakur in #627
- Pass a
Prompt
toReedline::with_transient_prompt()
that will be displayed for an entry after it has been submitted.
- Pass a
Improvements to behavior
- Improve history isolation by @Hofer-Julian in #634
- Now show past entries from older sessions and only isolate from parallel running sessions. Only affects
SqliteBackedHistory
- Now show past entries from older sessions and only isolate from parallel running sessions. Only affects
Breaking changes
- Bump
crossterm
to 0.27.0 by @sholderbach in #625 - Change to
SqliteBackedHistory::with_file()
constructor to accomodate #634
Other improvements
- Fix
read_line
docs by @Hofer-Julian in #629 - Minor improvements by @Hofer-Julian in #633
- Setup coverage with codecov.io by @sholderbach in #635
- Add a configuration to codecov.io by @sholderbach in #636
- Remove old
actions-rs/cargo
by @sholderbach in #637 - Bump version for
0.24
release by @sholderbach in #638
New Contributors
Full Changelog: v0.23.0...v0.24.0
0.23.0
0.22.0
New release for nushell 0.83.0
This release includes bugfixes in how we interact with the terminal and updates several of our dependencies
Bugfixes
- Fix
big_word_left_index
by @nibon7 in #609 - always disable bracketed paste after
read_line
by @WindSoilder in #598 - Replace crossterm
ScrollUp
with universal workaround by @NotLebedev in #601
Breaking changes
- Bump
nu-ansi-term
to 0.49.0 by @sholderbach in #613
Other changes
- Remove unneeded features of chrono by @nibon7 in #599
- Update (dev-)deps strum/pretty-assertions,rstest by @sholderbach in #600
- Fix clippy lint for DoubleEndedIterator by @sholderbach in #610
- Update the
Cargo.lock
for tests and demo by @sholderbach in #611
New Contributors
- @NotLebedev made their first contribution in #601
Full Changelog: v0.21.0...v0.22.0
0.21.0
New release for nushell 0.82.0
This release adds a function to disable the bracketed paste mode.
What's Changed
- update .typos.toml for bui by @fdncred in #593
- add a new disable_bracketed_paste method by @WindSoilder in #592
- Bump version for
0.21.0
release by @sholderbach in #596
Full Changelog: v0.20.0...v0.21.0
0.20.0
New release for nushell 0.81.0
This release adds the option to skip the addition of history entries, fixes some long standing painting issues, and expands the set of key combinations that can be bound in inserting edit modes.
Additions
- Filter history entries that are inserted by checking for a prefix (e.g. leading space) by @samlich in #566
- Allow binding of CTRL+ALT combinations as well as bare keys in insert mode by @TrMen in #580
Bugfixes
- fix: prompt position on resize by @Banyc in #578
- Support multi-line strings in the external printer by @fnordpig in #588
Chores
- bump reedline version by @jntrnr in #585
- update dependencies by @fdncred in #586
- update cargo.lock by @fdncred in #587
- Revert removal of patch versions by @sholderbach in #590
- Bump to
0.20.0
for release by @sholderbach in #581
New Contributors
- @samlich made their first contribution in #566
- @TrMen made their first contribution in #580
- @Banyc made their first contribution in #578
- @fnordpig made their first contribution in #588
Full Changelog: v0.19.0...v0.20.0
0.19.1
Bugfix release for nushell 0.80.0
This release fixes the bracketed paste mode but doesn't include any new features.
What's Changed
- fix bracketed paste by @WindSoilder in #577
Full Changelog: v0.19.0...v0.19.1
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