Skip to content

Commit

Permalink
Merge pull request #935 from urfave/v1v2release
Browse files Browse the repository at this point in the history
Releases 1.22.2 and 2.0.0
  • Loading branch information
coilysiren committed Nov 21, 2019
2 parents 47016a6 + 2a06023 commit a560b5c
Showing 1 changed file with 44 additions and 17 deletions.
61 changes: 44 additions & 17 deletions docs/CHANGELOG.md
Expand Up @@ -2,34 +2,57 @@

**ATTN**: This project uses [semantic versioning](http://semver.org/).

## 2.0.0 - (unreleased 2.x series)
## Unreleased - 2.X series

View [unreleased 2.X] series changes.

## [2.0.0] - 2019-11-17

The V2 changes were all shipped in [urfave/cli/pull/892](https://github.com/urfave/cli/pull/892), which was created with the effort of over a dozen participants! They are:

[@asahasrabuddhe](https://github.com/asahasrabuddhe), [@meatballhat](https://github.com/meatballhat), [@jszwedko](https://github.com/jszwedko), [@lynncyrin](https://github.com/lynncyrin), [@AudriusButkevicius](https://github.com/AudriusButkevicius), [@saschagrunert](https://github.com/saschagrunert), [@rliebz](https://github.com/rliebz), [@johnweldon](https://github.com/johnweldon), [@nlewo](https://github.com/nlewo), [@grubernaut](https://github.com/grubernaut), [@OneOfOne](https://github.com/OneOfOne), [@VMitov](https://github.com/VMitov), [@cbranch](https://github.com/cbranch), [@marwan-at-work](https://github.com/marwan-at-work), [@uudashr](https://github.com/uudashr), [@bfreis](https://github.com/bfreis)

### Added
- `NewStringSlice` and `NewIntSlice` for creating their related types
- `Float64SliceFlag` for unmarshaling a list of floats from the user
- `Context.Lineage` to get all contexts from current up to global
- `Context.LocalFlagNames` to get the flag names from *only* the current context
- `BoolFlag.Value` to handle both default-false and default-true

- Added `NewStringSlice` and `NewIntSlice` for creating their related types
- Added `Float64SliceFlag` for unmarshaling a list of floats from the user
- Added `Context.Lineage` to get all contexts from current up to global
- Added `Context.LocalFlagNames` to get the flag names from *only* the current context
- Added `BoolFlag.Value` to handle both default-false and default-true
- Added `IsSet` method to the `Flag` interface which allows us to detect whether or not a flag has been set

### Changed

- `Context.FlagNames` now returns all flags in the context lineage
- `Context.IsSet` now considers the full context lineage
- Added `IsSet` method to the `Flag` interface which allows us to detect whether or not a flag has been set

### Removed
- the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`.
- adapter code for deprecated `Action` func signature
- deprecated `App.Author`, `App.Email`, and `Command.ShortName` fields
- All `Context.Global*` methods, as the non-global versions now traverse up

- Removed the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`.
- Removed adapter code for deprecated `Action` func signature
- Deprecated `App.Author`, `App.Email`, and `Command.ShortName` fields
- Removed all `Context.Global*` methods, as the non-global versions now traverse up
the context lineage automatically.
- `Context.Parent` method, as this is now available via `Context.Lineage`
- `BoolTFlag` and related code, as this is now available via `BoolFlag.Value`
- Removed `Context.Parent` method, as this is now available via `Context.Lineage`
- Removed `BoolTFlag` and related code, as this is now available via `BoolFlag.Value`

## [Unreleased] - (1.x series)
### Added
## Unreleased - 1.22.X series

View [unreleased 1.22.X] series changes.

## [1.22.2] - 2019-11-17

### Fixed

- Fix v1.21.0 pass through regression in [urfave/cli/pull/872](https://github.com/urfave/cli/pull/872) via [@lynncyrin](https://github.com/lynncyrin)
- Fix infinite loop when parsing invalid flags for apps with short option handling in [urfave/cli/pull/911](https://github.com/urfave/cli/pull/911) via [@rliebz](https://github.com/rliebz)
- Fix zsh autocomplete in [urfave/cli/pull/906](https://github.com/urfave/cli/pull/906) via [@gnowxilef](https://github.com/gnowxilef)
- Fix typo in `DocGenerationFlag.TakesValue()` docstring in [urfave/cli/pull/902](https://github.com/urfave/cli/pull/902) via [@benmoose](https://github.com/benmoose)
- Avoid panic for missing flag value in [urfave/cli/pull/893](https://github.com/urfave/cli/pull/893) via [@rliebz](https://github.com/rliebz)

### Changed

### Removed
- Simplify `HelpPrinter` and `CustomHelpPrinter` behaviors in [urfave/cli/pull/912](https://github.com/urfave/cli/pull/912) via [@rliebz](https://github.com/rliebz)

## [1.22.1] - 2019-09-11

Expand Down Expand Up @@ -497,7 +520,11 @@ signature of `func(*cli.Context) error`, as defined by `cli.ActionFunc`.
### Added
- Initial implementation.

[Unreleased]: https://github.com/urfave/cli/compare/v1.22.1...HEAD
[unreleased 2.X]: https://github.com/urfave/cli/compare/v2.0.0...HEAD
[2.0.0]: https://github.com/urfave/cli/compare/v1.22.2...v2.0.0

[unreleased 1.22.X]: https://github.com/urfave/cli/compare/v1.22.2...v1
[1.22.2]: https://github.com/urfave/cli/compare/v1.22.1...v1.22.2
[1.22.1]: https://github.com/urfave/cli/compare/v1.22.0...v1.22.1
[1.22.0]: https://github.com/urfave/cli/compare/v1.21.0...v1.22.0
[1.21.0]: https://github.com/urfave/cli/compare/v1.20.0...v1.21.0
Expand Down

0 comments on commit a560b5c

Please sign in to comment.