NuGet / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
https://www.nuget.org/
Apache License 2.0
1.52k stars 643 forks source link

Properly no-op deprecations and allow unlisting at the same time in API #9922

Closed joelverhagen closed 2 months ago

joelverhagen commented 2 months ago

There is continued internal success and growing interesting in the deprecation API. I would like to make progress on the public preview.

Spec: https://github.com/NuGet/Engineering/pull/4709

For no-oping deprecations, I opted to not use the entity level change tracking API (e.g. https://stackoverflow.com/a/30235307) since it would mean a lot of changes to our abstractions. I think the current implementation is easier to understand anyway.

Summary of changes: