Skip to content

Commit e98b83e

Browse files
authored
Update version info to 0.3.0-dev7 (#1716)
### What problem does this PR solve? Update version info to 0.3.0-dev7 ### Type of change - [x] Documentation Update - [X] Python SDK impacted, Need to update PyPI --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
1 parent a7b355c commit e98b83e

File tree

8 files changed

+13
-11
lines changed

8 files changed

+13
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Supports a wide range of data types including strings, numerics, vectors, and mo
6060
Infinity, also available as a Python module, eliminates the need for a separate back-end server and all the complex communication settings. Using `pip install` and `import infinity`, you can quickly build a local AI application in Python, leveraging the world's fastest and the most powerful RAG database:
6161

6262
```bash
63-
pip install infinity-sdk==0.3.0.dev6
63+
pip install infinity-sdk==0.3.0.dev7
6464
```
6565

6666
```python

benchmark/remote_infinity/remote_query_benchmark.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct InfinityClient {
5151
transport->open();
5252
CommonResponse response;
5353
ConnectRequest request;
54-
request.__set_client_version(15); // 0.3.0.dev6
54+
request.__set_client_version(16); // 0.3.0.dev7
5555
client->Connect(response, request);
5656
session_id = response.session_id;
5757
}

client/cpp/infinity_client.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Client Client::Connect(const std::string &ip_address, uint16_t port) {
2525
transport->open();
2626
CommonResponse response;
2727
ConnectRequest request;
28-
request.__set_client_version(15); // 0.3.0.dev6
28+
request.__set_client_version(16); // 0.3.0.dev7
2929
client->Connect(response, request);
3030
return {socket, transport, protocol, std::move(client), response.session_id};
3131
}

docs/getstarted/deploy_infinity_server.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This approach allows you to embed Infinity as a module in a Python application.
3030
### Install Infinity as a module
3131

3232
```
33-
pip install infinity-sdk==0.3.0.dev6
33+
pip install infinity-sdk==0.3.0.dev7
3434
```
3535

3636
### Create an Infinity object
@@ -98,7 +98,7 @@ If you are on Windows 10+, you must enable WSL or WSL2 to deploy Infinity using
9898
### Install Infinity client
9999

100100
```
101-
pip install infinity-sdk==0.3.0.dev6
101+
pip install infinity-sdk==0.3.0.dev7
102102
```
103103

104104
### Connect to Infinity Server
@@ -140,7 +140,7 @@ This section provides instructions on deploying Infinity using binary package on
140140

141141
Fedora/RHEL/CentOS/OpenSUSE
142142
```bash
143-
sudo rpm -i infinity-0.3.0.dev6-x86_64.rpm
143+
sudo rpm -i infinity-0.3.0.dev7-x86_64.rpm
144144
```
145145

146146
```bash
@@ -151,7 +151,7 @@ sudo systemctl start infinity
151151
<TabItem value="ubuntu">
152152

153153
```bash
154-
sudo dpkg -i infinity-0.3.0.dev6-x86_64.deb
154+
sudo dpkg -i infinity-0.3.0.dev7-x86_64.deb
155155
```
156156

157157
```bash
@@ -172,7 +172,7 @@ sudo systemctl start infinity
172172
### Install Infinity client
173173

174174
```
175-
pip install infinity-sdk==0.3.0.dev6
175+
pip install infinity-sdk==0.3.0.dev7
176176
```
177177

178178
### Connect to Infinity Server

docs/getstarted/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Infinity, also available as a Python module, eliminates the need for a separate
1717

1818
1. Install Infinity as a Python module:
1919
```bash
20-
pip install infinity-sdk==0.3.0.dev6
20+
pip install infinity-sdk==0.3.0.dev7
2121
```
2222
2. Use Infinity to conduct a KNN search:
2323
```python

python/infinity/remote_thrift/client.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def reconnect(self):
6262
# version: 0.3.0.dev4, client_version: 13
6363
# version: 0.3.0.dev5, client_version: 14
6464
# version: 0.3.0.dev6, client_version: 15
65-
res = self.client.Connect(ConnectRequest(client_version=15)) # 0.3.0.dev6
65+
# version: 0.3.0.dev7, client_version: 16
66+
res = self.client.Connect(ConnectRequest(client_version=16)) # 0.3.0.dev7
6667
if res.error_code != 0:
6768
raise InfinityException(res.error_code, res.error_msg)
6869
self.session_id = res.session_id

src/network/infinity_thrift_service.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ ClientVersions::ClientVersions() {
8181
client_version_map_[13] = String("0.3.0.dev4");
8282
client_version_map_[14] = String("0.3.0.dev5");
8383
client_version_map_[15] = String("0.3.0.dev6");
84+
client_version_map_[16] = String("0.3.0.dev7");
8485
}
8586

8687
Pair<const char*, Status> ClientVersions::GetVersionByIndex(i64 version_index) {

src/network/infinity_thrift_service.cppm

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct ClientVersions {
5757
export class InfinityThriftService final : public infinity_thrift_rpc::InfinityServiceIf {
5858
private:
5959
static constexpr std::string_view ErrorMsgHeader = "[THRIFT ERROR]";
60-
static constexpr i64 current_version_index_{15}; // 0.3.0.dev6
60+
static constexpr i64 current_version_index_{16}; // 0.3.0.dev7
6161

6262
static std::mutex infinity_session_map_mutex_;
6363
static HashMap<u64, SharedPtr<Infinity>> infinity_session_map_;

0 commit comments

Comments
 (0)