tty-file breaking changes
tty-file 0.10.0 (July 27, 2020) is its newest release with breaking changes, 3 of them. The first: File conflict prompt is now quiet after selection in tty-file 0.10.0. Every breaking API change we have recorded in tty-file on RubyGems: 19 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.10.0, released July 27, 2020. Source repository
Its 0.5.0 release requires Ruby 2.0.0 or later. Ruby end of life dates.
tty-file 0.10.0 breaking changes
- Behavior changed
The file conflict prompt no longer prints any output after a selection is made. Code that relied on that output must change. github.com - Signature changed
Methods in the package now take keyword arguments only. Update any calls that pass positional arguments to use keywords. github.com - Signature changed
tail_file
The :lines option of #tail_file is now a keyword parameter. Callers must pass it by keyword. github.com
tty-file 0.9.0 breaking changes
- Behavior changed
chmod
The custom permission implementation of #chmod was replaced with the built-in FileUtils one, so its behavior may differ for existing callers. github.com
tty-file 0.7.0 breaking changes
- Behavior changed
The package now freezes the strings it works with, so code that mutates those strings may fail. github.com - Behavior changed
append_to_file
append_to_file no longer checks the prior file content before writing. Use safe_append_to_file if you need the check. github.com - Behavior changed
inject_into_file
inject_into_file no longer checks the prior file content before writing. Use safe_inject_into_file if you need the check. github.com - Behavior changed
prepend_to_file
prepend_to_file no longer checks the prior file content before writing. Use safe_prepend_to_file if you need the check. github.com - Behavior changed
replace_in_file
replace_in_file no longer checks the prior file content before writing. Use the new safe_* methods if you need the check. github.com
tty-file 0.6.0 breaking changes
- Behavior changed
append_to_file
append_to_file returns true when the operation succeeds and false otherwise. Code that depends on its previous return value should be checked. github.com - Behavior changed
download_file
download_file keeps query parameters from the source URL instead of dropping them. Code that relied on the query string being removed should be checked. github.com - Behavior changed
inject_into_file
inject_into_file returns true when the operation succeeds and false otherwise. Code that depends on its previous return value should be checked. github.com - Behavior changed
prepend_to_file
prepend_to_file returns true when the operation succeeds and false otherwise. Code that depends on its previous return value should be checked. github.com - Behavior changed
replace_in_file
replace_in_file returns true when the operation succeeds and false otherwise. Code that depends on its previous return value should be checked. github.com
tty-file 0.5.0 breaking changes
- Behavior changed
The gemspec now requires Ruby >= 2.0.0. Users on older Ruby versions must upgrade Ruby to install this release. github.com
tty-file 0.3.0 breaking changes
- Behavior changed
The changelog says file loading changed but does not say how, so check code that loads files against the new behavior. github.com
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
tty-file 0.2.0 breaking changes
- Behavior changed
binary?
The binary? check only reads up to 4Kb of a file, so code relying on it scanning the whole file may get different results. github.com - Configuration changed
Config options are now kept apart from utility options, so code passing options to the package may need to be updated. github.com
And 1 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.