diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index c256586..7a60052 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -23,7 +23,7 @@ Please provide a relevant code snippets to reproduce this bug.
A clear and concise description of what you expected to happen.
**Please complete the following information:**
-- LangChain4j version: e.g. 0.30.0
+- LangChain4j version: e.g. 0.31.0
- Java version: e.g. 11
- Spring Boot version: e.g. 2.7.18
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index e99efc9..f1999f5 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -25,7 +25,7 @@ jobs:
gpg-passphrase: GPG_PASSPHRASE
- name: release
- run: mvn -B -U --fail-at-end -Psign clean deploy
+ run: mvn -B -U --fail-at-end -DskipTests -DskipITs -Psign clean deploy
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
diff --git a/langchain4j-anthropic-spring-boot-starter/pom.xml b/langchain4j-anthropic-spring-boot-starter/pom.xml
index ae28cfd..d6b6eed 100644
--- a/langchain4j-anthropic-spring-boot-starter/pom.xml
+++ b/langchain4j-anthropic-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
dev.langchain4j
langchain4j-spring
- 0.31.0-SNAPSHOT
+ 0.31.0
../pom.xml
diff --git a/langchain4j-azure-ai-search-spring-boot-starter/pom.xml b/langchain4j-azure-ai-search-spring-boot-starter/pom.xml
index 4349a86..c5b0281 100644
--- a/langchain4j-azure-ai-search-spring-boot-starter/pom.xml
+++ b/langchain4j-azure-ai-search-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
dev.langchain4j
langchain4j-spring
- 0.31.0-SNAPSHOT
+ 0.31.0
../pom.xml
diff --git a/langchain4j-azure-ai-search-spring-boot-starter/src/test/java/dev/langchain4j/azure/aisearch/spring/AutoConfigIT.java b/langchain4j-azure-ai-search-spring-boot-starter/src/test/java/dev/langchain4j/azure/aisearch/spring/AutoConfigIT.java
index 19cf514..9dc0988 100644
--- a/langchain4j-azure-ai-search-spring-boot-starter/src/test/java/dev/langchain4j/azure/aisearch/spring/AutoConfigIT.java
+++ b/langchain4j-azure-ai-search-spring-boot-starter/src/test/java/dev/langchain4j/azure/aisearch/spring/AutoConfigIT.java
@@ -24,7 +24,7 @@
import java.util.List;
-import static dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore.INDEX_NAME;
+import static dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore.DEFAULT_INDEX_NAME;
import static java.util.Arrays.asList;
import static org.assertj.core.api.Assertions.assertThat;
@@ -42,7 +42,7 @@ class AutoConfigIT {
.endpoint(System.getenv("AZURE_SEARCH_ENDPOINT"))
.credential(new AzureKeyCredential(System.getenv("AZURE_SEARCH_KEY")))
.buildClient();
- private final SearchIndex index = new SearchIndex(INDEX_NAME);
+ private final SearchIndex index = new SearchIndex(DEFAULT_INDEX_NAME);
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(AutoConfig.class));
@@ -50,7 +50,7 @@ class AutoConfigIT {
@Test
void should_provide_ai_search_retriever() {
- searchIndexClient.deleteIndex(INDEX_NAME);
+ searchIndexClient.deleteIndex(DEFAULT_INDEX_NAME);
contextRunner
.withPropertyValues(
@@ -167,7 +167,7 @@ void should_provide_ai_search_retriever() {
@Test
void should_provide_ai_search_embedding_store() {
- searchIndexClient.deleteIndex(INDEX_NAME);
+ searchIndexClient.deleteIndex(DEFAULT_INDEX_NAME);
contextRunner
.withPropertyValues(
diff --git a/langchain4j-azure-open-ai-spring-boot-starter/pom.xml b/langchain4j-azure-open-ai-spring-boot-starter/pom.xml
index 72bb78e..bfba111 100644
--- a/langchain4j-azure-open-ai-spring-boot-starter/pom.xml
+++ b/langchain4j-azure-open-ai-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
dev.langchain4j
langchain4j-spring
- 0.31.0-SNAPSHOT
+ 0.31.0
../pom.xml
diff --git a/langchain4j-easy-rag-spring-boot-starter/pom.xml b/langchain4j-easy-rag-spring-boot-starter/pom.xml
index 14ceee8..fe0bcac 100644
--- a/langchain4j-easy-rag-spring-boot-starter/pom.xml
+++ b/langchain4j-easy-rag-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
dev.langchain4j
langchain4j-spring
- 0.30.0
+ 0.31.0
../pom.xml
diff --git a/langchain4j-ollama-spring-boot-starter/pom.xml b/langchain4j-ollama-spring-boot-starter/pom.xml
index e1f5890..1c2bdda 100644
--- a/langchain4j-ollama-spring-boot-starter/pom.xml
+++ b/langchain4j-ollama-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
dev.langchain4j
langchain4j-spring
- 0.31.0-SNAPSHOT
+ 0.31.0
../pom.xml
diff --git a/langchain4j-open-ai-spring-boot-starter/pom.xml b/langchain4j-open-ai-spring-boot-starter/pom.xml
index c911c13..cbaa38e 100644
--- a/langchain4j-open-ai-spring-boot-starter/pom.xml
+++ b/langchain4j-open-ai-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
dev.langchain4j
langchain4j-spring
- 0.31.0-SNAPSHOT
+ 0.31.0
../pom.xml
diff --git a/langchain4j-spring-boot-starter/pom.xml b/langchain4j-spring-boot-starter/pom.xml
index 62762fe..170c95f 100644
--- a/langchain4j-spring-boot-starter/pom.xml
+++ b/langchain4j-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
dev.langchain4j
langchain4j-spring
- 0.31.0-SNAPSHOT
+ 0.31.0
../pom.xml
diff --git a/pom.xml b/pom.xml
index 6814f31..fbd0392 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
dev.langchain4j
langchain4j-spring
- 0.31.0-SNAPSHOT
+ 0.31.0
pom
langchain4j-spring parent POM