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

# 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

Latest version `0.10.0`, released July 27, 2020. [Source repository](https://github.com/piotrmurach/tty-file)

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

- From [0.2.0](#v-0-2-0) to [0.10.0](#v-0-10-0): 16 breaking changes in 6 versions.

## tty-file 0.10.0 breaking changes

tty-file 0.10.0, released July 27, 2020: 3 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](https://github.com/piotrmurach/tty-file/blob/v0.10.0/CHANGELOG.md)
- **Signature changed**  

Methods in the package now take keyword arguments only. Update any calls that pass positional arguments to use keywords. [github.com](https://github.com/piotrmurach/tty-file/blob/v0.10.0/CHANGELOG.md)
- **Signature changed** `tail_file`  

The :lines option of #tail_file is now a keyword parameter. Callers must pass it by keyword. [github.com](https://github.com/piotrmurach/tty-file/blob/v0.10.0/CHANGELOG.md)

## tty-file 0.9.0 breaking changes

tty-file 0.9.0, released April 28, 2020: 1 breaking change.

- **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](https://github.com/piotrmurach/tty-file/blob/v0.9.0/CHANGELOG.md)

## tty-file 0.7.0 breaking changes

tty-file 0.7.0, released December 17, 2018: 5 breaking changes.

- **Behavior changed**  

The package now freezes the strings it works with, so code that mutates those strings may fail. [github.com](https://github.com/piotrmurach/tty-file/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.7.0/CHANGELOG.md)

## tty-file 0.6.0 breaking changes

tty-file 0.6.0, released May 21, 2018: 5 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](https://github.com/piotrmurach/tty-file/blob/v0.6.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.6.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.6.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.6.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.6.0/CHANGELOG.md)

## tty-file 0.5.0 breaking changes

tty-file 0.5.0, released January 6, 2018: 1 breaking change.

- **Behavior changed**  

The gemspec now requires Ruby >= 2.0.0. Users on older Ruby versions must upgrade Ruby to install this release. [github.com](https://github.com/piotrmurach/tty-file/blob/v0.5.0/CHANGELOG.md)

## tty-file 0.3.0 breaking changes

tty-file 0.3.0, released March 26, 2017: 1 breaking change.

- **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](https://github.com/piotrmurach/tty-file/blob/v0.3.0/CHANGELOG.md)

## Older versions

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

### tty-file 0.2.0 breaking changes

tty-file 0.2.0, released January 22, 2017: 3 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](https://github.com/piotrmurach/tty-file/blob/v0.2.0/CHANGELOG.md)
- **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](https://github.com/piotrmurach/tty-file/blob/v0.2.0/CHANGELOG.md)

And 1 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.
