Releases: dazuma/toys
Releases · dazuma/toys
toys 0.14.4
v0.14.4 / 2023-01-23
- (No significant changes)
toys-core 0.14.4
v0.14.4 / 2023-01-23
- FIXED: Fixed missing require when "toys/utils/xdg" or "toys/utils/git_cache" is required without the rest of toys-core
toys 0.14.3
v0.14.3 / 2022-12-29
- FIXED: Exit with a code -1 if a non-integer exit code is thrown
- FIXED: The sh command in the Exec utility returns -1 if the exit code cannot be determined
- FIXED: Update Bundler integration to support Bundler 2.4 and Ruby 3.2
- FIXED: Fix for installing bundler on older Rubies
- FIXED: Fixed XDG defaults on JRuby 9.4
toys-core 0.14.3
v0.14.3 / 2022-12-29
- FIXED: Exit with a code -1 if a non-integer exit code is thrown
- FIXED: The sh command in the Exec utility returns -1 if the exit code cannot be determined
- FIXED: Update Bundler integration to support Bundler 2.4 and Ruby 3.2
- FIXED: Fix for installing bundler on older Rubies
- FIXED: Fixed XDG defaults on JRuby 9.4
toys 0.14.2
v0.14.2 / 2022-10-09
- ADDED: The tool directive supports the delegate_relative argument, as a preferred alternative over alias_tool.
- FIXED: The toys file reference now properly appears in error messages on Ruby 3.1.
- FIXED: Error messages show the correct toys file line number on TruffleRuby.
- FIXED: Inspect strings for tool classes are less opaque and include the tool name.
- FIXED: The presence of an acceptor forces an ambiguous flag to take a value rather than erroring.
toys-core 0.14.2
v0.14.2 / 2022-10-09
- ADDED: The tool directive supports the delegate_relative argument, as a preferred alternative over alias_tool.
- FIXED: The toys file reference now properly appears in error messages on Ruby 3.1.
- FIXED: Error messages show the correct toys file line number on TruffleRuby.
- FIXED: Inspect strings for tool classes are less opaque and include the tool name.
- FIXED: The presence of an acceptor forces an ambiguous flag to take a value rather than erroring.
toys 0.14.1
v0.14.1 / 2022-10-03
- FIXED: Fixed a crash due to a missing file in the gem
toys 0.14.0
v0.14.0 / 2022-10-03
Toys 0.14.0 is a major release with new system tools for introspecting defined tools, pager support, support for tees and pipes in the Exec utility, some cleanup of the behavior of Acceptors, and other improvements.
Fixes that are potentially breaking:
- Disallowed acceptors on flags that are explicitly boolean.
- Acceptors no longer sometimes apply to the boolean setting of a flag with an optional value.
New functionality:
- Implemented new builtins for obtaining information about defined tools:
system tools show
andsystem tools list
. - Implemented a utility class and mixin for output pagers.
- Builtin commands that display data can format as either YAML or JSON.
- The Exec utility and mixin can tee (i.e. duplicate and split) output streams.
- The Exec utility and mixin can take pipes as input and output streams.
- The Exec mixin provides a
verbosity_flags
convenience method.
Fixes:
- The
system test
builtin no longer requires toys to be installed as a gem. - Fixed a failure when passing a relative path to
system test --directory
. - Contents of preload directories are loaded in sorted order.
- Various clarifications, fixes, and updates to the users guide and documentation.
toys-core 0.14.1
v0.14.1 / 2022-10-03
- (No significant changes)
toys-core 0.14.0
v0.14.0 / 2022-10-03
Toys-Core 0.14.0 is a major release with pager support, support for tees and pipes in the Exec utility, some cleanup of the behavior of Acceptors, and other improvements.
Fixes that are potentially breaking:
- Disallowed acceptors on flags that are explicitly boolean.
- Acceptors no longer sometimes apply to the boolean setting of a flag with an optional value.
New functionality:
- Implemented a utility class and mixin for output pagers.
- Builtin commands that display data can format as either YAML or JSON.
- The Exec utility and mixin can tee (i.e. duplicate and split) output streams.
- The Exec utility and mixin can take pipes as input and output streams.
- The Exec mixin provides a
verbosity_flags
convenience method. Loader#list_subtools
takes separate arguments for filtering namespaces and non-runnable tools
Fixes:
- Contents of preload directories are loaded in sorted order.
- Removed some potential deadlocks if a
Toys::Loader
is accessed from multiple threads - Various clarifications, fixes, and updates to the users guide and documentation.