Skip to content

Commit 531770e

Browse files
authored
Merge pull request #431 from weaviate/v6-upgrade-dependencies
🔒 chore(v6): upgrade all dependencies to their latest stable versions
2 parents 5cec601 + 24fa1e2 commit 531770e

File tree

2 files changed

+49
-16
lines changed

2 files changed

+49
-16
lines changed

CONTRIBUTE.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributing works pretty easy. You can do a pull request or you can commit if you are part of a Weaviate team.
33

44
### Code of Conduct
5-
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.
5+
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.
66
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
77

88

@@ -27,6 +27,22 @@ AKA: smart commits
2727

2828
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.
2929

30+
### Updating dependencies
31+
32+
It's a good practice to periodically check for possible dependency upgrades. Ideally, we should do it before every release.
33+
34+
```sh
35+
mvn versions:display-property-updates
36+
```
37+
38+
If appropriate, update dependency version with this command:
39+
40+
```sh
41+
mvn versions:update-properties
42+
```
43+
44+
Commit all version upgrades in a single commit, unless there's a good reason not to.
45+
3046
### Contributor License Agreement
3147

3248
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.

pom.xml

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,26 @@
5252
<maven.compiler.source>17</maven.compiler.source>
5353
<maven.compiler.target>17</maven.compiler.target>
5454
<maven.compiler.release>17</maven.compiler.release>
55-
<lombok.version>1.18.36</lombok.version>
56-
<gson.version>2.12.1</gson.version>
57-
<httpclient.version>5.4.3</httpclient.version>
58-
<lang3.version>3.17.0</lang3.version>
59-
<junit.version>5.12.0</junit.version>
60-
<testcontainers.version>1.20.5</testcontainers.version>
55+
<lombok.version>1.18.38</lombok.version>
56+
<gson.version>2.13.1</gson.version>
57+
<httpclient.version>5.5</httpclient.version>
58+
<lang3.version>3.18.0</lang3.version>
59+
<junit.version>5.13.4</junit.version>
60+
<testcontainers.version>1.21.3</testcontainers.version>
6161
<assertj-core.version>3.27.3</assertj-core.version>
6262
<jparams.version>1.0.4</jparams.version>
63-
<mockito.version>5.15.2</mockito.version>
63+
<mockito.version>5.18.0</mockito.version>
6464
<slf4j.version>2.0.17</slf4j.version>
65-
<logback.version>1.5.17</logback.version>
65+
<logback.version>1.5.18</logback.version>
6666
<mock-server.version>5.14.0</mock-server.version>
67-
<jackson.version>2.18.3</jackson.version>
68-
<oauth2-oidc-sdk.version>11.23.1</oauth2-oidc-sdk.version>
67+
<jackson.version>2.19.2</jackson.version>
68+
<oauth2-oidc-sdk.version>11.26.1</oauth2-oidc-sdk.version>
6969
<mock-server.version>5.15.0</mock-server.version>
70-
<protobuf.java.version>4.29.3</protobuf.java.version>
71-
<protobuf.java-util.version>4.29.3</protobuf.java-util.version>
72-
<grpc-netty-shaded.version>1.68.2</grpc-netty-shaded.version>
73-
<grpc-protobuf.version>1.70.0</grpc-protobuf.version>
74-
<grpc-stub.version>1.68.2</grpc-stub.version>
70+
<protobuf.java.version>4.31.1</protobuf.java.version>
71+
<protobuf.java-util.version>4.31.1</protobuf.java-util.version>
72+
<grpc-netty-shaded.version>1.73.0</grpc-netty-shaded.version>
73+
<grpc-protobuf.version>1.73.0</grpc-protobuf.version>
74+
<grpc-stub.version>1.73.0</grpc-stub.version>
7575
<annotations-api.version>6.0.53</annotations-api.version>
7676
</properties>
7777

@@ -308,6 +308,23 @@
308308
</execution>
309309
</executions>
310310
</plugin>
311+
<plugin>
312+
<groupId>org.codehaus.mojo</groupId>
313+
<artifactId>versions-maven-plugin</artifactId>
314+
<version>2.18.0</version>
315+
<configuration>
316+
<allowSnapshots>false</allowSnapshots>
317+
<generateBackupPoms>false</generateBackupPoms>
318+
<ruleSet>
319+
<ignoreVersions>
320+
<ignoreVersion>
321+
<type>regex</type>
322+
<version>(.+-SNAPSHOT|.+-(M|RC|rc)\d|.+-(alpha|beta)\d?)</version>
323+
</ignoreVersion>
324+
</ignoreVersions>
325+
</ruleSet>
326+
</configuration>
327+
</plugin>
311328
<plugin>
312329
<groupId>org.codehaus.mojo</groupId>
313330
<artifactId>build-helper-maven-plugin</artifactId>

0 commit comments

Comments
 (0)