rustyline v2.0.0 Release Notes

Release Date: 2018-08-26 // over 5 years ago
  • ๐Ÿ’ฅ 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)