Skip to content

Commit

Permalink
Prepare for 2.5.0 (#1195)
Browse files Browse the repository at this point in the history
Signed-off-by: yhmo <[email protected]>
  • Loading branch information
yhmo authored Nov 26, 2024
1 parent 235f170 commit 4942b79
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 11 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
# Changelog

## milvus-sdk-java 2.5.0 (2024-11-26)
### Feature
- BulkWriter supports JSON/CSV format
- Add new RBAC interfaces grantPrivilegeV2/revokePrivilegeV2
- Support doc-in-doc-out function(embedded BM25 in server-side)
- Support varchar analyzer (tokenizer in server-side)
- Support nullable and default value
- Support expression template

### Improvement
- QueryIterator/SearchIterator supports mvcc
- ClientPool throws exception if fail to create/get clients

## milvus-sdk-java 2.4.9 (2024-11-26)

### Feature
- BulkWriter supports JSON format
- Add new RBAC interfaces grantPrivilegeV2/revokePrivilegeV2

### Improvement
- ClientPool throws exception if fail to create/get clients

## milvus-sdk-java 2.4.8 (2024-10-31)

### Improvement
- Fix a conflict bug with Gson v2.11.0
- Support group by for hybrid search

### Bug
- Fix a dimension check error for binary vector
- Fix a null pointer bug for query iterator

## milvus-sdk-java 2.4.7 (2024-10-25)

### Improvement
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ The following table shows compatibilities between Milvus and Java SDK.
| 2.2.0 ~ 2.2.8 | 2.2.0 ~ 2.2.5 |
| >= 2.2.9 | 2.2.7 ~ 2.2.15 |
| 2.3.x | 2.3.11 |
| 2.4.x | 2.4.7 |
| 2.4.x | 2.4.8 |
| 2.5.x | 2.5.0 |

### Install Java SDK

Expand All @@ -32,20 +33,20 @@ You can use **Apache Maven** or **Gradle** add Milvus SDK to your project.
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>2.4.7</version>
<version>2.5.0</version>
</dependency>
```

- Gradle/Groovy

```groovy
implementation 'io.milvus:milvus-sdk-java:2.4.7'
implementation 'io.milvus:milvus-sdk-java:2.5.0'
```

- Gradle/Kotlin

```kotlin
implementation("io.milvus:milvus-sdk-java:2.4.7")
implementation("io.milvus:milvus-sdk-java:2.5.0")
```
### Examples
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:

standalone:
container_name: milvus-javasdk-test-standalone
image: milvusdb/milvus:v2.4.15
image: milvusdb/milvus:v2.5.0-beta
command: ["milvus", "run", "standalone"]
environment:
ETCD_ENDPOINTS: etcd:2379
Expand Down Expand Up @@ -77,7 +77,7 @@ services:

standaloneslave:
container_name: milvus-javasdk-test-slave-standalone
image: milvusdb/milvus:v2.4.15
image: milvusdb/milvus:v2.5.0-beta
command: ["milvus", "run", "standalone"]
environment:
ETCD_ENDPOINTS: etcdslave:2379
Expand Down
4 changes: 2 additions & 2 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java-examples</artifactId>
<version>2.4.7</version>
<version>2.5.0</version>

<build>
<plugins>
Expand Down Expand Up @@ -64,7 +64,7 @@
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>2.4.7</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.tensorflow</groupId>
Expand Down
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>2.4.7</version>
<version>2.5.0</version>
<packaging>jar</packaging>

<name>io.milvus:milvus-sdk-java</name>
Expand Down Expand Up @@ -395,6 +395,8 @@
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<javadocExecutable>/usr/bin/javadoc</javadocExecutable>
<!-- <additionalOptions>-Xdoclint:none</additionalOptions>-->
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
<executions>
<execution>
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/milvus/client/MilvusClientDockerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class MilvusClientDockerTest {
private static final TestUtils utils = new TestUtils(DIMENSION);

@Container
private static final MilvusContainer milvus = new MilvusContainer("milvusdb/milvus:master-20241121-b983ef9f-amd64");
private static final MilvusContainer milvus = new MilvusContainer("milvusdb/milvus:v2.5.0-beta");

@BeforeAll
public static void setUp() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class MilvusClientV2DockerTest {
private static final TestUtils utils = new TestUtils(DIMENSION);

@Container
private static final MilvusContainer milvus = new MilvusContainer("milvusdb/milvus:master-20241121-b983ef9f-amd64");
private static final MilvusContainer milvus = new MilvusContainer("milvusdb/milvus:v2.5.0-beta");

@BeforeAll
public static void setUp() {
Expand Down

0 comments on commit 4942b79

Please sign in to comment.