Skip to content

Commit

Permalink
Release 0.27.0 (langchain4j#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain4j authored Feb 9, 2024
1 parent 8a40c0c commit a22d297
Show file tree
Hide file tree
Showing 55 changed files with 94 additions and 286 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.26.1
- LangChain4j version: e.g. 0.27.0
- Java version: e.g. 11
- Spring Boot version (if applicable): e.g. 2.7.14

Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/release-1-core-and-parent.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/release-2-open-ai.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/release-3-main-module.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/release-5-local-ai.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/release-6-java11-modules.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/release-7-java17-modules.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/release-8-graalvm.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
name: release_4_rest
name: release

on:
workflow_dispatch:

jobs:

release_4_rest:
permissions:
contents: 'read'
id-token: 'write'
release:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- name: Set up JDK 8
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '8'
java-version: '21'
distribution: 'temurin'
cache: maven
server-id: ossrh
Expand All @@ -32,8 +29,13 @@ jobs:
project_id: ${{ secrets.GCP_PROJECT_ID }}
credentials_json: ${{ secrets.GCP_CREDENTIALS_JSON }}

- name: release_4_rest
run: mvn -B -U --fail-at-end -Psign clean deploy -DskipOllamaITs=true -DskipVearchITs=true -DskipVertexAiGeminiITs=true -pl !langchain4j-core,!langchain4j-parent,!langchain4j-open-ai,!langchain4j,!langchain4j-infinispan,!langchain4j-local-ai,!code-execution-engines/langchain4j-code-execution-engine-graalvm-polyglot,!langchain4j-neo4j,!langchain4j-opensearch
- name: Setup Testcontainers Cloud Client
uses: atomicjar/testcontainers-cloud-setup-action@v1
with:
token: ${{ secrets.TC_CLOUD_TOKEN }}

- name: release
run: mvn -B -U --fail-at-end -DskipLocalAiITs=true -DskipMongoDbAtlasITs=true -DskipOllamaITs=true -DskipVearchITs=true -DskipVertexAiGeminiITs=true -Psign clean deploy
env:
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
AZURE_OPENAI_KEY: ${{ secrets.AZURE_OPENAI_KEY }}
Expand All @@ -49,6 +51,8 @@ jobs:
MONGODB_ATLAS_PASSWORD: ${{ secrets.MONGODB_ATLAS_PASSWORD }}
MONGODB_ATLAS_HOST: ${{ secrets.MONGODB_ATLAS_HOST }}
NOMIC_API_KEY: ${{ secrets.NOMIC_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }}
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
WEAVIATE_API_KEY: ${{ secrets.WEAVIATE_API_KEY }}
WEAVIATE_HOST: ${{ secrets.WEAVIATE_HOST }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,12 @@ See example [here](https://github.com/langchain4j/langchain4j-examples/blob/main
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-open-ai</artifactId>
<version>0.26.1</version>
<version>0.27.0</version>
</dependency>
```
- Gradle:
```groovy
implementation 'dev.langchain4j:langchain4j-open-ai:0.26.1'
implementation 'dev.langchain4j:langchain4j-open-ai:0.27.0'
```

2. Import your OpenAI API key:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.27.0-SNAPSHOT</version>
<version>0.27.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ To add langchain4j to your java project, add the following dependency:
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j</artifactId>
<version>0.26.1</version>
<version>0.27.0</version>
</dependency>
```

- For Gradle project `build.gradle`

```groovy
implementation 'dev.langchain4j:langchain4j:0.26.1'
implementation 'dev.langchain4j:langchain4j:0.27.0'
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.27.0-SNAPSHOT</version>
<version>0.27.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.27.0-SNAPSHOT</version>
<version>0.27.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.27.0-SNAPSHOT</version>
<version>0.27.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.27.0-SNAPSHOT</version>
<version>0.27.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.27.0-SNAPSHOT</version>
<version>0.27.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-parent</artifactId>
<version>0.27.0-SNAPSHOT</version>
<version>0.27.0</version>
<relativePath>../../langchain4j-parent/pom.xml</relativePath>
</parent>

Expand Down
Loading

0 comments on commit a22d297

Please sign in to comment.