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

# toys breaking changes

toys 0.25.0 (October 12, 2026) is its newest release with breaking changes, 7 of them. The first: Removed TOYS_PATH. Every breaking API change we have recorded in toys on RubyGems: 75 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.25.0`, released October 12, 2026. [Source repository](https://github.com/dazuma/toys)

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

- From [0.12.0](#v-0-12-0) to [0.25.0](#v-0-25-0): 71 breaking changes in 11 versions.

## toys 0.25.0 breaking changes

toys 0.25.0, released October 12, 2026: 7 breaking changes.

- **Removed** `TOYS_PATH`  

Toys ignores TOYS_PATH. Use XDG_CONFIG_HOME, XDG_CONFIG_DIRS, or TOYS_GLOBAL_SOURCES instead. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.25.0)
- **Removed** `Toys.StandardCLI.TOYS_PATH_ENV`  

The Toys::StandardCLI::TOYS_PATH_ENV constant has been removed. Code that references it will fail. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.25.0)
- **Behavior changed**  

Logs display a simplified severity prefix unless verbosity is positive. Tools that parse log output may need changes. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.25.0)
- **Behavior changed**  

Toys no longer loads global tools from /etc/.toys.rb or /etc/.toys/. Move them into /etc/xdg/toys. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.25.0)
- **Behavior changed**  

Styled output is now disabled when TERM is set to dumb, so output that was previously colored is now plain. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.25.0)
- **Behavior changed**  

An empty NO_COLOR variable no longer turns off styled output, so color may now appear where it was previously suppressed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.25.0)
- **Behavior changed** `-h`  

The -h flag is now a standard help flag. Tools that used -h for another purpose must change. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.25.0)

## toys 0.24.0 breaking changes

toys 0.24.0, released September 11, 2026: 1 breaking change.

- **Removed** `gem_version`  

The deprecated gem_version: argument was removed from the :rspec and :minitest templates. Stop passing it. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.24.0)

## toys 0.23.0 breaking changes

toys 0.23.0, released September 10, 2026: 14 breaking changes.

- **Removed** `StandardCLI.DATA_DIR_NAME`  

The StandardCLI constant DATA_DIR_NAME was removed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Removed** `StandardCLI.INDEX_FILE_NAME`  

The StandardCLI constant INDEX_FILE_NAME was removed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Removed** `StandardCLI.LIB_DIR_NAME`  

The StandardCLI constant LIB_DIR_NAME was removed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Removed** `StandardCLI.PRELOAD_DIR_NAME`  

The StandardCLI constant PRELOAD_DIR_NAME was removed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Removed** `StandardCLI.PRELOAD_FILE_NAME`  

The StandardCLI constant PRELOAD_FILE_NAME was removed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Removed** `Toys.SourceInfo`  

The git- and gem-specific attributes of Toys::SourceInfo were removed. Use Toys::SourceInfo#origin instead. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Renamed** `config_dir_name`  

The config_dir_name argument to CLI is now toplevel_tool_dir_name. The old name is not aliased. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Renamed** `config_file_name`  

The config_file_name argument to CLI is now toplevel_tool_file_name. The old name is not aliased. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Renamed** `StandardCLI.CONFIG_DIR_NAME`  

StandardCLI::CONFIG_DIR_NAME is now StandardCLI::TOPLEVEL_TOOL_DIR_NAME. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)
- **Renamed** `StandardCLI.CONFIG_FILE_NAME`  

StandardCLI::CONFIG_FILE_NAME is now StandardCLI::TOPLEVEL_TOOL_FILE_NAME. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.23.0)

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

## toys 0.22.0 breaking changes

toys 0.22.0, released May 5, 2026: 23 breaking changes.

- **Removed**  

The undocumented :"" key can no longer override a completion class; pass a fully constructed completion object instead. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Removed** `ContextualError.underlying_error`  

underlying_error is removed because it was the same as cause; use cause instead. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Removed** `Loader.add_path_set`  

The undocumented option that included individual source names in the relative_paths argument was dropped. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Removed** `LoaderError`  

LoaderError is removed; those cases now raise ToolDefinitionError. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Removed** `Toys.FlagGroup.Base`  

Toys::FlagGroup::Base is no longer instantiable; use Toys::FlagGroup::Optional instead. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Removed** `Toys.Settings`  

Toys::Settings is gone and inheritable helper methods moved to a dedicated tool attribute. Use the basic_settings gem if the old settings class is needed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Renamed** `ArgParser.UsageError.full_message`  

The method is renamed to avoid overriding Exception#full_message; callers must use the new name. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Renamed** `StandardUI`  

Many methods in StandardUI were renamed, so callers using the old names must update them. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Renamed** `super_include`  

The original Module#include is now available in the DSL as include_module instead of super_include. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)
- **Renamed** `Toys.StandardMiddleware.ShowHelp`  

The use_less constructor argument is now named use_pager; custom pagers are also supported. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.22.0)

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

## toys 0.21.0 breaking changes

toys 0.21.0, released March 23, 2026: 2 breaking changes.

- **Behavior changed** `help middleware`  

The help middleware no longer shows the subtool filter flags on runnable tools that have subtools. Code relying on those flags in help output must change. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.21.0)
- **Behavior changed** `XDG utility`  

If XDG_DATA_DIRS or XDG_CONFIG_DIRS is nonempty but holds only relative paths, the corresponding methods now return an empty array instead of the system defaults. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.21.0)

## toys 0.20.0 breaking changes

toys 0.20.0, released March 9, 2026: 7 breaking changes.

- **Removed** `:cli`  

The :cli config option is no longer a legal config option. Remove it from config files. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.20.0)
- **Behavior changed** `:minitest`  

Tools from the :minitest template now find test files named \*\_test.rb and test\_\*.rb instead of test\*.rb. Rename test files or adjust the pattern if existing tests are no longer picked up. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.20.0)
- **Behavior changed** `system test`  

The system test builtin now matches \*\_test.rb in addition to test\_\*.rb. Test files that match the new pattern will now run. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.20.0)
- **Behavior changed** `Toys.Utils.Exec`  

When executing a proc using a fork, an options hash is no longer passed to the proc. Update procs that read this hash. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.20.0)
- **Behavior changed** `Toys.Utils.Exec.Controller.result`  

Controller#result no longer closes the controller input stream before returning. Code relying on that early close must close the stream itself. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.20.0)
- **Signature changed** `Toys.Templates.Minitest.DEFAULT_GEM_VERSION_REQUIREMENTS`  

DEFAULT_GEM_VERSION_REQUIREMENTS now is a hash covering multiple gems rather than just minitest. Code that reads it as a single requirement must be updated. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.20.0)
- **Signature changed** `Toys.Templates.Rspec.DEFAULT_GEM_VERSION_REQUIREMENTS`  

DEFAULT_GEM_VERSION_REQUIREMENTS now is a hash that can cover multiple gems. Code that reads it as a single requirement must be updated. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.20.0)

## Older versions

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

### toys 0.19.0 breaking changes

toys 0.19.0, released December 23, 2025: 1 breaking change.

- **Behavior changed**  

Tools called via exec now leave rubygems enabled, so code that relied on rubygems being disabled may behave differently. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.19.0)

### toys 0.16.0 breaking changes

toys 0.16.0, released October 31, 2025: 1 breaking change.

- **Removed**  

Older Ruby versions are no longer supported. Upgrade Ruby to 2.7 or later before using this release. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.16.0)

### toys 0.15.0 breaking changes

toys 0.15.0, released October 13, 2023: 3 breaking changes.

- **Behavior changed**  

Code that rescues RuntimeError for missing delegates or delegation loops must now rescue ToolDefinitionError. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.15.0)
- **Behavior changed** `to_run`  

A block passed to the to_run directive now serves as the run entrypoint directly instead of defining a "run" method. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.15.0)

And 1 more in this version.

### toys 0.14.0 breaking changes

toys 0.14.0, released October 3, 2022: 2 breaking changes.

- **Behavior changed**  

Acceptors can no longer be set on explicitly boolean flags. Remove any acceptor declared on such a flag. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.14.0)
- **Behavior changed**  

Acceptors no longer sometimes apply to the boolean setting of a flag with an optional value. Check flags with optional values that rely on an acceptor for their boolean setting. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.14.0)

### toys 0.13.0 breaking changes

toys 0.13.0, released February 8, 2022: 10 breaking changes.

- **Removed** `Toys.Testing.capture_separate_tool`  

Spawn-based tool execution methods were removed; use toys_exec_tool, which controls or captures depending on whether a block is present. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.13.0)
- **Removed** `Toys.Testing.capture_tool`  

Spawn-based tool execution methods were removed; use toys_exec_tool, which controls or captures depending on whether a block is present. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.13.0)

And 8 more in this version.

### toys 0.12.0 breaking changes

toys 0.12.0, released August 5, 2021: 4 breaking changes.

- **Removed** `Toys.Tool`  

The class returned by the Toys::Context::Key::TOOL attribute was renamed to Toys::ToolDefinition so the old name can be used for class-based tool definition. Update references to the old name. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.12.0)
- **Behavior changed**  

Whitespace is now automatically considered a name delimiter when defining tools, which may change how tool names are parsed. [github.com](https://github.com/dazuma/toys/releases/tag/toys/v0.12.0)

And 2 more in this version.

## Related packages

- [toys-core](https://since.dev/packages/gem/toys-core.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.
