diff --git a/.github/workflows/build-extensions.yml b/.github/workflows/build-extensions.yml index 432df4764d..f8be4ed3de 100644 --- a/.github/workflows/build-extensions.yml +++ b/.github/workflows/build-extensions.yml @@ -190,7 +190,7 @@ jobs: - name: Detect release version run: | - echo "RELEASE_VERSION=v$(cat CMakeLists.txt | grep "DKUZU_RELEASE_VERSION" | cut -d '"' -f 2 )" >> $GITHUB_ENV + echo "RELEASE_VERSION=v$(cat CMakeLists.txt | grep "DKUZU_EXTENSION_VERSION" | cut -d '"' -f 2 )" >> $GITHUB_ENV - name: Delete checked out repository run: cd .. && rm -rf kuzudb diff --git a/CMakeLists.txt b/CMakeLists.txt index c9703f6392..cd2a633d6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.15) -project(Kuzu VERSION 0.2.0 LANGUAGES CXX C) +project(Kuzu VERSION 0.2.1 LANGUAGES CXX C) find_package(Threads REQUIRED) @@ -196,7 +196,7 @@ endif () if(${BUILD_KUZU}) add_definitions(-DKUZU_ROOT_DIRECTORY="${PROJECT_SOURCE_DIR}") add_definitions(-DKUZU_CMAKE_VERSION="${CMAKE_PROJECT_VERSION}") -add_definitions(-DKUZU_RELEASE_VERSION="0.1.0") +add_definitions(-DKUZU_EXTENSION_VERSION="0.1.0") include_directories(src/include) include_directories(third_party/antlr4_cypher/include) diff --git a/examples/rust/Cargo.lock b/examples/rust/Cargo.lock index 93942656d9..f8bd59b916 100644 --- a/examples/rust/Cargo.lock +++ b/examples/rust/Cargo.lock @@ -404,7 +404,7 @@ dependencies = [ [[package]] name = "kuzu" -version = "0.1.0" +version = "0.2.1" dependencies = [ "arrow", "cmake", diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp index 5774a92ea1..f6abb8f621 100644 --- a/src/extension/extension.cpp +++ b/src/extension/extension.cpp @@ -47,7 +47,7 @@ bool ExtensionUtils::isFullPath(const std::string& extension) { ExtensionRepoInfo ExtensionUtils::getExtensionRepoInfo(const std::string& extension) { auto extensionURL = - common::stringFormat(EXTENSION_REPO, KUZU_RELEASE_VERSION, getPlatform(), extension); + common::stringFormat(EXTENSION_REPO, KUZU_EXTENSION_VERSION, getPlatform(), extension); common::StringUtils::replaceAll(extensionURL, "http://", ""); auto hostNamePos = extensionURL.find('/'); auto hostName = extensionURL.substr(0, hostNamePos); diff --git a/src/include/storage/storage_info.h b/src/include/storage/storage_info.h index a9d345a835..41840cc2fd 100644 --- a/src/include/storage/storage_info.h +++ b/src/include/storage/storage_info.h @@ -11,9 +11,9 @@ using storage_version_t = uint64_t; struct StorageVersionInfo { static std::unordered_map getStorageVersionInfo() { - return {{"0.2.0", 25}, {"0.1.0", 24}, {"0.0.12.3", 24}, {"0.0.12.2", 24}, {"0.0.12.1", 24}, - {"0.0.12", 23}, {"0.0.11", 23}, {"0.0.10", 23}, {"0.0.9", 23}, {"0.0.8", 17}, - {"0.0.7", 15}, {"0.0.6", 9}, {"0.0.5", 8}, {"0.0.4", 7}, {"0.0.3", 1}}; + return {{"0.2.1", 25}, {"0.2.0", 25}, {"0.1.0", 24}, {"0.0.12.3", 24}, {"0.0.12.2", 24}, + {"0.0.12.1", 24}, {"0.0.12", 23}, {"0.0.11", 23}, {"0.0.10", 23}, {"0.0.9", 23}, + {"0.0.8", 17}, {"0.0.7", 15}, {"0.0.6", 9}, {"0.0.5", 8}, {"0.0.4", 7}, {"0.0.3", 1}}; } static storage_version_t getStorageVersion(); diff --git a/src/processor/operator/install_extension.cpp b/src/processor/operator/install_extension.cpp index 0880889192..3d144866f2 100644 --- a/src/processor/operator/install_extension.cpp +++ b/src/processor/operator/install_extension.cpp @@ -25,7 +25,7 @@ std::string InstallExtension::tryDownloadExtension() { auto extensionRepoInfo = ExtensionUtils::getExtensionRepoInfo(name); httplib::Client cli(extensionRepoInfo.hostURL.c_str()); httplib::Headers headers = { - {"User-Agent", common::stringFormat("kuzu/v{}", KUZU_RELEASE_VERSION)}}; + {"User-Agent", common::stringFormat("kuzu/v{}", KUZU_EXTENSION_VERSION)}}; auto res = cli.Get(extensionRepoInfo.hostPath.c_str(), headers); if (!res || res->status != 200) { if (res.error() == httplib::Error::Success) { diff --git a/tools/rust_api/Cargo.lock b/tools/rust_api/Cargo.lock index 26893b08bf..40ef5a0101 100644 --- a/tools/rust_api/Cargo.lock +++ b/tools/rust_api/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "kuzu" -version = "0.1.0" +version = "0.2.1" dependencies = [ "anyhow", "arrow", diff --git a/tools/rust_api/Cargo.toml b/tools/rust_api/Cargo.toml index 4058aee9e3..5a049a1652 100644 --- a/tools/rust_api/Cargo.toml +++ b/tools/rust_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kuzu" -version = "0.1.0" +version = "0.2.1" description = "An in-process property graph database management system built for query speed and scalability" # Note: 1.72 required for testing due to latest dependencies of the arrow feature rust-version = "1.60"