-
Notifications
You must be signed in to change notification settings - Fork 2.9k
registry-index: Add release date to Index Format #15491
Copy link
Copy link
Closed
Labels
A-interacts-with-crates.ioArea: interaction with registriesArea: interaction with registriesA-registriesArea: registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Metadata
Metadata
Assignees
Labels
A-interacts-with-crates.ioArea: interaction with registriesArea: interaction with registriesA-registriesArea: registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Potential use cases:
Problem
The registry-index JSON Schema contains the version in the
verskey, but not the releasedate.It would be very helpful not having to request the API only for getting this information bit 😄
Coincidentally that
dateis the default sorting key for the web UI (notice theSort bydrop down).Example JSON Lines: https://index.crates.io/2/cc
Please note that
yankedis included in every line, even if it isfalse(default is not visualized in the web UI) for most versions in contrast to the releasedate.Proposed Solution
Can the schema be extended by the release
datewhich is visualized in HTMLhttps://crates.io/crates/cc/versions
For example version 1.2.21 has been released on May 2nd, 2025:
Please note that the release date of the first version is always shown in the web UI:
Notes
No response