Skip to content

Commit

Permalink
Prepare for release 0.1.1 (#1196)
Browse files Browse the repository at this point in the history
Signed-off-by: Jin Hai <[email protected]>
  • Loading branch information
JinHai-CN authored May 10, 2024
1 parent 79918f5 commit c47c681
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 28 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.28.1)

project(infinity VERSION 0.1.0)
project(infinity VERSION 0.1.1)

if(NOT CMAKE_GENERATOR STREQUAL "Ninja")
message(FATAL_ERROR "This project requires the Ninja generator. Refers to https://cmake.org/cmake/help/latest/manual/cmake-cxxmodules.7.html#generator-support")
Expand Down Expand Up @@ -156,7 +156,7 @@ add_subdirectory(client)

# CPack settings
set(CPACK_PACKAGE_NAME "infinity")
set(CPACK_PACKAGE_VERSION "0.1.0")
set(CPACK_PACKAGE_VERSION "0.1.1")
set(CPACK_PACKAGE_RELEASE 1)
set(CPACK_PACKAGE_CONTACT "Zhichang Yu <[email protected]>")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The AI-native database built for LLM applications, offering incredibly fast vector and full-text search.")
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Supports a wide range of data types including strings, numerics, vectors, and mo

```bash
sudo mkdir -p /var/infinity && sudo chown -R $USER /var/infinity
docker pull infiniflow/infinity:v0.1.0
docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:v0.1.0
docker pull infiniflow/infinity:v0.1.1
docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:v0.1.1
```

#### Deploy Infinity using binary package on Linux x86_64
Expand All @@ -66,13 +66,13 @@ You can download the binary package (deb, rpm, or tgz) for your respective host

Fedora/RHEL/CentOS/OpenSUSE
```bash
sudo rpm -i infinity-0.1.0-x86_64.rpm
sudo rpm -i infinity-0.1.1-x86_64.rpm
sudo systemctl start infinity
```

Ubuntu/Debian
```bash
sudo dpkg -i infinity-0.1.0-x86_64.deb
sudo dpkg -i infinity-0.1.1-x86_64.deb
sudo systemctl start infinity
```
#### 🛠️ Build from Source
Expand All @@ -84,7 +84,7 @@ See [Build from Source](docs/getstarted/build_from_source.md).
`infinity-sdk` requires Python 3.10+.

```bash
pip3 install infinity-sdk==v0.1.0
pip3 install infinity-sdk==v0.1.1
```

### Import necessary modules
Expand Down
2 changes: 1 addition & 1 deletion conf/infinity_conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[system]
Expand Down
10 changes: 5 additions & 5 deletions docs/getstarted/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Glibc >=2.17

```bash
sudo mkdir -p /var/infinity && sudo chown -R $USER /var/infinity
docker pull infiniflow/infinity:v0.1.0
docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:v0.1.0
docker pull infiniflow/infinity:v0.1.1
docker run -d --name infinity -v /var/infinity/:/var/infinity --ulimit nofile=500000:500000 --network=host infiniflow/infinity:v0.1.1
```

### Deploy Infinity using binary package on Linux x86_64
Expand All @@ -29,13 +29,13 @@ You can download the binary package (deb, rpm, or tgz) for your respective host

Fedora/RHEL/CentOS/OpenSUSE
```bash
sudo rpm -i infinity-0.1.0-x86_64.rpm
sudo rpm -i infinity-0.1.1-x86_64.rpm
sudo systemctl start infinity
```

Ubuntu/Debian
```bash
sudo dpkg -i infinity-0.1.0-x86_64.deb
sudo dpkg -i infinity-0.1.1-x86_64.deb
sudo systemctl start infinity
```
### 🛠️ Build from Source
Expand All @@ -47,7 +47,7 @@ See [Build from Source](./build_from_source.md).
`infinity-sdk` requires Python 3.10+.

```bash
pip3 install infinity-sdk==0.1.0
pip3 install infinity-sdk==0.1.1
```

## Import necessary modules
Expand Down
3 changes: 1 addition & 2 deletions docs/references/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
sidebar_position: 2
slug: /faq
---

## Extensive Reading: Frequently Asked Questions
# FAQ

## What is Retrieval-Augmented Generation?

Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "infinity_sdk"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"sqlglot~=11.7.1",
"pydantic~=2.7.1",
Expand Down
2 changes: 1 addition & 1 deletion src/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Status Config::Init(const SharedPtr<String> &config_path) {
SharedPtr<String> result;

// Default general config
String default_version = fmt::format("{}.{}.{}", version_major(), version_minor(), version_patch());
String default_version = "0.1.1";

String default_time_zone = "UTC";
i32 default_time_zone_bias = 8;
Expand Down
4 changes: 2 additions & 2 deletions src/unit_test/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ TEST_F(ConfigTest, test1) {
Config config;
config.Init(path);

EXPECT_EQ(config.version(), "0.1.0");
EXPECT_EQ(config.version(), "0.1.1");
EXPECT_EQ(config.time_zone(), "UTC");
EXPECT_EQ(config.time_zone_bias(), 8);

Expand Down Expand Up @@ -72,7 +72,7 @@ TEST_F(ConfigTest, test2) {
Config config;
config.Init(path);

EXPECT_EQ(config.version(), "0.1.0");
EXPECT_EQ(config.version(), "0.1.1");
EXPECT_EQ(config.time_zone(), "UTC");
EXPECT_EQ(config.time_zone_bias(), -9);

Expand Down
2 changes: 1 addition & 1 deletion test/data/config/infinity_conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-9"

[system]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_buffer_obj.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[storage]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_buffer_obj_2.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[storage]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_catalog_delta.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[storage]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_checkpoint.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[storage]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_cleanup_task.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[storage]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_close_all_bgtask.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[network]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_close_ckp.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[wal]
Expand Down
2 changes: 1 addition & 1 deletion test/data/config/test_optimize.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[general]
version = "0.1.0"
version = "0.1.1"
timezone = "utc-8"

[storage]
Expand Down

0 comments on commit c47c681

Please sign in to comment.