From 107c5cee6e3afff14e6ceed76033f28d2a03b156 Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Mon, 16 Nov 2026 14:36:52 -0700 Subject: [PATCH] Update Java SDK to 1.41.0 --- README.md | 2 +- build.gradle | 2 +- gcp/cloud-run/build.gradle | 12 +++++------- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2b414798..f4b228a8 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ To run any of the SpringBoot samples in your Temporal Cloud namespace: The Spring AI samples demonstrate the [Temporal Spring AI integration](https://github.com/temporalio/ai-integrations/tree/main/java/spring-ai), which makes Spring AI agents durable on Temporal — model calls run as Temporal Activities recorded in Workflow history, and tools are dispatched per their type so they fit Workflow execution. -These samples use the Public Preview `io.temporal:spring-ai:0.1.1` package with Spring AI 2.0.1, Spring Boot 4.0.8, and Temporal Java SDK 1.40.0. Java 17 or later is required. Spring AI 1 / Spring Boot 3 applications should remain on `io.temporal:temporal-spring-ai:1.40.x`. Spring AI 1 Workflow histories cannot replay on the new integration; complete existing executions or use separate Worker deployments when upgrading. +These samples use the Public Preview `io.temporal:spring-ai:0.1.1` package with Spring AI 2.0.1, Spring Boot 4.0.8, and Temporal Java SDK 1.41.0. Java 17 or later is required. Spring AI 1 / Spring Boot 3 applications should remain on `io.temporal:temporal-spring-ai:1.40.x`. Spring AI 1 Workflow histories cannot replay on the new integration; complete existing executions or use separate Worker deployments when upgrading. Each sample is its own Spring Boot application with an interactive CLI. Run from the main repo dir: diff --git a/build.gradle b/build.gradle index 20b88e92..25433cd2 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ subprojects { ext { otelVersion = '1.30.1' otelVersionAlpha = "${otelVersion}-alpha" - javaSDKVersion = '1.40.0' + javaSDKVersion = '1.41.0' camelVersion = '3.22.1' jarVersion = '1.0.0' } diff --git a/gcp/cloud-run/build.gradle b/gcp/cloud-run/build.gradle index b5cd037f..a36f1d2a 100644 --- a/gcp/cloud-run/build.gradle +++ b/gcp/cloud-run/build.gradle @@ -1,13 +1,11 @@ apply plugin: 'application' dependencies { - // The GCP Cloud Run modules first shipped in 1.40.0; pin the io.temporal deps to that - // released version here rather than bumping the repo-wide javaSDKVersion. The explicit - // temporal-sdk dep is required because temporal-gcp-cloud-run-id declares it as compileOnly. - implementation "io.temporal:temporal-sdk:1.40.0" - implementation "io.temporal:temporal-envconfig:1.40.0" - implementation "io.temporal:temporal-gcp-cloud-run-opentelemetry:1.40.0" - implementation "io.temporal:temporal-gcp-cloud-run-id:1.40.0" + // The explicit temporal-sdk dep is required because temporal-gcp-cloud-run-id declares it as compileOnly. + implementation "io.temporal:temporal-sdk:$javaSDKVersion" + implementation "io.temporal:temporal-envconfig:$javaSDKVersion" + implementation "io.temporal:temporal-gcp-cloud-run-opentelemetry:$javaSDKVersion" + implementation "io.temporal:temporal-gcp-cloud-run-id:$javaSDKVersion" runtimeOnly group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.6' testImplementation "io.temporal:temporal-testing:$javaSDKVersion"