You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #1642 - bryanburgers:exclude-yanked-crates-on-user-team-pages, r=sgrif
Exclude yanked crates on user/team pages
Add a URL parameter to the `/api/v1/crates` endpoint that specifies whether or not the endpoint should return crates that have been fully yanked - i.e., where every version has been yanked.
If not specified, this defaults to `true` because we have typically always returned all matching crates, whether or not their versions have been yanked.
This makes it possible to display only non-yanked crates at various places in the UI without changing Rust code.
Use this from the user and team pages to exclude yanked crates from them.
Closes#958
0 commit comments