-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
v8.2.0: Release Plan #2789
Comments
Looking at the different branches, it seems that the last time There was an attempt in #2830 but it has not been updated since Dec 24, 2024, and so lacks changes both from Is there a plan to reconcile |
So all in all, what's missing in |
I finally fixed all conflicts in #2873. This should help the release of 8.2.0. |
Might be worth including a fix for #2877. |
This release follows and is worked on together with the 8.1.8 Release Plan.
This summarises the work still needing to be done for 8.2.0, particularly on the PRs and issues attached to the milestone. The summary is based on the comments and additionally some of my own thoughts. This is an attempt to make the
8.2.0
changes easier to review as there has been a lack of time by contributors. This was following a brief discussion on Discord where I asked what can be done to help contribute even though there is a lack of time by the contributors themselves:Pull Requests & Issues
AddEnumChoice
parameter type #2210DocumentEnumChoice
Choice
token normalization + make generic #2796deprecated
toOption
.deprecated
toParameter
so it is not available to@click.argument
.Command(deprecated: bool)
implementation.deprecated
toParameter
so bothOption
andArgument
support it.param.param_type_name == "option"
were to be replaced withisinstance(param, Option)
. However, that will introduce a circular dependency. I'm not sure it's something that's easily fixable right now.UserWarning
will be logged if an "option" declaration is reused.Nit: the warnings import should be moved to the module level.DocumentLet's not make it entirely public for now.Option.get_help_extra
get_help_extra
to add typing instead of relying on untyped dict.<stderr>
and<stdout>
mix inCliRunner
results #2523ctx.call_on_close
documentation should mention the change in behaviour as well? Though I would say it's assumed that an exit actually would call this too and it's not needed.ProgressBar.is_hidden
existed. This addsProgressBar.hidden
which is the value of the new passed constructor fieldhidden
. This was mentioned in the comments as well but then the author faced issues getting it to work in tests. I'm sure we can get this to work however, if not, then we can at least document why it's there.ProgressBar._is_hidden
andProgressBar.hidden
intoProgressBar.is_hidden
.Potentially Included
These are primarily added in this separate section as I classified them as 8.2.0 though haven't necessarily been "agreed upon" by others (yet).
envvar
will return theflag_value
if set.Add file-like pager:click.get_pager_file()
#1572 might be made easier if rebased on Improve echo_via_pager behaviour in face of errors #2775. I said they can rebase on Improve echo_via_pager behaviour in face of errors #2775 and already start any work as we're aiming to get Improve echo_via_pager behaviour in face of errors #2775 in 8.2.0.Draft: add python_version to version_option available message formats #2681click.Context
generic overobj
#2663Might need a documentation change.filename
and not introducefilenames
.__exit__
is called during shell completion #2767Next steps
I propose the following:
main
or another temporary branch, the latter being preferred imo.This assumes we do not add any more items to 8.2.0 so we can keep it manageable for now.
Let me know if this sounds like a good idea. I'm also available on Discord.
The text was updated successfully, but these errors were encountered: