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

Bump version to 0.2.1 #2901

Merged
merged 3 commits into from
Feb 16, 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
2 changes: 1 addition & 1 deletion .github/workflows/build-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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.15)

project(Kuzu VERSION 0.2.0 LANGUAGES CXX C)
project(Kuzu VERSION 0.2.1 LANGUAGES CXX C)

find_package(Threads REQUIRED)

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/extension/extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions src/include/storage/storage_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ using storage_version_t = uint64_t;

struct StorageVersionInfo {
static std::unordered_map<std::string, storage_version_t> 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();
Expand Down
2 changes: 1 addition & 1 deletion src/processor/operator/install_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion tools/rust_api/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/rust_api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading