From 59d5e699895b3dbb2606d3784a251679f2cc9483 Mon Sep 17 00:00:00 2001 From: Raphael De Lio Date: Mon, 16 Feb 2026 10:50:46 +0100 Subject: [PATCH 1/3] feat: upgrading java client to jvm 21 --- .github/workflows/agent-memory-client.yml | 2 +- agent-memory-client/agent-memory-client-java/build.gradle.kts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/agent-memory-client.yml b/.github/workflows/agent-memory-client.yml index 00e73ba3..85a0129b 100644 --- a/.github/workflows/agent-memory-client.yml +++ b/.github/workflows/agent-memory-client.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - java-version: ["17", "21"] + java-version: ["21"] steps: - uses: actions/checkout@v4 diff --git a/agent-memory-client/agent-memory-client-java/build.gradle.kts b/agent-memory-client/agent-memory-client-java/build.gradle.kts index 3e0c5cd6..0fe1e245 100644 --- a/agent-memory-client/agent-memory-client-java/build.gradle.kts +++ b/agent-memory-client/agent-memory-client-java/build.gradle.kts @@ -8,8 +8,8 @@ version = project.findProperty("version") as String? ?: "0.1.0" description = "Java client for the Agent Memory Server REST API" java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 withJavadocJar() withSourcesJar() } From 5f6fc29ba137a40965b8209cef3a55bda39dea6a Mon Sep 17 00:00:00 2001 From: Raphael De Lio Date: Mon, 16 Feb 2026 17:14:39 +0100 Subject: [PATCH 2/3] Fix whitespace and EOF newlines --- .github/workflows/release-java-client.yml | 1 - agent-memory-client/agent-memory-client-java/RELEASE.md | 3 +-- agent-memory-client/agent-memory-client-java/jreleaser.yml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release-java-client.yml b/.github/workflows/release-java-client.yml index 52ba1659..c57e885d 100644 --- a/.github/workflows/release-java-client.yml +++ b/.github/workflows/release-java-client.yml @@ -44,4 +44,3 @@ jobs: gpg-secret-key: ${{ secrets.GPG_SECRET_KEY }} sonatype-username: ${{ secrets.SONATYPE_USERNAME }} sonatype-password: ${{ secrets.SONATYPE_PASSWORD }} - diff --git a/agent-memory-client/agent-memory-client-java/RELEASE.md b/agent-memory-client/agent-memory-client-java/RELEASE.md index b6ba4c9d..f2f098b4 100644 --- a/agent-memory-client/agent-memory-client-java/RELEASE.md +++ b/agent-memory-client/agent-memory-client-java/RELEASE.md @@ -74,7 +74,7 @@ The workflow will: 3. **Publish**: Publish artifacts to the staging repository 4. **Sign**: Sign all artifacts with GPG 5. **Assemble**: Prepare release artifacts with JReleaser -6. **Release**: +6. **Release**: - Create a GitHub release with changelog - Deploy to Maven Central - Tag the repository @@ -157,4 +157,3 @@ export JRELEASER_MAVENCENTRAL_PASSWORD=your_password - [JReleaser Documentation](https://jreleaser.org/) - [Maven Central Publishing Guide](https://central.sonatype.org/publish/) - [GPG Signing Guide](https://central.sonatype.org/publish/requirements/gpg/) - diff --git a/agent-memory-client/agent-memory-client-java/jreleaser.yml b/agent-memory-client/agent-memory-client-java/jreleaser.yml index c4fbde7b..ca25cf30 100644 --- a/agent-memory-client/agent-memory-client-java/jreleaser.yml +++ b/agent-memory-client/agent-memory-client-java/jreleaser.yml @@ -77,4 +77,3 @@ deploy: announce: slack: active: NEVER - From b6208fff419a0a1ebecfb327f075c0935803fb07 Mon Sep 17 00:00:00 2001 From: Raphael De Lio Date: Mon, 16 Feb 2026 17:16:41 +0100 Subject: [PATCH 3/3] Fix Java version on jreleaser and github action --- .github/workflows/release-java-client.yml | 2 +- agent-memory-client/agent-memory-client-java/jreleaser.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-java-client.yml b/.github/workflows/release-java-client.yml index c57e885d..7d99d981 100644 --- a/.github/workflows/release-java-client.yml +++ b/.github/workflows/release-java-client.yml @@ -29,7 +29,7 @@ jobs: release: uses: redis/github-workflows/.github/workflows/release.yml@main with: - java-version: '11' + java-version: '21' version: ${{ inputs.version }} version-increment: ${{ inputs.version-increment }} gradle-build-tasks: 'build test publish' diff --git a/agent-memory-client/agent-memory-client-java/jreleaser.yml b/agent-memory-client/agent-memory-client-java/jreleaser.yml index ca25cf30..816ee349 100644 --- a/agent-memory-client/agent-memory-client-java/jreleaser.yml +++ b/agent-memory-client/agent-memory-client-java/jreleaser.yml @@ -7,12 +7,13 @@ project: authors: - Andrew Brookins - Brian Sam-Bodden + - Julien Ruaux - Raphael De Lio license: Apache-2.0 languages: java: groupId: com.redis - version: '11' + version: '21' inceptionYear: '2024' tags: ['redis', 'agent', 'memory', 'ai', 'llm', 'client']