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
On this page
Latest version 0.23.1. Source repository
Its 0.14.0 release requires Ruby 2.0.0 or later. Ruby end of life dates.
tty-prompt 0.22.0 breaking changes
- Renamed
:validation
The question :validation option was renamed to :validate. Code using :validation must switch to :validate. github.com - Renamed
TTY.TestPrompt
The test helper TTY::TestPrompt was renamed to TTY::Prompt::Test. Update test code to use the new name. github.com - 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 - 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 - 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 - 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 - 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 - Signature changed
Prompt.new
Prompt#new uses keyword arguments instead of positional ones. Callers passing positional arguments must switch to keywords. github.com
tty-prompt 0.19.0 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 - 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 - 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 - 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
tty-prompt 0.16.0 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 - 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
tty-prompt 0.14.0 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 - 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 - 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 - Default changed
select
The select prompts no longer wrap around the list by default. To keep cycling, pass the :cycle option. github.com - Configuration changed
The gemspec now requires Ruby >= 2.0.0. Users on older Ruby versions must upgrade. github.com
tty-prompt 0.13.0 breaking changes
- 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
tty-prompt 0.12.0 breaking changes
- Removed
Question
The :read option was removed from Question, so code passing it must drop that option. github.com - Behavior changed
Reader.Mode
Reader::Mode now checks if a tty is available, which can change behavior when no terminal is attached. github.com - 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 - 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
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
tty-prompt 0.11.0 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 - Behavior changed
Codes
Codes values are now codepoints rather than strings, so code comparing or using them as strings may behave differently. github.com
And 2 more in this version.
tty-prompt 0.5.0 breaking changes
- Behavior changed
Choices.pluck
Choices#pluck changed to search through object attributes. Check existing pluck calls that relied on the previous lookup. github.com
tty-prompt 0.4.0 breaking changes
- 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
tty-prompt 0.3.0 breaking changes
- Removed
:char
The :char option of #ask was removed. Code that passes it must stop using it. github.com - Removed
Error
The Error object was removed in this release. Code that references it must be updated. github.com
And 4 more in this version.
Related packages
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.