Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/urfave/cli to v2 - autoclosed #16

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 9, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

urfave/cli

v2.3.0

Compare Source

These release notes were written for the git hash 09ac54c.

Fixed

Changed

Added

v2.2.0

Compare Source

These release notes were written for the git hash d648edd

Fixed

Changed

Added

v2.1.1

Compare Source

Fixed a Context regression introduced in v2.1.0 in https://github.com/urfave/cli/pull/1014 via @​lynncyrin

v2.1.0

Compare Source

These release notes were written for the git hash ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8

Fixed
Changed
Added

v2.0.0

Compare Source

V2 was merged in https://github.com/urfave/cli/pull/892, which included the work of all of these contributors: @​asahasrabuddhe, @​meatballhat, @​jszwedko, @​lynncyrin, @​AudriusButkevicius, @​saschagrunert, @​rliebz, @​johnweldon, @​nlewo, @​grubernaut, @​OneOfOne, @​VMitov, @​cbranch, @​marwan-at-work, @​uudashr, @​bfreis

Discuss the state of V2 here => https://github.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.5

Compare Source

These release notes were written for the git hash af7fa3d.

Fixed
Changed

v1.22.4

Compare Source

These release notes were written for the git hash 053ba9d

Fixed

v1.22.3

Compare Source

Fixed

v1.22.2

Compare Source

Fixed
Changed

v1.22.1

Compare Source

🚧 Watch out! There's a known regression in this release! https://github.com/urfave/cli/issues/850 🚧
Fixed
Changed

v1.22.0

Compare Source

🚧 Watch out! There's a known regression in this release! https://github.com/urfave/cli/issues/850 🚧
Fixed
Changed
Added

Configuration

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

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-urfave-cli-2.x branch from 74a0d41 to acb7395 Compare October 19, 2021 01:48
@renovate renovate bot changed the title Update module github.com/urfave/cli to v2 Update module github.com/urfave/cli to v2 - autoclosed Mar 7, 2022
@renovate renovate bot closed this Mar 7, 2022
@renovate renovate bot deleted the renovate/github.com-urfave-cli-2.x branch March 7, 2022 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant