---
title: "rustyline 19.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each rustyline release removed, renamed or changed: 113 breaking changes in 10 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/rustyline
last_updated: 2026-12-04
---

# rustyline breaking changes

rustyline 19.0.0 (October 17, 2026) is its newest release with breaking changes. The first: Tab now accepts the selection at the completion list prompt in rustyline 19.0.0. Every breaking API change we have recorded in rustyline on crates.io: 113 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `19.0.0`, released October 17, 2026. [Source repository](https://github.com/kkawakam/rustyline)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [18.0.0](#v-18-0-0) to [19.0.0](#v-19-0-0): 1 breaking change in 1 version.
- From [10.0.0](#v-10-0-0) to [19.0.0](#v-19-0-0): 95 breaking changes in 9 versions.

## rustyline 19.0.0 breaking changes

rustyline 19.0.0, released October 17, 2026: 1 breaking change.

- **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](https://github.com/kkawakam/rustyline/releases/tag/v19.0.0)

## rustyline 18.0.0 breaking changes

rustyline 18.0.0, released March 29, 2026: 3 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](https://github.com/kkawakam/rustyline/releases/tag/v18.0.0)
- **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](https://crates.io/crates/rustyline/18.0.0)
- **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](https://crates.io/crates/rustyline/18.0.0)

## rustyline 17.0.0 breaking changes

rustyline 17.0.0, released August 3, 2025: 8 breaking changes.

- **Removed** `rustyline::config::Configurer::set_behavior`  

rustyline::config::Configurer::set_behavior was removed in rustyline 17.0.0 [crates.io](https://crates.io/crates/rustyline/17.0.0)
- **Signature changed** `rustyline::history::FileHistory::with_config`  

Was fn with_config(config: Config) -> Self; now fn with_config(config: &Config) -> Self. [crates.io](https://crates.io/crates/rustyline/17.0.0)
- **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](https://crates.io/crates/rustyline/17.0.0)
- **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](https://crates.io/crates/rustyline/17.0.0)
- **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](https://crates.io/crates/rustyline/17.0.0)
- **Signature changed** `rustyline::history::MemHistory::with_config`  

Was fn with_config(config: Config) -> Self; now fn with_config(config: &Config) -> Self. [crates.io](https://crates.io/crates/rustyline/17.0.0)
- **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](https://crates.io/crates/rustyline/17.0.0)
- **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](https://crates.io/crates/rustyline/17.0.0)

## rustyline 16.0.0 breaking changes

rustyline 16.0.0, released May 26, 2025: 14 breaking changes.

- **Removed** `rustyline::error::ReadlineError::WindowResized`  

rustyline::error::ReadlineError::WindowResized was removed in rustyline 16.0.0 [crates.io](https://crates.io/crates/rustyline/16.0.0)
- **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](https://crates.io/crates/rustyline/16.0.0)
- **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](https://crates.io/crates/rustyline/16.0.0)
- **Signature changed** `rustyline::config::Config::indent_size`  

Was fn indent_size(&self) -> usize; now fn indent_size(&self) -> u8. [crates.io](https://crates.io/crates/rustyline/16.0.0)
- **Signature changed** `rustyline::config::Config::tab_stop`  

Was fn tab_stop(&self) -> usize; now fn tab_stop(&self) -> u8. [crates.io](https://crates.io/crates/rustyline/16.0.0)
- **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](https://crates.io/crates/rustyline/16.0.0)
- **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](https://crates.io/crates/rustyline/16.0.0)
- **Signature changed** `rustyline::Config::indent_size`  

Was fn indent_size(&self) -> usize; now fn indent_size(&self) -> u8. [crates.io](https://crates.io/crates/rustyline/16.0.0)
- **Signature changed** `rustyline::Config::tab_stop`  

Was fn tab_stop(&self) -> usize; now fn tab_stop(&self) -> u8. [crates.io](https://crates.io/crates/rustyline/16.0.0)
- **Signature changed** `rustyline::Editor::dimensions`  

Was fn dimensions(&mut self) -> Option<(usize, usize)>; now fn dimensions(&mut self) -> Option<(Unit, Unit)>. [crates.io](https://crates.io/crates/rustyline/16.0.0)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rustyline 15.0.0 breaking changes

rustyline 15.0.0, released November 15, 2024: 5 breaking changes.

- **Removed** `&`  

The trait implementation for & was removed. Code that relied on it through references must be changed. [github.com](https://github.com/kkawakam/rustyline/releases/tag/v15.0.0)
- **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](https://github.com/kkawakam/rustyline/releases/tag/v15.0.0)
- **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](https://github.com/kkawakam/rustyline/releases/tag/v15.0.0)
- **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](https://crates.io/crates/rustyline/15.0.0)
- **Signature changed** `rustyline::hint::HistoryHinter::new`  

Was fn new() -> HistoryHinter; now fn new() -> Self. [crates.io](https://crates.io/crates/rustyline/15.0.0)

## rustyline 14.0.0 breaking changes

rustyline 14.0.0, released March 6, 2024: 4 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](https://crates.io/crates/rustyline/14.0.0)
- **Signature changed** `rustyline::config::Config::keyseq_timeout`  

Was fn keyseq_timeout(&self) -> i32; now fn keyseq_timeout(&self) -> Option\<u16>. [crates.io](https://crates.io/crates/rustyline/14.0.0)
- **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](https://crates.io/crates/rustyline/14.0.0)
- **Signature changed** `rustyline::Config::keyseq_timeout`  

Was fn keyseq_timeout(&self) -> i32; now fn keyseq_timeout(&self) -> Option\<u16>. [crates.io](https://crates.io/crates/rustyline/14.0.0)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### rustyline 13.0.0 breaking changes

rustyline 13.0.0, released December 5, 2023: 4 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](https://github.com/kkawakam/rustyline/releases/tag/v13.0.0)
- **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](https://github.com/kkawakam/rustyline/releases/tag/v13.0.0)

And 2 more in this version.

### rustyline 12.0.0 breaking changes

rustyline 12.0.0, released June 24, 2023: 2 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](https://github.com/kkawakam/rustyline/releases/tag/v12.0.0)
- **Signature changed** `rustyline::Result`  

Was type Result\<T> = result::Result\<T, error::ReadlineError>; now type Result\<T> = result::Result\<T, ReadlineError>. [crates.io](https://crates.io/crates/rustyline/12.0.0)

### rustyline 11.0.0 breaking changes

rustyline 11.0.0, released February 19, 2023: 54 breaking changes.

- **Removed** `rustyline::history::History::iter`  

rustyline::history::History::iter was removed in rustyline 11.0.0 [crates.io](https://crates.io/crates/rustyline/11.0.0)
- **Removed** `rustyline::history::History::last`  

rustyline::history::History::last was removed in rustyline 11.0.0 [crates.io](https://crates.io/crates/rustyline/11.0.0)

And 52 more in this version.

### rustyline 10.0.0 breaking changes

rustyline 10.0.0, released July 17, 2022: 18 breaking changes.

- **Removed** `rustyline::config::Builder::output_stream`  

rustyline::config::Builder::output_stream was removed in rustyline 10.0.0 [crates.io](https://crates.io/crates/rustyline/10.0.0)
- **Removed** `rustyline::config::Config::output_stream`  

rustyline::config::Config::output_stream was removed in rustyline 10.0.0 [crates.io](https://crates.io/crates/rustyline/10.0.0)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
