---
title: "tty-prompt 0.22.0 Breaking Changes on RubyGems | Since.dev"
description: "What each tty-prompt release removed, renamed or changed: 36 breaking changes in 10 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/tty-prompt
last_updated: 2026-12-04
---

# tty-prompt breaking changes

tty-prompt 0.22.0 (July 20, 2020) is its newest release with breaking changes, 8 of them. The first: Renamed :validation. Every breaking API change we have recorded in tty-prompt on RubyGems: 36 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 `0.23.1`. [Source repository](https://github.com/piotrmurach/tty-prompt)

Its 0.14.0 release requires Ruby 2.0.0 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.3.0](#v-0-3-0) to [0.22.0](#v-0-22-0): 30 breaking changes in 9 versions.

## tty-prompt 0.22.0 breaking changes

tty-prompt 0.22.0, released July 20, 2020: 8 breaking changes.

- **Renamed** `:validation`  

The question :validation option was renamed to :validate. Code using :validation must switch to :validate. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)
- **Renamed** `TTY.TestPrompt`  

The test helper TTY::TestPrompt was renamed to TTY::Prompt::Test. Update test code to use the new name. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)
- **Behavior changed**  

All library errors now inherit from a common Error class. Code rescuing specific error classes should be checked against the new hierarchy. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)
- **Behavior changed** `Converters`  

Converters no longer raise errors on failure and instead print console error messages. Code relying on exceptions from converters must change. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)
- **Behavior changed** `multi_select`  

The #multi_select prompt now preserves the original ordering of choices in returned answers. Code depending on selection order may change. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)
- **Behavior changed** `yes?.no?`  

The yes? and no? prompts infer their default from the words used and raise when no boolean can be deduced. Code relying on the old default must be checked. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)
- **Default changed** `select.multi_select`  

The default help text of the #select and #multi_select prompts changed. Code that depends on the displayed help text may be affected. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)
- **Signature changed** `Prompt.new`  

Prompt#new uses keyword arguments instead of positional ones. Callers passing positional arguments must switch to keywords. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.22.0/CHANGELOG.md)

## tty-prompt 0.19.0 breaking changes

tty-prompt 0.19.0, released May 27, 2019: 4 breaking changes.

- **Behavior changed** `enum_select`  

#enum_select now automatically assigns a non-disabled option as the default choice, so prompts without an explicit default may pre-select a different option. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed** `multi_select`  

#multi_select now handles left/right keys for page navigation, so key presses that previously did nothing or had other effects now move the selection by page. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed** `Paginator.start_index`  

Paginator now derives #start_index from the per-page size and shifts boundaries to match the active selection, so code relying on the old index values may see different results. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed** `select`  

#select now handles left/right keys for page navigation, so key presses that previously did nothing or had other effects now move the selection by page. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.19.0/CHANGELOG.md)

## tty-prompt 0.16.0 breaking changes

tty-prompt 0.16.0, released March 11, 2018: 2 breaking changes.

- **Behavior changed**  

Classes now avoid mutating string arguments. Code that relied on a string being changed in place must now use the returned value instead. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.16.0/CHANGELOG.md)
- **Behavior changed** `Timeout`  

Timeout cleanly terminates keypress input instead of raising an error. Code that expected an exception on timeout must handle the normal return instead. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.16.0/CHANGELOG.md)

## tty-prompt 0.14.0 breaking changes

tty-prompt 0.14.0, released January 1, 2018: 5 breaking changes.

- **Behavior changed** `slider`  

The slider now displays next to the query, with help text underneath. Code relying on the old layout may look different. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.14.0/CHANGELOG.md)
- **Default changed** `enum_select`  

The enum select prompt no longer wraps around the list by default. To keep cycling, pass the :cycle option. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.14.0/CHANGELOG.md)
- **Default changed** `multi_selct`  

The multi-select prompt no longer wraps around the list by default. To keep cycling, pass the :cycle option. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.14.0/CHANGELOG.md)
- **Default changed** `select`  

The select prompts no longer wrap around the list by default. To keep cycling, pass the :cycle option. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.14.0/CHANGELOG.md)
- **Configuration changed**  

The gemspec now requires Ruby >= 2.0.0. Users on older Ruby versions must upgrade. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.14.0/CHANGELOG.md)

## tty-prompt 0.13.0 breaking changes

tty-prompt 0.13.0, released August 10, 2017: 1 breaking change.

- **Behavior changed** `Timeout`  

The timeout interval is now measured with clock time rather than sleep. Code relying on the previous timing behavior should be checked. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.13.0/CHANGELOG.md)

## tty-prompt 0.12.0 breaking changes

tty-prompt 0.12.0, released March 19, 2017: 4 breaking changes.

- **Removed** `Question`  

The :read option was removed from Question, so code passing it must drop that option. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed** `Reader.Mode`  

Reader::Mode now checks if a tty is available, which can change behavior when no terminal is attached. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed** `Reader.read_line`  

Reader#read_line now processes special keys such as Ctrl+x, up/down history navigation and left/right editing in raw mode, which changes how input is read. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed** `Reader.read_multiline`  

Reader#read_multiline now skips empty lines and terminates when Ctrl+d and Ctrl+z are pressed, so existing input handling may behave differently. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.12.0/CHANGELOG.md)

## 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)

### tty-prompt 0.11.0 breaking changes

tty-prompt 0.11.0, released February 26, 2017: 4 breaking changes.

- **Renamed** `Reader.publish`  

Reader now uses #trigger to fire events in place of #publish. Update calls to #publish to use #trigger. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.11.0/CHANGELOG.md)
- **Behavior changed** `Codes`  

Codes values are now codepoints rather than strings, so code comparing or using them as strings may behave differently. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.11.0/CHANGELOG.md)

And 2 more in this version.

### tty-prompt 0.5.0 breaking changes

tty-prompt 0.5.0, released March 28, 2016: 1 breaking change.

- **Behavior changed** `Choices.pluck`  

Choices#pluck changed to search through object attributes. Check existing pluck calls that relied on the previous lookup. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.5.0/CHANGELOG.md)

### tty-prompt 0.4.0 breaking changes

tty-prompt 0.4.0, released February 8, 2016: 1 breaking change.

- **Removed** `blank?`  

The blank? method was moved to Utils, so code calling it on the prompt object must switch to the Utils location. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.4.0/CHANGELOG.md)

### tty-prompt 0.3.0 breaking changes

tty-prompt 0.3.0, released December 28, 2015: 6 breaking changes.

- **Removed** `:char`  

The :char option of #ask was removed. Code that passes it must stop using it. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.3.0/CHANGELOG.md)
- **Removed** `Error`  

The Error object was removed in this release. Code that references it must be updated. [github.com](https://github.com/piotrmurach/tty-prompt/blob/v0.3.0/CHANGELOG.md)

And 4 more in this version.

## Related packages

- [tty-box](https://since.dev/packages/gem/tty-box.md)
- [tty-color](https://since.dev/packages/gem/tty-color.md)
- [tty-command](https://since.dev/packages/gem/tty-command.md)
- [tty-config](https://since.dev/packages/gem/tty-config.md)
- [tty-cursor](https://since.dev/packages/gem/tty-cursor.md)
- [tty-editor](https://since.dev/packages/gem/tty-editor.md)

## 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.
