rustyline breaking changes
Updated December 4, 2026
On this page
Latest version 19.0.0, released October 17, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
- From 18.0.0 to 19.0.0: 1 breaking change in 1 version.
- From 10.0.0 to 19.0.0: 95 breaking changes in 9 versions.
rustyline 19.0.0 breaking changes
- Behavior changed
At the completion list prompt, Tab is now accepted as confirmation. Code or key handling that relied on Tab behaving differently there may need to be checked. github.com
rustyline 18.0.0 breaking changes
- Behavior changed
The release now checks the NO_COLOR environment variable, so prompt styling may be disabled when it is set. Code that relies on colored prompts should check this variable. github.com - Signature changed
rustyline::Editor::readline
Was fn readline(&mut self, prompt: &str) -> Result<String>; now fn readline<P: Prompt + ?Sized>(&mut self, prompt: &P) -> Result<String>. crates.io - Signature changed
rustyline::Editor::readline_with_initial
Was fn readline_with_initial(&mut self, prompt: &str, initial: (&str, &str)) -> Result<String>; now fn readline_with_initial<P: Prompt + ?Sized>(&mut self, prompt: &P, initial: (&str, &str)) -> Result<String>. crates.io
rustyline 17.0.0 breaking changes
- Removed
rustyline::config::Configurer::set_behavior
rustyline::config::Configurer::set_behavior was removed in rustyline 17.0.0 crates.io - Signature changed
rustyline::history::FileHistory::with_config
Was fn with_config(config: Config) -> Self; now fn with_config(config: &Config) -> Self. crates.io - Signature changed
rustyline::history::History::get
Was fn get(&self, index: usize, dir: SearchDirection) -> Result<Option<SearchResult>>; now fn get(&self, index: usize, dir: SearchDirection) -> Result<Option<SearchResult<'_>>>. crates.io - Signature changed
rustyline::history::History::search
Was fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Result<Option<SearchResult>>; now fn search(&self, term: &str, start: usize, dir: SearchDirection) -> Result<Option<SearchResult<'_>>>. crates.io - Signature changed
rustyline::history::History::starts_with
Was fn starts_with(&self, term: &str, start: usize, dir: SearchDirection) -> Result<Option<SearchResult>>; now fn starts_with(&self, term: &str, start: usize, dir: SearchDirection) -> Result<Option<SearchResult<'_>>>. crates.io - Signature changed
rustyline::history::MemHistory::with_config
Was fn with_config(config: Config) -> Self; now fn with_config(config: &Config) -> Self. crates.io - Signature changed
rustyline::sqlite_history::SQLiteHistory::open
Was fn open<P: AsRef<Path> + ?Sized>(config: Config, path: &P) -> Result<Self>; now fn open<P: AsRef<Path> + ?Sized>(config: &Config, path: &P) -> Result<Self>. crates.io - Signature changed
rustyline::sqlite_history::SQLiteHistory::with_config
Was fn with_config(config: Config) -> Result<Self> where Self: Sized,; now fn with_config(config: &Config) -> Result<Self> where Self: Sized,. crates.io
rustyline 16.0.0 breaking changes
- Removed
rustyline::error::ReadlineError::WindowResized
rustyline::error::ReadlineError::WindowResized was removed in rustyline 16.0.0 crates.io - Signature changed
rustyline::config::Builder::indent_size
Was fn indent_size(mut self, indent_size: usize) -> Self; now fn indent_size(mut self, indent_size: u8) -> Self. crates.io - Signature changed
rustyline::config::Builder::tab_stop
Was fn tab_stop(mut self, tab_stop: usize) -> Self; now fn tab_stop(mut self, tab_stop: u8) -> Self. crates.io - Signature changed
rustyline::config::Config::indent_size
Was fn indent_size(&self) -> usize; now fn indent_size(&self) -> u8. crates.io - Signature changed
rustyline::config::Config::tab_stop
Was fn tab_stop(&self) -> usize; now fn tab_stop(&self) -> u8. crates.io - Signature changed
rustyline::config::Configurer::set_indent_size
Was fn set_indent_size(&mut self, size: usize); now fn set_indent_size(&mut self, size: u8). crates.io - Signature changed
rustyline::config::Configurer::set_tab_stop
Was fn set_tab_stop(&mut self, tab_stop: usize); now fn set_tab_stop(&mut self, tab_stop: u8). crates.io - Signature changed
rustyline::Config::indent_size
Was fn indent_size(&self) -> usize; now fn indent_size(&self) -> u8. crates.io - Signature changed
rustyline::Config::tab_stop
Was fn tab_stop(&self) -> usize; now fn tab_stop(&self) -> u8. crates.io - Signature changed
rustyline::Editor::dimensions
Was fn dimensions(&mut self) -> Option<(usize, usize)>; now fn dimensions(&mut self) -> Option<(Unit, Unit)>. crates.io
And 4 more in this version. Sign up to see every change
rustyline 15.0.0 breaking changes
- Removed
&
The trait implementation for & was removed. Code that relied on it through references must be changed. github.com - Behavior changed
Lint attributes now use #[expect(lint)] where possible, which is a breaking change tied to the minimum supported Rust version (MSRV). Check that your toolchain meets the new requirement. github.com - Behavior changed
Highlighter.highlight_char
The highlight_char method was fixed in a way that is a breaking change. Review any custom Highlighter implementations that rely on its previous output. github.com - Signature changed
rustyline::highlight::Highlighter::highlight_char
Was fn highlight_char(&self, line: &str, pos: usize, forced: bool) -> bool; now fn highlight_char(&self, line: &str, pos: usize, kind: CmdKind) -> bool. crates.io - Signature changed
rustyline::hint::HistoryHinter::new
Was fn new() -> HistoryHinter; now fn new() -> Self. crates.io
rustyline 14.0.0 breaking changes
- Signature changed
rustyline::config::Builder::keyseq_timeout
Was fn keyseq_timeout(mut self, keyseq_timeout_ms: i32) -> Self; now fn keyseq_timeout(mut self, keyseq_timeout_ms: Option<u16>) -> Self. crates.io - Signature changed
rustyline::config::Config::keyseq_timeout
Was fn keyseq_timeout(&self) -> i32; now fn keyseq_timeout(&self) -> Option<u16>. crates.io - Signature changed
rustyline::config::Configurer::set_keyseq_timeout
Was fn set_keyseq_timeout(&mut self, keyseq_timeout_ms: i32); now fn set_keyseq_timeout(&mut self, keyseq_timeout_ms: Option<u16>). crates.io - Signature changed
rustyline::Config::keyseq_timeout
Was fn keyseq_timeout(&self) -> i32; now fn keyseq_timeout(&self) -> Option<u16>. crates.io
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
rustyline 13.0.0 breaking changes
- Behavior changed
The release changed how the terminal cursor visibility is handled, which may alter how the cursor appears in existing programs. github.com - Configuration changed
The termios dependency is now optional, so code or builds that relied on it being pulled in automatically may need to enable it explicitly. github.com
And 2 more in this version.
rustyline 12.0.0 breaking changes
- Default changed
MemHistory.default
MemHistory::default() is now a wrapper around MemHistory::new(), so max_len no longer defaults to 0. Code relying on the old default history length may behave differently. github.com - Signature changed
rustyline::Result
Was type Result<T> = result::Result<T, error::ReadlineError>; now type Result<T> = result::Result<T, ReadlineError>. crates.io
rustyline 11.0.0 breaking changes
- Removed
rustyline::history::History::iter
rustyline::history::History::iter was removed in rustyline 11.0.0 crates.io - Removed
rustyline::history::History::last
rustyline::history::History::last was removed in rustyline 11.0.0 crates.io
And 52 more in this version.
rustyline 10.0.0 breaking changes
- Removed
rustyline::config::Builder::output_stream
rustyline::config::Builder::output_stream was removed in rustyline 10.0.0 crates.io - Removed
rustyline::config::Config::output_stream
rustyline::config::Config::output_stream was removed in rustyline 10.0.0 crates.io
And 16 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.