Thor v1.0.1 Release Notes
Release Date: 2019-12-17 // about 5 years ago-
- ๐ Fix thor when
thor/base
andthor/group
are required withoutthor.rb
. - ๐ Handle relative source path in
create_link
.
- ๐ Fix thor when
Previous changes from v1.0.0
-
- โฌ๏ธ Drop support to Ruby 1.8 and 1.9.
- Deprecate relying on default
exit_on_failure?
. In preparation to make Thor commands exit when there is a failure we are deprecating defining a command without defining what behavior is expected when there is a failure.
To fix the deprecation you need to define a class method called
exit_on_failure?
returningfalse
if you want the current behavior ortrue
if you want the new behavior.- ๐ Deprecate defining an option with the default value using a different type as defined in the option.
- ๐ Allow options to be repeatable. See #674.