Skip to content

Commit

Permalink
Add release notes for 2.15.10
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jan 21, 2020
1 parent d350613 commit cc1941a
Showing 1 changed file with 54 additions and 48 deletions.
102 changes: 54 additions & 48 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# Cri News

## 2.15.10

Fixes:

- Fixed warnings appearing in Ruby 2.7 (9a3d810)

## 2.15.9

Fixes:

* Fixed bug which could cause options from one command appear in other commands (#101, #102)
- Fixed bug which could cause options from one command appear in other commands (#101, #102)

## 2.15.8

Fixes:

* Don’t explicitly set default values for options (#99)
- Don’t explicitly set default values for options (#99)

This release reverts a backwards-incompatible change introduced in 2.15.7.

Expand Down Expand Up @@ -63,192 +69,192 @@ This backwards-incompatible change was not intentional. To fix issue #94, a chan

Fixes:

* Options with a forbidden argument now default to false, rather than nil (#94, #96)
- Options with a forbidden argument now default to false, rather than nil (#94, #96)

## 2.15.6

Fixes:

* Fixed problem with help header not being shown if the summary is missing (#93)
- Fixed problem with help header not being shown if the summary is missing (#93)

## 2.15.5

Fixes:

* Restored compatibility with Ruby 2.3. (#91)
- Restored compatibility with Ruby 2.3. (#91)

## 2.15.4

Fixes:

* Removed dependency on `colored`, which restores functionality to gems that `colored` breaks (e.g. `awesome_print`) (#89, #90)
- Removed dependency on `colored`, which restores functionality to gems that `colored` breaks (e.g. `awesome_print`) (#89, #90)

## 2.15.3

Fixes:

* Made `ArgumentList#each` callable without a block, in which case it returns an `Enumerator` (mimicking `Array`) (#87, #88)
- Made `ArgumentList#each` callable without a block, in which case it returns an `Enumerator` (mimicking `Array`) (#87, #88)

## 2.15.2

Fixes:

* Fixed option propagation for two levels or more (#85, #86)
- Fixed option propagation for two levels or more (#85, #86)

## 2.15.1

Fixes:

* Made -h/--help not fail when parameters are defined for the command that -h/--help is called on (#76, #78)
- Made -h/--help not fail when parameters are defined for the command that -h/--help is called on (#76, #78)

Enhancements:

* Made `#option` raise an error when unrecognised parameters are passed to it (#77) [Marc-André Lafortune]
- Made `#option` raise an error when unrecognised parameters are passed to it (#77) [Marc-André Lafortune]

## 2.15.0

Features:

* Added support for parameter transformation (#72)
- Added support for parameter transformation (#72)

## 2.14.0

Features:

* Added `Cri::Command.load_file`
- Added `Cri::Command.load_file`

## 2.13.0

Features:

* Added support for explicitly specifying zero parameters using `#no_params` (#71)
- Added support for explicitly specifying zero parameters using `#no_params` (#71)

## 2.12.0

Features:

* Added support for parameter naming and validation (#70)
- Added support for parameter naming and validation (#70)

## 2.11.0

Features:

* Added support for transforming option values (#68)
- Added support for transforming option values (#68)

## 2.10.1

Fixes:

* Restored Ruby 2.1 compatibility (for now)
- Restored Ruby 2.1 compatibility (for now)

## 2.10.0

Features:

* Added support for skipping option parsing (#62) [Tim Sharpe]
- Added support for skipping option parsing (#62) [Tim Sharpe]

This release drops support for Ruby 2.1, which is no longer supported.

## 2.9.1

Fixes:

* Made default values be always returned, even when not explicitly specified (#57, #58)
- Made default values be always returned, even when not explicitly specified (#57, #58)

## 2.9.0

Features:

* Allowed specifying default option value (#55)
- Allowed specifying default option value (#55)

Enhancements:

* Added support for specifying values for combined options (#56)
- Added support for specifying values for combined options (#56)

## 2.8.0

Features:

* Allowed passing `hard_exit: false` to `Command#run` to prevent `SystemExit` (#51)
* Allowed specifying the default subcommand (#54)
- Allowed passing `hard_exit: false` to `Command#run` to prevent `SystemExit` (#51)
- Allowed specifying the default subcommand (#54)

## 2.7.1

Fixes:

* Fixed some grammatical mistakes
- Fixed some grammatical mistakes

## 2.7.0

Features:

* Added support for hidden options (#43, #44) [Bart Mesuere]
- Added support for hidden options (#43, #44) [Bart Mesuere]

Enhancements:

* Added option values to help output (#37, #40, #41)
* Made option descriptions wrap (#36, #45) [Bart Mesuere]
- Added option values to help output (#37, #40, #41)
- Made option descriptions wrap (#36, #45) [Bart Mesuere]

## 2.6.1

* Disable ANSI color codes when not supported (#31, #32)
- Disable ANSI color codes when not supported (#31, #32)

## 2.6.0

* Added support for multi-valued options (#29) [Toon Willems]
- Added support for multi-valued options (#29) [Toon Willems]

## 2.5.0

* Made the default help command handle subcommands (#27)
* Added `#raw` method to argument arrays, returning all arguments including `--` (#22)
- Made the default help command handle subcommands (#27)
- Added `#raw` method to argument arrays, returning all arguments including `--` (#22)

## 2.4.1

* Fixed ordering of option groups on Ruby 1.8.x (#14, #15)
* Fixed ordering of commands when --verbose is passed (#16, #18)
- Fixed ordering of option groups on Ruby 1.8.x (#14, #15)
- Fixed ordering of commands when --verbose is passed (#16, #18)

## 2.4.0

* Allowed either short or long option to be, eh, optional (#9, #10) [Ken Coar]
* Fixed wrap-and-indent behavior (#12) [Ken Coar]
* Moved version information into `cri/version`
- Allowed either short or long option to be, eh, optional (#9, #10) [Ken Coar]
- Fixed wrap-and-indent behavior (#12) [Ken Coar]
- Moved version information into `cri/version`

## 2.3.0

* Added colors (#1)
* Added support for marking commands as hidden
- Added colors (#1)
- Added support for marking commands as hidden

## 2.2.1

* Made command help sort subcommands
- Made command help sort subcommands

## 2.2.0

* Allowed commands with subcommands to have a run block
- Allowed commands with subcommands to have a run block

## 2.1.0

* Added support for runners
* Split up local/global command options
- Added support for runners
- Split up local/global command options

## 2.0.2

* Added command filename to stack traces
- Added command filename to stack traces

## 2.0.1

* Sorted ambiguous command names
* Restored compatibility with Ruby 1.8.x
- Sorted ambiguous command names
- Restored compatibility with Ruby 1.8.x

## 2.0.0

* Added DSL
* Added support for nested commands
- Added DSL
- Added support for nested commands

## 1.0.1

* Made gem actually include code. D'oh.
- Made gem actually include code. D'oh.

## 1.0.0

* Initial release!
- Initial release!

0 comments on commit cc1941a

Please sign in to comment.