From d946e1dfa0ea27bc3da532677be30d0f1e005136 Mon Sep 17 00:00:00 2001 From: dyma solovei Date: Mon, 28 Jul 2025 11:16:32 +0200 Subject: [PATCH 1/3] build: add plugin for managing version upgrades --- pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pom.xml b/pom.xml index 8576d7044..f05bc136c 100644 --- a/pom.xml +++ b/pom.xml @@ -309,6 +309,23 @@ + + org.codehaus.mojo + versions-maven-plugin + 2.18.0 + + false + false + + + + regex + (.+-SNAPSHOT|.+-(M|RC|rc)\d|.+-(alpha|beta)\d?) + + + + + org.codehaus.mojo build-helper-maven-plugin From 90a3e772f51a568af51d1a207199618505c7371c Mon Sep 17 00:00:00 2001 From: dyma solovei Date: Mon, 28 Jul 2025 11:21:40 +0200 Subject: [PATCH 2/3] chore: add section on dependency upgrades to CONTRIBUTING.md --- CONTRIBUTE.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index 0a3a8f385..b913d2582 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -2,7 +2,7 @@ Contributing works pretty easy. You can do a pull request or you can commit if you are part of a Weaviate team. ### Code of Conduct -Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. +Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) @@ -27,6 +27,22 @@ AKA: smart commits If you create a pull request without smart commits, the pull request will be [squashed into](https://blog.github.com/2016-04-01-squash-your-commits/) one git commit. +### Updating dependencies + +It's a good practice to periodically check for possible dependency upgrades. Ideally, we should do it before every release. + +```sh +mvn versions:display-property-updates +``` + +If appropriate, update dependency version with this command: + +```sh +mvn versions:update-properties +``` + +Commit all version upgrades in a single commit, unless there's a good reason not to. + ### Contributor License Agreement Contributions to Weaviate Java client must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of Weaviate Java client. Go to [this page](https://weaviate.io/service/contributor-license-agreement) to read the current agreement. From 24fa1e292cb52be4222f123040d13773ba41b878 Mon Sep 17 00:00:00 2001 From: dyma solovei Date: Mon, 28 Jul 2025 11:25:18 +0200 Subject: [PATCH 3/3] chore: upgrade all dependencies to latest stable versions --- pom.xml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index f05bc136c..76e9c63b6 100644 --- a/pom.xml +++ b/pom.xml @@ -52,26 +52,26 @@ 17 17 17 - 1.18.36 - 2.12.1 - 5.4.3 - 3.17.0 - 5.12.0 - 1.20.5 + 1.18.38 + 2.13.1 + 5.5 + 3.18.0 + 5.13.4 + 1.21.3 3.27.3 1.0.4 - 5.15.2 + 5.18.0 2.0.17 - 1.5.17 + 1.5.18 5.14.0 - 2.18.3 - 11.23.1 + 2.19.2 + 11.26.1 5.15.0 - 4.29.3 - 4.29.3 - 1.68.2 - 1.70.0 - 1.68.2 + 4.31.1 + 4.31.1 + 1.73.0 + 1.73.0 + 1.73.0 6.0.53