Skip to content

Sorting in releases.json is incorrect #500

Closed
@bobrik

Description

@bobrik

https://www.rust-lang.org/ says 1.40 is the latest release, but the link points to 1.38:

image

The reason is that https://blog.rust-lang.org/releases.json does not have releases after 1.38:

$ curl -s https://blog.rust-lang.org/releases.json | jq .
{
  "releases": [
    {
      "title": "Announcing Rust 1.38.0",
      "url": "2019/9/26/Rust-1.38.0.html"
    },
    {
      "title": "Announcing Rust 1.37.0",
      "url": "2019/8/15/Rust-1.37.0.html"
    },
    {
      "title": "Announcing Rust 1.36.0",
      "url": "2019/7/4/Rust-1.36.0.html"
    },
    {
      "title": "Announcing Rust 1.35.0",
      "url": "2019/5/23/Rust-1.35.0.html"
    },
    {
      "title": "Announcing Rust 1.34.2",
      "url": "2019/5/14/Rust-1.34.2.html"
    },
    {
      "title": "Announcing Rust 1.34.1",
      "url": "2019/4/25/Rust-1.34.1.html"
    },
    {
      "title": "Announcing Rust 1.34.0",
      "url": "2019/4/11/Rust-1.34.0.html"
    },
    {
      "title": "Announcing Rust 1.33.0",
      "url": "2019/2/28/Rust-1.33.0.html"
    },
    {
      "title": "Announcing Rust 1.40.0",
      "url": "2019/12/19/Rust-1.40.0.html"
    },
    {
      "title": "Announcing Rust 1.39.0",
      "url": "2019/11/7/Rust-1.39.0.html"
    },
    {
      "title": "Announcing Rust 1.32.0",
      "url": "2019/1/17/Rust-1.32.0.html"
    }
  ],
  "feed_updated": "2020-01-25T23:55:41Z"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions