mattn / go-mastodon

mastodon client for golang
MIT License
600 stars 85 forks source link

Update module urfave/cli to v2 #124

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
github.com/urfave/cli require major v1.20.0 -> v2.1.1

Release Notes

urfave/cli ### [`v2.1.1`](https://togithub.com/urfave/cli/releases/v2.1.1) [Compare Source](https://togithub.com/urfave/cli/compare/v2.1.0...v2.1.1) Fixed a `Context` regression introduced in `v2.1.0` in [#​1014](https://togithub.com/urfave/cli/pull/1014) via [@​lynncyrin](https://togithub.com/lynncyrin) ### [`v2.1.0`](https://togithub.com/urfave/cli/releases/v2.1.0) [Compare Source](https://togithub.com/urfave/cli/compare/v2.0.0...v2.1.0) These release notes were written for the git hash [ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8](https://togithub.com/urfave/cli/tree/ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8) ##### Fixed - Fixed some golint errors in [#​988](https://togithub.com/urfave/cli/pull/988) via [@​liamchampton](https://togithub.com/liamchampton) - Fixed a panic with flag completion [#​946](https://togithub.com/urfave/cli/pull/946) via [@​unRob](https://togithub.com/unRob) ##### Changed - Changed docs generation to use visible flags in [#​999](https://togithub.com/urfave/cli/pull/999) via [@​subpop](https://togithub.com/subpop) - Changed `App.Run` to use an optional context for timeouts and cancellation in [#​975](https://togithub.com/urfave/cli/pull/975) via [@​marwan-at-work](https://togithub.com/marwan-at-work) - Changed version info to be hidden if the user has not defined a version in [#​955](https://togithub.com/urfave/cli/pull/955) via [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe) - Changed docs generation to take into account multiple authors in [#​900](https://togithub.com/urfave/cli/pull/900) via [@​saschagrunert](https://togithub.com/saschagrunert) - Changed context to expose a `Value` accessor in [#​741](https://togithub.com/urfave/cli/pull/741) via [@​corruptmemory](https://togithub.com/corruptmemory) ##### Added - Added timestamp flag in [#​987](https://togithub.com/urfave/cli/pull/987) via [@​drov0](https://togithub.com/drov0) ### [`v2.0.0`](https://togithub.com/urfave/cli/releases/v2.0.0) [Compare Source](https://togithub.com/urfave/cli/compare/v1.22.2...v2.0.0) V2 was merged in [#​892](https://togithub.com/urfave/cli/pull/892), which included the work of all of these contributors: [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe), [@​meatballhat](https://togithub.com/meatballhat), [@​jszwedko](https://togithub.com/jszwedko), [@​lynncyrin](https://togithub.com/lynncyrin), [@​AudriusButkevicius](https://togithub.com/AudriusButkevicius), [@​saschagrunert](https://togithub.com/saschagrunert), [@​rliebz](https://togithub.com/rliebz), [@​johnweldon](https://togithub.com/johnweldon), [@​nlewo](https://togithub.com/nlewo), [@​grubernaut](https://togithub.com/grubernaut), [@​OneOfOne](https://togithub.com/OneOfOne), [@​VMitov](https://togithub.com/VMitov), [@​cbranch](https://togithub.com/cbranch), [@​marwan-at-work](https://togithub.com/marwan-at-work), [@​uudashr](https://togithub.com/uudashr), [@​bfreis](https://togithub.com/bfreis) Discuss the state of V2 here => [#​826](https://togithub.com/urfave/cli/issues/826) * * * ##### Added - 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 - Occurrences of `[]Command` have been changed to `[]*Command` - Occurrences of `[]cli.Flag` have been changed to `[]*cli.Flag` - `Context.FlagNames` now returns all flags in the context lineage - `Context.IsSet` now considers the full context lineage ##### Removed - Removed `Global*` flags since all flags are now global - when updating, replace `GlobalBool` with `Bool` - and `GlobalInt` with `Int` - and `GlobalString` with `String` - and so on for any other global flags - Removed `Context.Parent` method, as this is now available via `Context.Lineage` - when updating, replace `Context.Parent()` with `Context.Lineage()[1]` - Removed the `App.Author` and `App.Email` - these have been replaced with the `Authors []*Author` field - Removed the ability to specify multiple entries in the `Command.Name` field - when updating, replace `Name: "a, b, c"` with `Name: "a", Aliases: []string{"b", "c"}` - Removed the `Command.ShortName` field - when updating, replace `ShortName: "i"` with `Aliases: []string{"i"}` - Removed all `Context.Global*` methods, as the non-global versions now traverse up the context lineage automatically. - Removed the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`. - Removed adapter code for deprecated `Action` func signature - Removed `BoolTFlag` and related code, as this is now available via `BoolFlag.Value` ### [`v1.22.2`](https://togithub.com/urfave/cli/releases/v1.22.2) [Compare Source](https://togithub.com/urfave/cli/compare/v1.22.1...v1.22.2) ##### Fixed - Fix v1.21.0 pass through regression in [urfave/cli/pull/872](https://togithub.com/urfave/cli/pull/872) via [@​lynncyrin](https://togithub.com/lynncyrin) - Fix infinite loop when parsing invalid flags for apps with short option handling in [urfave/cli/pull/911](https://togithub.com/urfave/cli/pull/911) via [@​rliebz](https://togithub.com/rliebz) - Fix zsh autocomplete in [urfave/cli/pull/906](https://togithub.com/urfave/cli/pull/906) via [@​gnowxilef](https://togithub.com/gnowxilef) - Fix typo in `DocGenerationFlag.TakesValue()` docstring in [urfave/cli/pull/902](https://togithub.com/urfave/cli/pull/902) via [@​benmoose](https://togithub.com/benmoose) - Avoid panic for missing flag value in [urfave/cli/pull/893](https://togithub.com/urfave/cli/pull/893) via [@​rliebz](https://togithub.com/rliebz) ##### Changed - Simplify `HelpPrinter` and `CustomHelpPrinter` behaviors in [urfave/cli/pull/912](https://togithub.com/urfave/cli/pull/912) via [@​rliebz](https://togithub.com/rliebz) ### [`v1.22.1`](https://togithub.com/urfave/cli/releases/v1.22.1) [Compare Source](https://togithub.com/urfave/cli/compare/v1.22.0...v1.22.1) ##### 🚧 Watch out! There's a known regression in this release! [#​850](https://togithub.com/urfave/cli/issues/850) 🚧 ##### Fixed - Hide output of hidden commands on man pages in [urfave/cli/pull/889](https://togithub.com/urfave/cli/pull/889) via [@​crosbymichael](https://togithub.com/crosbymichael) - Don't generate fish completion for hidden commands [urfave/cli/pull/891](https://togithub.com/urfave/891) via [@​saschagrunert](https://togithub.com/saschagrunert) - Using short flag names for required flags throws an error in [urfave/cli/pull/890](https://togithub.com/urfave/cli/pull/890) via [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe) ##### Changed - Remove flag code generation logic, legacy python test runner in [urfave/cli/pull/883](https://togithub.com/urfave/cli/pull/883) via [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe) - Enable Go Modules support, drop support for `Go 1.10` add support for `Go 1.13` in [urfave/cli/pull/885](https://togithub.com/urfave/cli/pull/885) via [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe) ### [`v1.22.0`](https://togithub.com/urfave/cli/releases/v1.22.0) [Compare Source](https://togithub.com/urfave/cli/compare/v1.21.0...v1.22.0) ##### 🚧 Watch out! There's a known regression in this release! [#​850](https://togithub.com/urfave/cli/issues/850) 🚧 ##### Fixed - Fix Subcommands not falling back to `app.ExitEventHandler` in [urfave/cli/pull/856](https://togithub.com/urfave/cli/pull/856) via [@​FaranIdo](https://togithub.com/FaranIdo) ##### Changed - Clarify that altsrc supports both TOML and JSON in [urfave/cli/pull/774](https://togithub.com/urfave/cli/pull/774) via [@​whereswaldon](https://togithub.com/whereswaldon) - Made the exit code example more clear in [urfave/cli/pull/823](https://togithub.com/urfave/cli/pull/823) via [@​xordspar0](https://togithub.com/xordspar0) - Removed the use of python for internal flag generation in [urfave/cli/pull/836](https://togithub.com/urfave/cli/pull/836) via [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe) - Changed the supported go versions to `1.10`, `1.11`, `1.12` in [urfave/cli/pull/843](https://togithub.com/urfave/cli/pull/843) via [@​lafriks](https://togithub.com/lafriks) - Changed the v1 releases section in the readme in [urfave/cli/pull/862](https://togithub.com/urfave/cli/pull/862) via [@​russoj88](https://togithub.com/russoj88) - Cleaned up go modules in [urfave/cli/pull/874](https://togithub.com/urfave/cli/pull/874) via [@​saschagrunert](https://togithub.com/saschagrunert) ##### Added - Added `UseShortOptionHandling` for combining short flags in [urfave/cli/pull/735](https://togithub.com/urfave/cli/pull/735) via [@​rliebz](https://togithub.com/rliebz) - Added support for flags bash completion in [urfave/cli/pull/808](https://togithub.com/urfave/cli/pull/808) via [@​yogeshlonkar](https://togithub.com/yogeshlonkar) - Added the `TakesFile` indicator to flag in [urfave/cli/pull/851](https://togithub.com/urfave/cli/pull/851) via [@​saschagrunert](https://togithub.com/saschagrunert) - Added fish shell completion support in [urfave/cli/pull/848](https://togithub.com/urfave/cli/pull/848) via [@​saschagrunert](https://togithub.com/saschagrunert) ### [`v1.21.0`](https://togithub.com/urfave/cli/releases/v1.21.0) [Compare Source](https://togithub.com/urfave/cli/compare/v1.20.0...v1.21.0) ##### 🚧 Watch out! There's a known regression in this release! [#​850](https://togithub.com/urfave/cli/issues/850) 🚧 ##### Fixed - Fix using "slice" flag types with `EnvVar` in [urfave/cli/pull/687](https://togithub.com/urfave/cli/pull/687) via [@​joshuarubin](https://togithub.com/joshuarubin) - Fix regression of `SkipFlagParsing` behavior in [urfave/cli/pull/697](https://togithub.com/urfave/cli/pull/697) via [@​jszwedko](https://togithub.com/jszwedko) - Fix handling `ShortOptions` and `SkipArgReorder` in [urfave/cli/pull/686](https://togithub.com/urfave/cli/pull/686) via [@​baude](https://togithub.com/baude) - Fix args reordering when bool flags are present in [urfave/cli/pull/712](https://togithub.com/urfave/cli/pull/712) via [@​windler](https://togithub.com/windler) - Fix parsing of short options in [urfave/cli/pull/758](https://togithub.com/urfave/cli/pull/758) via [@​vrothberg](https://togithub.com/vrothberg) ##### Added / Changed - Added _"required flags"_ support in [urfave/cli/pull/819](https://togithub.com/urfave/cli/pull/819) via [@​lynncyrin](https://togithub.com/lynncyrin/) - Cleaned up help output in [urfave/cli/pull/664](https://togithub.com/urfave/cli/pull/664) via [@​maguro](https://togithub.com/maguro) - Case is now considered when sorting strings in [urfave/cli/pull/676](https://togithub.com/urfave/cli/pull/676) via [@​rliebz](https://togithub.com/rliebz) - Backport JSON `InputSource` to v1 in [urfave/cli/pull/598](https://togithub.com/urfave/cli/pull/598) via [@​jszwedko](https://togithub.com/jszwedko) - Allow more customization of flag help strings in [urfave/cli/pull/661](https://togithub.com/urfave/cli/pull/661) via [@​rliebz](https://togithub.com/rliebz) - Allow custom `ExitError` handler function in [urfave/cli/pull/628](https://togithub.com/urfave/cli/pull/628) via [@​phinnaeus](https://togithub.com/phinnaeus) - Allow loading a variable from a file in [urfave/cli/pull/675](https://togithub.com/urfave/cli/pull/675) via [@​jmccann](https://togithub.com/jmccann) - Allow combining short bool names in [urfave/cli/pull/684](https://togithub.com/urfave/cli/pull/684) via [@​baude](https://togithub.com/baude)

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.

renovate[bot] commented 4 years ago

:warning: Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

:recycle: Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm -v "/mnt/renovate/gh/mattn/go-mastodon":"/mnt/renovate/gh/mattn/go-mastodon" -v "/tmp/renovate-cache/others/go":"/tmp/renovate-cache/others/go" -e GOPATH -e GOPROXY -e GONOSUMDB -e CGO_ENABLED=0 -w "/mnt/renovate/gh/mattn/go-mastodon" renovate/go bash -c "git config --global url.\"https://x-access-token:**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./..."
go: github.com/urfave/cli/v2/v2@v2.1.1: reading github.com/urfave/cli/v2/v2/go.mod at revision v2/v2.1.1: unknown revision v2/v2.1.1
mattn commented 4 years ago

no further!

renovate[bot] commented 4 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 2.x releases. However, if you upgrade to 2.x manually then Renovate will then reenable updates for minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.