Skip to content

Releases: kkawakam/rustyline

4.1.0

17 May 19:30
fb8760b
Compare
Choose a tag to compare
  • Fix nightly build (#217)
  • Make implementing Helper easier (#213)
  • Introduce FilenameCompleter::complete_path (#211)
  • Replace deprecated ATOMIC_BOOL_INIT (#221)

4.0.0

24 Apr 16:33
a8bab4d
Compare
Choose a tag to compare

Breaking Changes

  • Introduce Context which gives history access for completion/suggestion.
  • Update nix dependency to 0.13

Changelog

  • Suggestion based on history: HistoryHinter
  • Support bracketed paste mode on unix
  • Editor::dimensions returns terminal size (#204)
  • Feature toggle dirs to legacy support (#195)
  • Fix bug in HistoryHinter when ctx.history_index() is 0 (#186)
  • Fix \t rendering width (#65)

3.0.0

09 Dec 09:32
066f573
Compare
Choose a tag to compare

Breaking Changes

  • fix highlight_char signature
  • remove highlight_dynamic_prompt deprecated method

Changelog

  • Add support for matching delimiter blinking (#111)
  • Ensure Editor is Send and Sync. (#160)
  • Complete hints with the right key
  • Allow customisation of the output stream
  • Ignore all IO errors during file completion
  • Fix spelling in documentation
  • Apply clippy::pedantic suggestions
  • Fix hint display logic
  • Simplify surrogate pair handling on windows
  • Rust 2018 edition

2.1.0

09 Sep 11:08
851af7e
Compare
Choose a tag to compare
  • Fix refresh bug (#149)
  • Improve key press handling:
    • BackTab (Shift-Tab) on both unix and windows
    • F1...F5 on linux console
    • Ctrl-Space on windows

2.0.1

06 Sep 20:05
33fd51b
Compare
Choose a tag to compare
  • Use into() instead of casting to c_ulong because of different types in some targets
  • Windows: handle shift+arrow
  • Fix #137
  • Mark highlight_dynamic_prompt as deprecated (My bad).

Version 2.0.0

26 Aug 11:26
9243ec5
Compare
Choose a tag to compare

Breaking Changes

  • add_history_line could take a Into (#77)
    rl.add_history_entry(&line); => rl.add_history_entry(line.as_ref());, see impact on example.
  • Introduce Config struct, see first and final impacts on example.
  • Replace set_completer by set_helper, see impact on example.
  • Replace get_history_const by history and get_history by history_mut.
  • Introduce Candidate trait, see impact on example.

Changelog

  • Page completions
  • Doc (#80)
  • Add an Iterator (#82)
  • Make History iterable
  • Fix completion (#95)
  • Handle single ESC key (#66)
  • Fix autocomplete cancel
  • Fix insecure history file creation
  • Fix Ctrl-Z (#20)
  • Vi mode support (#94)
  • Add get_history_const() function
  • Numeric arguments (RepeatCount)
  • Move cursor by grapheme not by char (#107)
  • Undos (#60)
  • Make possible to customize key bindings (#115)
    0a909f7#diff-9cbba383e150da18cf46e47c7a49189fR30
  • Optimize cursor movement (#59)
  • Vi overwrite mode
  • Support additional keys (Function keys, Control+Arrow key, Shift+Arrow key, Insert key)
  • Support initial input (readline_with_initial)
  • Add auto_add_history config flag
  • Hints support (#67)
  • Fix multi-line prompts clearing too many lines
  • Dynamic prompt (arg: ?)
  • Enable ansi colors on windows (windows 10 only)
  • Fix compilation error on FreeBSD (#129)
  • File completion: handle quoted path
  • Upgrade dependencies
  • Fix windows file completion (#106, #113, #136)
  • Highlight support (#111, #114)
  • Modify Editor Config (#137)

Version 1.0.0

21 Aug 03:32
Compare
Choose a tag to compare

Breaking Changes

You will need to explicitly parametrizing the Editor if there is no completer.

Before you would do the following (if you did not specify a completer):

let mut rl = Editor::new();

Now you will have to do the following (if you did not specify a completer):

let mut rl = Editor::<()>::new();

Changelog

  • Fix compilation against musl #41
  • Fix mult-line prompts #45
  • History if configurable to ignore spaces and/or duplicate entries #51
  • Parametrize the editor by the Completer type #52
  • Clear only the lines/rows drawn used by the editor #53
  • Windows support #42 #54 #69

Thank you to @gwenn for his work

Version 0.2.3

03 Jun 03:16
Compare
Choose a tag to compare

Changelog

  • Implement M-d and M-DEL #29
  • Multi-line mode #31
  • Handle SIGWINCH #33
  • Allow rustyline to compile against stable (1.9.0) #38

Version 0.2.2

25 Mar 04:34
Compare
Choose a tag to compare

Changelog

  • Breaking change from nightly rusty where str::char::encode_utf8 now takes no arguments and returns an iterator. Thank you to @saghm #26

Version 0.2.1

15 Mar 03:45
Compare
Choose a tag to compare

Changelog

  • Fix calculated width of prompt with ansi formatting #23
  • relative_from replaced with strip_prefix per rust-lang stabilization #23
  • More information regarding non-stabilized api usage in rusty-line: #17
  • Updating libc and nix dependencies #24