toys breaking changes
Updated December 4, 2026
On this page
Latest version 0.25.0, released October 12, 2026. Source repository
Its 0.16.0 release requires Ruby 2.7 or later. Ruby end of life dates.
toys 0.25.0 breaking changes
- Removed
TOYS_PATH
Toys ignores TOYS_PATH. Use XDG_CONFIG_HOME, XDG_CONFIG_DIRS, or TOYS_GLOBAL_SOURCES instead. github.com - Removed
Toys.StandardCLI.TOYS_PATH_ENV
The Toys::StandardCLI::TOYS_PATH_ENV constant has been removed. Code that references it will fail. github.com - Behavior changed
Logs display a simplified severity prefix unless verbosity is positive. Tools that parse log output may need changes. github.com - Behavior changed
Toys no longer loads global tools from /etc/.toys.rb or /etc/.toys/. Move them into /etc/xdg/toys. github.com - Behavior changed
Styled output is now disabled when TERM is set to dumb, so output that was previously colored is now plain. github.com - 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 - Behavior changed
-h
The -h flag is now a standard help flag. Tools that used -h for another purpose must change. github.com
toys 0.24.0 breaking changes
- Removed
gem_version
The deprecated gem_version: argument was removed from the :rspec and :minitest templates. Stop passing it. github.com
toys 0.23.0 breaking changes
- Removed
StandardCLI.DATA_DIR_NAME
The StandardCLI constant DATA_DIR_NAME was removed. github.com - Removed
StandardCLI.INDEX_FILE_NAME
The StandardCLI constant INDEX_FILE_NAME was removed. github.com - Removed
StandardCLI.LIB_DIR_NAME
The StandardCLI constant LIB_DIR_NAME was removed. github.com - Removed
StandardCLI.PRELOAD_DIR_NAME
The StandardCLI constant PRELOAD_DIR_NAME was removed. github.com - Removed
StandardCLI.PRELOAD_FILE_NAME
The StandardCLI constant PRELOAD_FILE_NAME was removed. github.com - Removed
Toys.SourceInfo
The git- and gem-specific attributes of Toys::SourceInfo were removed. Use Toys::SourceInfo#origin instead. github.com - 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 - 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 - Renamed
StandardCLI.CONFIG_DIR_NAME
StandardCLI::CONFIG_DIR_NAME is now StandardCLI::TOPLEVEL_TOOL_DIR_NAME. github.com - Renamed
StandardCLI.CONFIG_FILE_NAME
StandardCLI::CONFIG_FILE_NAME is now StandardCLI::TOPLEVEL_TOOL_FILE_NAME. github.com
And 4 more in this version. Sign up to see every change
toys 0.22.0 breaking changes
- Removed
The undocumented :"" key can no longer override a completion class; pass a fully constructed completion object instead. github.com - Removed
ContextualError.underlying_error
underlying_error is removed because it was the same as cause; use cause instead. github.com - Removed
Loader.add_path_set
The undocumented option that included individual source names in the relative_paths argument was dropped. github.com - Removed
LoaderError
LoaderError is removed; those cases now raise ToolDefinitionError. github.com - Removed
Toys.FlagGroup.Base
Toys::FlagGroup::Base is no longer instantiable; use Toys::FlagGroup::Optional instead. github.com - 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 - Renamed
ArgParser.UsageError.full_message
The method is renamed to avoid overriding Exception#full_message; callers must use the new name. github.com - Renamed
StandardUI
Many methods in StandardUI were renamed, so callers using the old names must update them. github.com - Renamed
super_include
The original Module#include is now available in the DSL as include_module instead of super_include. github.com - Renamed
Toys.StandardMiddleware.ShowHelp
The use_less constructor argument is now named use_pager; custom pagers are also supported. github.com
And 13 more in this version. Sign up to see every change
toys 0.21.0 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 - 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
toys 0.20.0 breaking changes
- Removed
:cli
The :cli config option is no longer a legal config option. Remove it from config files. github.com - 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 - 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 - 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 - 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 - 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 - 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
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
toys 0.19.0 breaking changes
- Behavior changed
Tools called via exec now leave rubygems enabled, so code that relied on rubygems being disabled may behave differently. github.com
toys 0.16.0 breaking changes
- Removed
Older Ruby versions are no longer supported. Upgrade Ruby to 2.7 or later before using this release. github.com
toys 0.15.0 breaking changes
- Behavior changed
Code that rescues RuntimeError for missing delegates or delegation loops must now rescue ToolDefinitionError. github.com - 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
And 1 more in this version.
toys 0.14.0 breaking changes
- Behavior changed
Acceptors can no longer be set on explicitly boolean flags. Remove any acceptor declared on such a flag. github.com - 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
toys 0.13.0 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 - 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
And 8 more in this version.
toys 0.12.0 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 - Behavior changed
Whitespace is now automatically considered a name delimiter when defining tools, which may change how tool names are parsed. github.com
And 2 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.