Skip to content

Commit c3c22d8

Browse files
authored
Prepare for v2.5.12 (#1542)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
1 parent 9819769 commit c3c22d8

11 files changed

Lines changed: 153 additions & 9 deletions

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## milvus-sdk-java 2.5.12 (2025-08-14)
4+
### Improvement
5+
- Alias interface support database
6+
- Allows upsert when autoid=true for MilvusClientV1
7+
- Support ignoring growing segments for MilvusClientV2.query()
8+
- Use cached collection schema for query by ids to avoid calling describe_collection()
9+
- Add objectUrls parameter for bulkimport interfaces
10+
- Add a method to return the current used database name for MilvusClientV2
11+
### Bug
12+
- Fix a bug of Function.multiAnalyzerParams
13+
314
## milvus-sdk-java 2.5.11 (2025-07-15)
415
### Feature
516
- Support uploading file to Zilliz Cloud Stage for BulkWriter

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following table shows compatibilities between Milvus and Java SDK.
2121
| >= 2.2.9 | 2.2.7 ~ 2.2.15 |
2222
| 2.3.x | 2.3.11 |
2323
| 2.4.x | 2.4.11 |
24-
| 2.5.x | 2.5.11 |
24+
| 2.5.x | 2.5.12 |
2525

2626
### Install Java SDK
2727

@@ -33,20 +33,20 @@ You can use **Apache Maven** or **Gradle** add Milvus SDK to your project.
3333
<dependency>
3434
<groupId>io.milvus</groupId>
3535
<artifactId>milvus-sdk-java</artifactId>
36-
<version>2.5.11</version>
36+
<version>2.5.12</version>
3737
</dependency>
3838
```
3939

4040
- Gradle/Groovy
4141

4242
```groovy
43-
implementation 'io.milvus:milvus-sdk-java:2.5.11'
43+
implementation 'io.milvus:milvus-sdk-java:2.5.12'
4444
```
4545

4646
- Gradle/Kotlin
4747

4848
```kotlin
49-
implementation("io.milvus:milvus-sdk-java:2.5.11")
49+
implementation("io.milvus:milvus-sdk-java:2.5.12")
5050
```
5151

5252
From v2.5.2, milvus Java SDK is split into two packages: milvus-sdk-java and milvus-sdk-java-bulkwriter, because BulkWriter requires quite a lot of dependencies. If you don't need BulkWriter tool, you can ignore the milvus-sdk-java-bulkwriter package.
@@ -58,20 +58,20 @@ To use BulkWriter, import milvus-sdk-java-bulkwriter to your project.
5858
<dependency>
5959
<groupId>io.milvus</groupId>
6060
<artifactId>milvus-sdk-java-bulkwriter</artifactId>
61-
<version>2.5.11</version>
61+
<version>2.5.12</version>
6262
</dependency>
6363
```
6464

6565
- Gradle/Groovy
6666

6767
```groovy
68-
implementation 'io.milvus:milvus-sdk-java-bulkwriter:2.5.11'
68+
implementation 'io.milvus:milvus-sdk-java-bulkwriter:2.5.12'
6969
```
7070

7171
- Gradle/Kotlin
7272

7373
```kotlin
74-
implementation("io.milvus:milvus-sdk-java-bulkwriter:2.5.11")
74+
implementation("io.milvus:milvus-sdk-java-bulkwriter:2.5.12")
7575
```
7676

7777
### Examples

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</build>
4343

4444
<properties>
45-
<revision>2.5.11</revision>
45+
<revision>2.5.12</revision>
4646
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4747
</properties>
4848

examples/src/main/java/io/milvus/v1/ArrayFieldExample.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package io.milvus.v1;
221

322
import com.google.gson.Gson;

examples/src/main/java/io/milvus/v1/NullAndDefaultExample.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package io.milvus.v1;
221

322
import com.google.gson.Gson;

examples/src/main/java/io/milvus/v2/ArrayFieldExample.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package io.milvus.v2;
221

322
import com.google.gson.Gson;

examples/src/main/java/io/milvus/v2/FullTextSearchExample.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package io.milvus.v2;
221

322
import com.google.gson.Gson;

examples/src/main/java/io/milvus/v2/NullAndDefaultExample.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package io.milvus.v2;
221

322
import com.google.gson.Gson;

examples/src/main/java/io/milvus/v2/TextMatchExample.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package io.milvus.v2;
221

322
import com.google.gson.Gson;

examples/src/main/java/io/milvus/v2/bulkwriter/CsvDataObject.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
package io.milvus.v2.bulkwriter;
221

322
import com.fasterxml.jackson.annotation.JsonProperty;

0 commit comments

Comments
 (0)