At GitHub, we strive to make it easier for developers to release the best version of their code to users. As a result, we've rolled out a new feature that allows you to explicitly set which release of your code is the latest.
Previously, a repository's latest release was the one created on the most recent date. In the event that multiple releases had the same date, the semantic version number broke the tie.
This new feature provides an explicit toggle to mark a release "latest" when you create it. This gives you more control over your code, and it works both in the web interface and through the API (GraphQL, REST).
Read more about releases in the GitHub documentation.
We appreciate feedback on this and other topics in the GitHub Community discussions.