diff --git a/docs/getting_started/java/dev_environment/index.md b/docs/getting_started/java/dev_environment/index.md index 6bb4c818a..072eaf77d 100644 --- a/docs/getting_started/java/dev_environment/index.md +++ b/docs/getting_started/java/dev_environment/index.md @@ -5,7 +5,7 @@ description: Set up a local development environment for developing Temporal appl tags: [Java, SDK, development environment] keywords: [Java, JRE, Temporal, IntelliJ, Gradle, development environment] last_update: - date: 2024-02-23 + date: 2025-11-05 title: Set up a local development environment for Temporal and Java image: /img/temporal-logo-twitter-card.png --- @@ -55,7 +55,7 @@ Add the following dependencies to your Maven Project Object Model (POM) configur io.temporal temporal-sdk - 1.24.1 + 1.31.0 @@ -64,7 +64,7 @@ Add the following dependencies to your Maven Project Object Model (POM) configur --> io.temporal temporal-testing - 1.24.1 + 1.31.0 test @@ -81,8 +81,8 @@ Add the following lines to `build.gradle`, your Gradle configuration file. This ```groovy -implementation 'io.temporal:temporal-sdk:1.24.1' -testImplementation 'io.temporal:temporal-testing:1.24.1' +implementation 'io.temporal:temporal-sdk:1.31.0' +testImplementation 'io.temporal:temporal-testing:1.31.0' ``` diff --git a/docs/getting_started/java/hello_world_in_java/index.md b/docs/getting_started/java/hello_world_in_java/index.md index c470729b4..bd03ce77a 100644 --- a/docs/getting_started/java/hello_world_in_java/index.md +++ b/docs/getting_started/java/hello_world_in_java/index.md @@ -5,7 +5,7 @@ sidebar_position: 3 description: In this tutorial you will build your first Temporal app using the Java SDK keywords: [Java,java,temporal,sdk,tutorial,hello world] last_update: - date: 2024-04-08 + date: 2025-11-05 tags: - helloworld - java @@ -118,7 +118,7 @@ Your output will be similar to this: [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.037 s -[INFO] Finished at: 2023-03-29T10:05:47-05:00 +[INFO] Finished at: 2025-11-05T10:05:47-05:00 [INFO] ------------------------------------------------------------------------ ``` @@ -142,11 +142,10 @@ Next you will add the Temporal SDK as a dependency, along with a handful of othe ```xml - io.temporal temporal-sdk - 1.28.4 + 1.31.0 @@ -158,7 +157,7 @@ Next you will add the Temporal SDK as a dependency, along with a handful of othe io.temporal temporal-testing - 1.28.4 + 1.31.0 test @@ -172,7 +171,7 @@ Next you will add the Temporal SDK as a dependency, along with a handful of othe org.mockito mockito-core - 5.17.0 + 5.20.0 test @@ -227,7 +226,7 @@ Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/q [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.973 s -[INFO] Finished at: 2023-03-29T15:47:31-05:00 +[INFO] Finished at: 2025-11-05T10:47:31-05:00 [INFO] ------------------------------------------------------------------------ ``` @@ -506,7 +505,7 @@ You'll see output similar to the following from your test run indicating that th [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.959 s -[INFO] Finished at: 2023-03-29T15:54:46-05:00 +[INFO] Finished at: 2025-11-05T10:58:46-05:00 [INFO] ------------------------------------------------------------------------ ``` diff --git a/docs/tutorials/java/audiobook/index.md b/docs/tutorials/java/audiobook/index.md index 4116ac176..d4c1748c5 100644 --- a/docs/tutorials/java/audiobook/index.md +++ b/docs/tutorials/java/audiobook/index.md @@ -3,7 +3,7 @@ id: audiobook-tutorial keywords: [Java, temporal, sdk, tutorial, entity workflow, audiobook, text to speech, OpenAI] tags: [Java, SDK] last_update: - date: 2024-07-16 + date: 2025-11-05 title: Create audiobooks from text with OpenAI and Java description: Build your own audiobooks from text using OpenAI Web APIs and Temporal. Step-by-step guide for hassle-free MP3 creation with robust failure mitigation. sidebar_label: Create audiobooks from text with OpenAI and Java @@ -109,11 +109,11 @@ apply plugin: 'java' sourceSets.main.java.srcDirs 'src' dependencies { - implementation 'io.temporal:temporal-sdk:1.22.2' - implementation 'org.slf4j:slf4j-nop:2.0.6' // logging suppression - implementation 'commons-io:commons-io:2.11.0' - implementation 'com.squareup.okhttp3:okhttp:4.9.3' - implementation 'org.json:json:20210307' + implementation 'io.temporal:temporal-sdk:1.31.0' + implementation 'org.slf4j:slf4j-nop:2.0.17' // logging suppression + implementation 'commons-io:commons-io:2.20.0' + implementation 'com.squareup.okhttp3:okhttp:5.2.0' + implementation 'org.json:json:20250517' } // Run the App @@ -128,11 +128,11 @@ task run(type: JavaExec) { 3. Review your dependencies and run task: Your dependencies include Temporal's [Java SDK](https://github.com/temporalio/sdk-java), and a few basic libraries: - * **com.squareup.okhttp3:okhttp:4.9.3**: OkHttp is a basic HTTP client for network requests. - * **org.json:json:20210307**: Parse and manipulate JSON data. - * **commons-io:commons-io:2.11.0**: Perform file tasks with common input/output routines. - * **org.slf4j:slf4j-nop:2.0.6**: Minimizes unnecessary output with logging suppression. - * **io.temporal:temporal-sdk:1.22.2**: Add error mitigation. + * **com.squareup.okhttp3**: Basic HTTP client for network requests + * **org.json:json**: Parse and manipulate JSON data + * **commons-io**: Perform file tasks with common input/output routines + * **slf4j-nop**: Minimizes unnecessary log output + * **temporal-sdk**: Provides support for building Temporal applications in Java (this is the Temporal SDK) The run task starts your TTS application. diff --git a/docs/tutorials/java/background-check/code/backgroundcheck-replay/pom.xml b/docs/tutorials/java/background-check/code/backgroundcheck-replay/pom.xml index dc35069fb..3fb8932f4 100644 --- a/docs/tutorials/java/background-check/code/backgroundcheck-replay/pom.xml +++ b/docs/tutorials/java/background-check/code/backgroundcheck-replay/pom.xml @@ -22,40 +22,40 @@ io.temporal temporal-sdk - 1.20.1 + 1.31.0 ch.qos.logback logback-classic - 1.4.12 + 1.5.20 org.apache.commons commons-lang3 - 3.11 + 3.19.0 io.temporal temporal-testing - 1.20.1 + 1.31.0 test org.junit.jupiter junit-jupiter - 5.5.2 + 5.14.1 test org.mockito mockito-junit-jupiter - 5.3.1 + 5.20.0 test org.mockito mockito-core - 5.1.1 + 5.20.0 test diff --git a/docs/tutorials/java/background-check/code/backgroundcheck/pom.xml b/docs/tutorials/java/background-check/code/backgroundcheck/pom.xml index 5e860936a..6039aef98 100644 --- a/docs/tutorials/java/background-check/code/backgroundcheck/pom.xml +++ b/docs/tutorials/java/background-check/code/backgroundcheck/pom.xml @@ -22,40 +22,40 @@ io.temporal temporal-sdk - 1.20.1 + 1.31.0 ch.qos.logback logback-classic - 1.4.14 + 1.5.20 org.apache.commons commons-lang3 - 3.11 + 3.19.0 io.temporal temporal-testing - 1.20.1 + 1.31.0 test org.junit.jupiter junit-jupiter - 5.5.2 + 5.14.1 test org.mockito mockito-junit-jupiter - 5.3.1 + 5.20.0 test org.mockito mockito-core - 5.1.1 + 5.20.0 test diff --git a/docs/tutorials/java/background-check/project-setup.mdx b/docs/tutorials/java/background-check/project-setup.mdx index 1094244ad..11c7e47d4 100644 --- a/docs/tutorials/java/background-check/project-setup.mdx +++ b/docs/tutorials/java/background-check/project-setup.mdx @@ -335,7 +335,7 @@ Next, including the following dependencies in the `dependencies` section of your io.temporal temporal-sdk - 1.20.1 + 1.31.0 ``` @@ -349,7 +349,7 @@ to the `dependencies` section of your `build.gradle` file ```text dependencies { - implementation group: 'io.temporal', name: 'temporal-sdk', version: '1.20.1' + implementation group: 'io.temporal', name: 'temporal-sdk', version: '1.31.0' } ``` @@ -1022,25 +1022,25 @@ as a dependency to your project: io.temporal temporal-testing - 1.20.1 + 1.31.0 test org.junit.jupiter junit-jupiter - 5.5.2 + 5.14.1 test org.mockito mockito-junit-jupiter - 5.3.1 + 5.20.0 test org.mockito mockito-core - 5.1.1 + 5.20.0 test ``` @@ -1048,10 +1048,10 @@ as a dependency to your project: **[Gradle Groovy DSL](https://gradle.org/)**: ```groovy -testImplementation group: 'io.temporal', name: 'temporal-testing', version: '1.20.1' -testImplementation group: 'junit', name: 'junit-jupiter', version: '5.5.2' -testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.1.1' -testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '5.3.1' +testImplementation group: 'io.temporal', name: 'temporal-testing', version: '1.31.0' +testImplementation group: 'junit', name: 'junit-jupiter', version: '5.14.1' +testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.20.0' +testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '5.20.0' ``` Make sure to set the version that matches your dependency version of the [Temporal Java SDK](https://github.com/temporalio/sdk-java).