Skip to content

Release 3.x meta/discussion #833

Closed
Closed

Description

@coilysiren

This is a meta-issue meant to track the work in other issues targeting the Release 3.x milestone.

benevolent takeover notes

Hiii I'm working on getting many maintenance tasks addressed including
taking over this issue from @coilysiren 🙇🏼 who is busy with other life adventures ❤️ ~ @meatballhat

I know 2.0 isn't out yet 🙂 (see #826) but I wanted to create a tracking issue for the 3.x series.

Here's some breaking/difficult changes we want to consider for V3:

Please suggest more! I'll add them to this OP

Update ~January 2023: Progress! And yet, yeah, wish lists balanced with releasing usable software is hard to do. If you're the kind of human who finds themselves reading this, there's a v3.0.0-alpha2 tag now, which should play nicely with go get github.com/urfave/cli/v3@latest. Feedback wanted! ❤️ ~ @meatballhat

Footnotes

  1. The documentation-related code that depends on github.com/russross/blackfriday/v2 and github.com/cpuguy83/go-md2man/v2 has been shown to add significant bulk to compiled outputs ↩

Activity

  1. saschagrunert commented on Aug 3, 2019

    @saschagrunert
    Member

    Regarding the API we could split it up into an internal and external one. Everything which should not be imported externally would go into the internal folder.

  2. saschagrunert commented on Aug 3, 2019

    @saschagrunert
    Member

    I would love to see fish shell completion support. 💚

  3. coilysiren commented on Aug 3, 2019

    @coilysiren
    MemberAuthor

    Regarding the API we could split it up into an internal and external one. Everything which should not be imported externally would go into the internal folder.

    I'm a big fan of tossing tons of code into internal, its a really cool pattern

  4. coilysiren commented on Aug 3, 2019

    @coilysiren
    MemberAuthor

    I would love to see fish shell completion support.

    For anyone else reading, here's a ticket for that => #351

  5. coilysiren commented on Aug 3, 2019

    @coilysiren
    MemberAuthor

    Oh! I see now that we call the flag EnableBashCompletion instead of CompletionShells. I'll add this to the OP 👍

  6. marwan-at-work commented on Aug 5, 2019

    @marwan-at-work
    Contributor

    Since v2 was never officially released, it might be okay to make minimal breaking changes to the v2 branch before merging and releasing it?

    I'm happy either way, but if that's more convenient then it should be okay since people know that v2 has not been released yet and so it's okay to make some breaking changes before its officially stable

  7. added
    kind/maintenance
    and removed
    kind/discussion
    on Aug 17, 2019
  8. coilysiren commented on Aug 17, 2019

    @coilysiren
    MemberAuthor

    ^ I'm cleaning up the issues about altsrc ^_^

  9. self-assigned this
    on Aug 17, 2019
  10. removed their assignment
    on Oct 20, 2019
  11. coilysiren commented on Oct 20, 2019

    @coilysiren
    MemberAuthor

    I'm gonna drop off of guidance for this one - I've got a few other things I can focus on

  12. torkelrogstad commented on Nov 4, 2019

    @torkelrogstad

    Commenting here, as it seems like you guys want everything related to altsrc in this issue. Thanks for all the work you've put in on a great package!

    I've got two questions about usage of altsrc to read flags from a config file:

    1. It seems like altsrc.InitInputSourceWithContext returns an error if there are some flags in the config file which aren't defined, even though said flags aren't marked as Required when defining them. Is this the intended behavior, or am I doing something wrong here?

    2. If marking a flags as Required, I get an error when executing my command when defining the flag in my config file, but not at the CLI invocation point. This seems like a bug to me, or am I confused about something here?

  13. coilysiren commented on Nov 9, 2019

    @coilysiren
    MemberAuthor

    Commenting here, as it seems like you guys want everything related to altsrc in this issue.

    Yes please!

    To your questions - I'm not sure yet what the answers are, but I will totally investigate o7!

  14. 69 remaining items

  15. bartekpacia commented on Mar 10, 2024

    @bartekpacia
    Member

    Hi! Thank you very much for maintaining this awesome module. When do you expect v3 beta release? Is there anything a random contributor could help with? I have some free time :)

  16. dearchap commented on Mar 11, 2024

    @dearchap
    Contributor

    @bartekpacia The only thing preventing us from a beta release is a new arg parser from either @meatballhat or @jtagcat .

  17. jtagcat commented on Mar 11, 2024

    @jtagcat

    harg exists as a complete parser, I moved it under hcli (WIP, my 'urfave/cli v3') to try integrating it with a CLI wrapper. The place I got stuck with was the logic of nested subcommands.

    It has been on the back burner for a while. I've been annoyed for there not being no good cli lib for Go a few times, but instead slapped things together without a library at all.

    While it still is on my TODO; I haven't planned for it. Might do it one day, might not.

    I think it got noted before, that harg isn't a drop-in to urfave/cli.

  18. bartekpacia commented on Mar 11, 2024

    @bartekpacia
    Member

    Alright, thanks!

    Are you planning on making some breaking changes? I know such questions might be hard to answer right now since well, it's alpha, but I'd appreciate an answer anyway :-)

    Meanwhile I think it would make sense to also release documentation for v3 on the docs website (and of course name it like v3 (alpha). Possibly relevant issue: #1801

  19. jtagcat commented on Mar 11, 2024

    @jtagcat

    At least my version, yes, breaking.

    I don't agree with releasing docs before the exact design/spec is down. My effort is probably separate from urfave/cli (see top post). If you want it, you'll likely want to build it yourself, or buy the work. This issue is 5y old.

  20. meatballhat commented on Apr 27, 2024

    @meatballhat
    Member

    @bartekpacia The only thing preventing us from a beta release is a new arg parser from either @meatballhat or @jtagcat .

    I'd like to include #1885 and then creating a whole new set of docs for the v3 feature set in the list of stuff to do before releasing a v3 beta 💖

  21. abitrolly commented on Jul 6, 2024

    @abitrolly
    Contributor

    Reducing complexity of the build system #1802 is a blocker for me to continue investigation how the docs are built.

    People are migrating to v3 and there is no documentation to check what do they propose #1945

  22. 6543 commented on Jul 6, 2024

    @6543
    Contributor

    sorry I hope this was the right way to propose an api change ... I just try to make it on pare to EnvVar is to EnvVars ...

  23. dearchap commented on Jul 7, 2024

    @dearchap
    Contributor

    Reducing complexity of the build system #1802 is a blocker for me to continue investigation how the docs are built.

    People are migrating to v3 and there is no documentation to check what do they propose #1945

    @meatballhat Can you chime in ?

  24. 6543 commented on Jul 13, 2024

    @6543
  25. meatballhat commented on Oct 12, 2024

    @meatballhat
    Member

    Reducing complexity of the build system #1802 is a blocker for me to continue investigation how the docs are built.
    People are migrating to v3 and there is no documentation to check what do they propose #1945

    @meatballhat Can you chime in ?

    Apologies for my big delay! @abitrolly Thank you for raising this up. If this section of the contributing docs isn't working for you, I'd like to treat it as a bug ❤️ https://github.com/urfave/cli/blob/main/docs/CONTRIBUTING.md#docs-output

  26. meatballhat commented on Jun 11, 2025

    @meatballhat
    Member

    Belated closing after moving a few stragglers to post-v3.

  27. abitrolly commented on Jun 12, 2025

    @abitrolly
    Contributor

    . If this section of the contributing docs isn't working for you, I'd like to treat it as a bug ❤️ https://github.com/urfave/cli/blob/main/docs/CONTRIBUTING.md#docs-output

    Yes, it doesn't work. See #1802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/v3kind/maintenancestatus/confirmed

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions