`major_versions` endpoint doesn't include latest EA version

Open
#103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start by comparing the major_versions and major_versions/latest_ea responses with the distribution versions shown in the issue, especially the Oracle OpenJDK entries for 24-ea builds. Done means the major_versions response includes the latest EA major version and the latest_ea endpoint returns that version instead of an empty result.

Written by the indexing model from the issue text.

Description

If I query the major versions via https://api.foojay.io/disco/v3.0/major_versions the latest version is major version 23

    {
      "major_version":23,
      "term_of_support":"STS",
      "maintained":true,
      "early_access_only":true,
      "release_status":"ea",
      "versions": [  ]
    }

although there are already EA builds for OpenJDK JDK 24.

Querying the available versions for OpenJDK via https://api.foojay.io/disco/v3.0/distributions/oracle_openjdk already contains version 24:

  "name":"Oracle OpenJDK",
  "api_parameter":"oracle_open_jdk",
  "maintained":true,
  "available":true,
  "build_of_openjdk":true,
  "build_of_graalvm":false,
  "official_uri":"https://openjdk.org/",
  "versions": [
    "24-ea+5",
    "24-ea+4",
    "24-ea+3",
    "24-ea+2",
    "24-ea+1",
    "23-ea+29",
    "23-ea+28",
    "23-ea+27",
    ...

Explicitly querying the latest EA version via https://api.foojay.io/disco/v3.0/major_versions/latest_ea also seems to not work properly because it returns an empty result:

{
  "result":[

  ],
  "message":""
}
Dominant language
Java
Stars
154
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from foojayio/discoapi

All issues in foojayio/discoapi

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.