foojayio / discoclient

A Java library that makes it easier to access the foojay disco api
Apache License 2.0
7 stars 7 forks source link

Git tag for version 21.0.0 is missing #18

Open sschuberth opened 8 months ago

sschuberth commented 8 months ago

I see there is https://mvnrepository.com/artifact/io.foojay.api/discoclient/21.0.0, which is never than release 2.0.39. So, has the versioning scheme changed?

sschuberth commented 2 months ago

I'm starting to believe that not the Git tag is missing, but that the library version 21.0.0 was published by accident. Could that be @HanSolo?

HanSolo commented 2 months ago

Just checked that and both is true, the tag is missing and the version was published by accident. The reason is that the discoclient is nothing that I officially support, but was done to help the NetBeans team to integrate the Disco API into their IDE. The new version scheme follows the JDK.MAJOR.MINOR versioning. Meaning to say the 21.0.0 is based on JDK 21 and I see in my local repo that I already have a 21.0.1 version which is not published yet. It doesn't contain any major changes but more or less cosmetics

sschuberth commented 2 months ago

The reason is that the discoclient is nothing that I officially support

As a related question, is there a supported API client for the Disco API (in Java or Kotlin)? Or is the recommendation to use the API directly (like I believe https://github.com/gradle/foojay-toolchains does), e.g. via Retrofit?

HanSolo commented 2 months ago

The DiscoClient does it's job, so feel free to use it but as mentioned it was made with a specific purpose in mind, you can easily directly access the api and get the data you need.