Skip to content

0.26.0

Compare
Choose a tag to compare
@sholderbach sholderbach released this 14 Nov 19:42
· 93 commits to main since this release
93af55c

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