From e9a417849d390b451aca21e7a056bf1f114fe3bf Mon Sep 17 00:00:00 2001 From: Austin Barrington Date: Mon, 9 Mar 2026 08:53:13 +0000 Subject: [PATCH 1/2] chore: update libchdb version to 26.1.0 now that it's been split into chdb-core --- build.rs | 4 ++-- update_libchdb.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.rs b/build.rs index 75453a1..89428b4 100644 --- a/build.rs +++ b/build.rs @@ -67,8 +67,8 @@ fn find_existing_libchdb() -> Option<(PathBuf, PathBuf)> { fn download_libchdb_to_out_dir(out_dir: &Path) -> Result<(), Box> { let platform = get_platform_string()?; - let version = "v4.0.1"; - let url = format!("https://github.com/chdb-io/chdb/releases/download/{version}/{platform}"); + let version = "v26.1.0"; + let url = format!("https://github.com/chdb-io/chdb-core/releases/download/{version}/{platform}"); println!("cargo:warning=Downloading libchdb from: {url}"); let response = reqwest::blocking::get(&url)?; let content = response.bytes()?; diff --git a/update_libchdb.sh b/update_libchdb.sh index 8674e48..ab8cba7 100755 --- a/update_libchdb.sh +++ b/update_libchdb.sh @@ -29,7 +29,7 @@ download_and_extract() { } # Get the newest release version -LATEST_RELEASE=v4.0.1 +LATEST_RELEASE=v26.1.0 # Select the correct package based on OS and architecture case "$(uname -s)" in @@ -54,8 +54,8 @@ case "$(uname -s)" in esac # Main download URL -DOWNLOAD_URL="https://github.com/chdb-io/chdb/releases/download/$LATEST_RELEASE/$PLATFORM" -FALLBACK_URL="https://github.com/chdb-io/chdb/releases/latest/download/$PLATFORM" +DOWNLOAD_URL="https://github.com/chdb-io/chdb-core/releases/download/$LATEST_RELEASE/$PLATFORM" +FALLBACK_URL="https://github.com/chdb-io/chdb-core/releases/latest/download/$PLATFORM" # Try the main download URL first if ! download_and_extract "$DOWNLOAD_URL"; then From 2ae3294d0edc77edac7bff05db4c42b4008349c4 Mon Sep 17 00:00:00 2001 From: Austin Barrington Date: Mon, 9 Mar 2026 08:56:21 +0000 Subject: [PATCH 2/2] fix fmt error --- build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 89428b4..b03b041 100644 --- a/build.rs +++ b/build.rs @@ -68,7 +68,8 @@ fn find_existing_libchdb() -> Option<(PathBuf, PathBuf)> { fn download_libchdb_to_out_dir(out_dir: &Path) -> Result<(), Box> { let platform = get_platform_string()?; let version = "v26.1.0"; - let url = format!("https://github.com/chdb-io/chdb-core/releases/download/{version}/{platform}"); + let url = + format!("https://github.com/chdb-io/chdb-core/releases/download/{version}/{platform}"); println!("cargo:warning=Downloading libchdb from: {url}"); let response = reqwest::blocking::get(&url)?; let content = response.bytes()?;