ClickHouse / clickhouse-java

Java client and JDBC driver for ClickHouse
https://clickhouse.com
Apache License 2.0
1.39k stars 513 forks source link

Versioning schema is weird #1652

Open dolfinus opened 1 month ago

dolfinus commented 1 month ago
![Screenshot_20240526-205727_GitHub.png](https://github.com/ClickHouse/clickhouse-java/assets/4661021/fdf65a4b-ea15-4e55-a6ef-e84c67937494)

Why don't use versions like 0.6.0, 0.6.1, 0.6.2 for bugfixes (e.g. SemVer)? Why instead 0.6.0-patch1, 0.6.0-patch2 versions are a thing? Also, why some patch versions within 0.6.0 are releases and other ones are pre-releases?

chernser commented 1 month ago

Good day, @dolfinus! Patch versions are result of hot-fixes and intent to deliver them to official repo. However they had not enough to be a release.

dolfinus commented 1 month ago

However they had not enough to be a release.

If these changes have a dedicated git tag, and all artifacts are build and available in the Maven repo, then this is a release.

mzitnik commented 1 month ago

Attaching two links that i found regarding maven versioning https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#MAVEN8855 https://www.mojohaus.org/versions/versions-maven-plugin/version-rules.html @chernser do you think we can aline with?