Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync 2.4 branch #1131

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# Changelog
## milvus-sdk-java 2.4.6 (2024-10-18)

### Improvement
- Refine BulkWriter/BulkImport interfaces
- Remove Jackson dependency

### Bug
- Fix "one second timeout issue" of pre-connection

## milvus-sdk-java 2.4.5 (2024-10-11)

### Feature
- Support partial load
- Support clustering key

### Bug
- Fix a bug for MilvusClientV2 that index parameters were not passed to server correctly

## milvus-sdk-java 2.4.4 (2024-09-19)

### Improvement
Expand Down Expand Up @@ -71,6 +89,58 @@
- Upgrade dependencies to fix some CVEs
- Provide new methods withFloatVectors/withBinaryVectors/withFloat16Vectors/withBFloat16Vectors/withSparseFloatVectors for SearchParam to explicitly input different type vectors

## milvus-sdk-java 2.3.11 (2024-10-11)

### Bug
- Fix a bug for MilvusClientV2 that index parameters were not passed to server correctly

## milvus-sdk-java 2.3.10 (2024-09-19)

### Improvement
- Improve usability of CreateCollectionReq
- Check connection when MilvusClientV2 is initialized
- Reduce time-consuming log of search/insert/upsert for MilvusClientV1

### Bug
- Fix a bug or QueryIterator with special expression

## milvus-sdk-java 2.3.9 (2024-08-09)

### Feature
- Implement database related interfaces including createDatabase/dropDatabase/listDatabases for MilvusClientV2
- Implement getServerVersion interface for MilvusClientV2
- Provide client/connection pool for V1 and V2

### Improvement
- Implement retry machinery for MilvusClientV2

### Bug
- Fix thread-safe bug of insert/upsert interfaces for MilvusClientV2

## milvus-sdk-java 2.3.8 (2024-07-11)

### Feature
- Support SearchIterator/QueryIterator for MilvusClientV2
- Optimize DescribeIndex interface of MilvusClientV2
- Optimize DescribeCollection interface of MilvusClientV2
- Support enableVirtualStyleEndpoint for BulkWriter

### Bug
- Fix a bug of max_capacity range

### Break changes
- Replace FastJSON by Gson according to issue [#878](https://github.com/milvus-io/milvus-sdk-java/issues/878). InsertParam.withRows()/UpsertParam.withRows()/InsertReq.data() are redefined.
- Rename "distance" to "score" for search result. SearchResp.distance() of V2 is renamed to be score().


## milvus-sdk-java 2.3.7 (2024-05-11)

### Bug

- Unable to connect Zilliz cloud new severless instances
- SearchIterator cannot work for Varchar type primary key
- Fix some minor bugs of SearchIterator

## milvus-sdk-java 2.3.6 (2024-04-22)

### Feature
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ The following table shows compatibilities between Milvus and Java SDK.
| 2.1 | 2.1.0-beta4 |
| 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.10 |
| 2.4.x | 2.4.4 |
| 2.3.x | 2.3.11 |
| 2.4.x | 2.4.6 |

### Install Java SDK

Expand All @@ -32,20 +32,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.4</version>
<version>2.4.6</version>
</dependency>
```

- Gradle/Groovy

```groovy
implementation 'io.milvus:milvus-sdk-java:2.4.4'
implementation 'io.milvus:milvus-sdk-java:2.4.6'
```

- Gradle/Kotlin

```kotlin
implementation("io.milvus:milvus-sdk-java:2.4.4")
implementation("io.milvus:milvus-sdk-java:2.4.6")
```

### Examples
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.4</version>
<version>2.4.6</version>

<build>
<plugins>
Expand Down Expand Up @@ -64,7 +64,7 @@
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>2.4.4</version>
<version>2.4.6</version>
</dependency>
<dependency>
<groupId>org.tensorflow</groupId>
Expand Down
2 changes: 1 addition & 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.4</version>
<version>2.4.6</version>
<packaging>jar</packaging>

<name>io.milvus:milvus-sdk-java</name>
Expand Down
Loading