vrchat-community / creator-companion

The Entry Point for Making Things in VRChat
https://vrchat.com/home/download
57 stars 410 forks source link

[FEATURE] Hide / warn about deprecated packages #303

Open foxscore opened 1 year ago

foxscore commented 1 year ago

Is your feature request related to a problem? Please describe. Deprecating versions is important. We don't want to import packages that won't compile, use outdated API's, or have severe security vulnerabilities. However, users should still have the option to take the risk if they want to.

Describe the solution you'd like Add support for a isDeprecated boolean field, and prevent the installation of deprecated packages / warn user that they may not work. The warning popup would extend to packages that depend on a deprecated package (-version). Furthermore, an optional deprecationMessage string field may also be present and should be displayed along with the offending package (-version).

Describe alternatives you've considered N/A — This is a crucial feature of package managers

Additional context N/A

anatawa12 commented 1 year ago

I think this relates to #204. yank is similar to deprecation but yank (should) prevents installation except for resolving locked versions.

Happyrobot33 commented 1 year ago

+1 would definetly be helpful