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

Review Deprecated Functions #623

Closed
donyunardi opened this issue Oct 16, 2024 · 5 comments · Fixed by #630
Closed

Review Deprecated Functions #623

donyunardi opened this issue Oct 16, 2024 · 5 comments · Fixed by #630
Assignees
Labels

Comments

@donyunardi
Copy link
Contributor

Summary

Let's review the functions we deprecated in the previous release and decide whether to hard deprecate them (lifecycle::deprecate_stop) or remove them from the codebase entirely.

Function Action
init_filtered_data code and check argument Remove
@m7pr
Copy link
Contributor

m7pr commented Nov 13, 2024

Hey @donyunardi and @llrs-roche, besides code parts that we could change to from
deprecate_soft -> deprecated_hard or delete

I would also like us to have a look at things around

  • lifecycle::stable
  • lifecycle::experimental

I think we should review and change

  • lifecycle::stable -> this was experimental some time ago, now this is stable, so let's just remove this badge
  • lifecycle::experimental -> if this has been there for a while, and we did not decide to delete and no-one complained about it, I reckon we should change the badge to lifecycle::stable

What are your thoughs?

@llrs-roche
Copy link
Contributor

The changes seem very easy and only involve modifying the documentation, and it is a good opportunity to deal with them before the release.
There are two stable parameters and two experimental ones.

@donyunardi
Copy link
Contributor Author

Thanks for raising this.

While it makes sense to remove or transition the badge cycle, I want to ensure we're consistent across all teal packages. We should consider establishing guidelines, such as how long a function with an experimental badge should remain before becoming stable, and when the stable badge can be removed afterward. I also noticed that teal::init still has a stable badge.

To avoid scope creep on this issue, should we create a new issue to:

  1. Discuss and decide on guidelines for transitioning lifecycle::badge in teal packages.
  2. Implement changes based on the decision before the release.

@m7pr
Copy link
Contributor

m7pr commented Nov 14, 2024

Alrighty, please create new issue and we will not increase the scope of this one

@donyunardi
Copy link
Contributor Author

Issue created:
insightsengineering/nestdevs-tasks#86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants