Skip to content

Releases: nushell/reedline

0.26.0

14 Nov 19:42
93af55c
Compare
Choose a tag to compare

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 with SqliteBackedHistory by @p00f in #647
    • CwdAwareHinter: remove cwd filter when there are no results by @p00f in #656
    • can still be used with FileBackedHistory
  • Make Result and ReedlineError public by @ClementNerma in #661
  • Add more derive impl for HistoryItemId by @ClementNerma in #662

Fixes

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 by use_bracketed_paste
    • Reedline::enable/disable_kitty_protocol have been replaced by use_kitty_keyboard_enhancement
    • Reedline::can_use_kitty_protocol has been replaced by kitty_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

New Contributors

Full Changelog: v0.25.0...v0.26.0

0.25.0

16 Oct 18:11
adc20cb
Compare
Choose a tag to compare

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 for BufferEditor by @horasal in #630
    • updated arguments on Reedline::with_buffer_arguments

Other changes

New Contributors

Full Changelog: v0.24.0...v0.25.0

0.24.0

19 Sep 13:00
fd73d04
Compare
Choose a tag to compare

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 via Reedline::disable_kitty_protocol
    • To check whether the terminal emulator supports it: Reedline::can_use_kitty_protocol
  • Support for "transient prompt" that is displayed for already submitted entries. by @ysthakur in #627
    • Pass a Prompt to Reedline::with_transient_prompt() that will be displayed for an entry after it has been submitted.

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

Breaking changes

  • Bump crossterm to 0.27.0 by @sholderbach in #625
  • Change to SqliteBackedHistory::with_file() constructor to accomodate #634

Other improvements

New Contributors

Full Changelog: v0.23.0...v0.24.0

0.23.0

20 Aug 21:00
a20c867
Compare
Choose a tag to compare

New release for nushell 0.84.0

This release includes a bugfix in how we style prompts and updates a dependency.

Breaking change

  • turn off default prompt styling (bold) to prevent leakage by @fdncred in #615

Other changes

  • update strip-ansi-escapes to their latest api by @fdncred in #617
  • update to strip-ansi-escapes 0.2.0 by @fdncred in #618

Full Changelog: v0.22.0...v0.23.0

0.22.0

24 Jul 19:27
0b9cb47
Compare
Choose a tag to compare

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

Breaking changes

Other changes

New Contributors

Full Changelog: v0.21.0...v0.22.0

0.21.0

26 Jun 10:30
c8bc5ac
Compare
Choose a tag to compare

New release for nushell 0.82.0

This release adds a function to disable the bracketed paste mode.

What's Changed

Full Changelog: v0.20.0...v0.21.0

0.20.0

06 Jun 10:42
3cb0feb
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.19.0...v0.20.0

0.19.1

16 May 21:43
Compare
Choose a tag to compare

Bugfix release for nushell 0.80.0

This release fixes the bracketed paste mode but doesn't include any new features.

What's Changed

Full Changelog: v0.19.0...v0.19.1

0.19.0

25 Apr 18:34
ec002a7
Compare
Choose a tag to compare

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

Full Changelog: v0.18.0...v0.19.0

0.18.0

03 Apr 22:01
89cb811
Compare
Choose a tag to compare

New release for nushell 0.78.0

This release fixes a few bugs and includes some polishing work of the code base.

Bugfixes

Minor additions

New Contributors

Full Changelog: v0.17.0...v0.18.0