rustyline breaking changes

cargo

9 curated breaking changes across major versions of rustyline. Use this as a migration checklist before bumping dependencies.

9
changes
Breaking changes by transition
  • v8.2.0 \u2192 v9.0.0breaking

    Fix prefix-based search #545

  • v8.2.0 \u2192 v9.0.0breaking

    rename `history::Direction` to `history::SearchDirection`

  • v8.2.0 \u2192 v9.0.0breaking

    `History::search` and `History::starts_with` return a `SearchResult`

  • v7.1.0 \u2192 v8.0.0breaking

    Fix `WordAction` variants (https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms)

  • v6.3.0 \u2192 v7.0.0breaking

    Append histo (Should fix #400): a mutable reference is now needed to save history

  • v6.3.0 \u2192 v7.0.0breaking

    Detach hint title from completion text (#414): `Hinter` trait has a new associated type (just add `type Hint = String;` to fix old implementations)

  • v6.3.0 \u2192 v7.0.0breaking

    Flexible `AcceptLine`, fix bug in multi-line accept (#379)

  • v6.3.0 \u2192 v7.0.0breaking

    Split `KeyPress` into separate `Key` and `Modifier` types. (#318 / #421)

  • v5.0.6 \u2192 v6.0.0breaking

    Input validation (#311, #180, #79) In case you have implemented your own `Helper`, you will have to make it derive `Validator`.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/rustyline
rustyline breaking changes — Cargo migration guide | DepScope