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

Implement a mechanism for deprecation of features #3258

Open
10 tasks
Gedochao opened this issue Nov 4, 2024 · 0 comments
Open
10 tasks

Implement a mechanism for deprecation of features #3258

Gedochao opened this issue Nov 4, 2024 · 0 comments
Labels
deprecation Issues tied with deprecation of features, as well as the deprecation mechanism itself. DX Dev experience enhancement New feature or request UX

Comments

@Gedochao
Copy link
Contributor

Gedochao commented Nov 4, 2024

Describe what needs to be done and why
We need a mechanism to deprecate individual features of the runner/CLI, similar to the one we have for features which are experimental.
It should become easy to tag or annotate individual features as deprecated, label them as such in our docs and log warnings.

Features which should be deprecatable:

  • command line options
    • individual command line option aliases
  • using directives
    • individual using directive aliases
  • sub-commands
    • individual sub-command aliases
  • global config keys

Additionally, we need:

  • a warning suppression command line option, which will silence deprecation warnings altogether
  • a corresponding global config key for suppression of deprecation warnings
  • all deprecation warnings should be gathered into a single log (like is the case for experimental features), rather than each being logged separately

Is your feature request related to a past ticket or discussion?

Describe alternatives you've considered
What we have in place are rough and/or partial hacks, we need a proper solution.

@Gedochao Gedochao added UX internal Internal or build-related changes DX Dev experience labels Nov 4, 2024
@Gedochao Gedochao added enhancement New feature or request and removed internal Internal or build-related changes labels Nov 4, 2024
@Gedochao Gedochao added the deprecation Issues tied with deprecation of features, as well as the deprecation mechanism itself. label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Issues tied with deprecation of features, as well as the deprecation mechanism itself. DX Dev experience enhancement New feature or request UX
Projects
None yet
Development

No branches or pull requests

1 participant