From 589041d842ee5c8ebbf11a02a43036c81e9bc342 Mon Sep 17 00:00:00 2001 From: LanceDB Robot Date: Fri, 6 Feb 2026 09:39:32 +0800 Subject: [PATCH] feat: update lance dependency to v2.0.0 (#2985) ## Summary - Bump Lance Rust crates to v2.0.0 (from v2.0.0-rc.4) and update Java `lance-core` to 2.0.0. - Verified `cargo clippy --workspace --tests --all-features -- -D warnings` and `cargo fmt --all`. - Triggering tag: v2.0.0. --- Cargo.lock | 85 +++++++++++++++++++++++++++++++--------------------- Cargo.toml | 28 ++++++++--------- java/pom.xml | 2 +- 3 files changed, 66 insertions(+), 49 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 921ca6fe6..5dc313968 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3072,8 +3072,9 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f03a771ab914e207dd26bd2f12666839555ec8ecc7e1770e1ed6f9900d899a4" dependencies = [ "arrow-array", "rand 0.9.2", @@ -4404,8 +4405,9 @@ dependencies = [ [[package]] name = "lance" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b685aca3f97ee02997c83ded16f59c747ccb69e74c8abbbae4aa3d22cf1301" dependencies = [ "arrow", "arrow-arith", @@ -4470,8 +4472,9 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daf00c7537df524cc518a089f0d156a036d95ca3f5bc2bc1f0a9f9293e9b62ef" dependencies = [ "arrow-array", "arrow-buffer", @@ -4490,8 +4493,9 @@ dependencies = [ [[package]] name = "lance-bitpacking" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46752e4ac8fc5590a445e780b63a8800adc7a770bd74770a8dc66963778e4e77" dependencies = [ "arrayref", "paste", @@ -4500,8 +4504,9 @@ dependencies = [ [[package]] name = "lance-core" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d13d87d07305c6d4b4dc7780fb1107babf782a0e5b1dc7872e17ae1f8fd11ca" dependencies = [ "arrow-array", "arrow-buffer", @@ -4538,8 +4543,9 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6451b5af876eaef8bec4b38a39dadac9d44621e1ecf85d0cdf6097a5d0aa8721" dependencies = [ "arrow", "arrow-array", @@ -4569,8 +4575,9 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1736708dd7867dfbab8fcc930b21c96717c6c00be73b7d9a240336a4ed80375" dependencies = [ "arrow", "arrow-array", @@ -4588,8 +4595,9 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6b6ca4ff94833240d5ba4a94a742cba786d1949b3c3fa7e11d6f0050443432a" dependencies = [ "arrow-arith", "arrow-array", @@ -4626,8 +4634,9 @@ dependencies = [ [[package]] name = "lance-file" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55fbe959bffe185543aed3cbeb14484f1aa2e55886034fdb1ea3d8cc9b70aad8" dependencies = [ "arrow-arith", "arrow-array", @@ -4659,8 +4668,9 @@ dependencies = [ [[package]] name = "lance-geo" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a52b0adabc953d457f336a784a3b37353a180e6a79905f544949746e0d4c6483" dependencies = [ "datafusion", "geo-traits", @@ -4674,8 +4684,9 @@ dependencies = [ [[package]] name = "lance-index" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b67654bf86fd942dd2cf08294ee7e91053427cd148225f49c9ff398ff9a40fd" dependencies = [ "arrow", "arrow-arith", @@ -4742,8 +4753,9 @@ dependencies = [ [[package]] name = "lance-io" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eb0ccc1c414e31687d83992d546af0a0237c8d2f4bf2ae3d347d539fd0fc141" dependencies = [ "arrow", "arrow-arith", @@ -4783,8 +4795,9 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "083404cf12dcdb1a7df98fb58f9daf626b6e43a2f794b37b6b89b4012a0e1f78" dependencies = [ "arrow-array", "arrow-buffer", @@ -4800,8 +4813,9 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c12778d2aabf9c2bfd16e2509ebe120e562a288d8ae630ec6b6b204868df41b2" dependencies = [ "arrow", "async-trait", @@ -4813,8 +4827,9 @@ dependencies = [ [[package]] name = "lance-namespace-impls" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8863aababdd13a6d2c8d6179dc6981f4f8f49d8b66a00c5dd75115aec4cadc99" dependencies = [ "arrow", "arrow-ipc", @@ -4857,8 +4872,9 @@ dependencies = [ [[package]] name = "lance-table" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0fcc83f197ce2000c4abe4f5e0873490ab1f41788fa76571c4209b87d4daf50" dependencies = [ "arrow", "arrow-array", @@ -4897,8 +4913,9 @@ dependencies = [ [[package]] name = "lance-testing" -version = "2.0.0-rc.4" -source = "git+https://github.com/lance-format/lance.git?tag=v2.0.0-rc.4#584c470f69334600cae384f1ac30bf13f8a6959a" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fb1f7c7e06f91360e141ecee1cf2110f858c231705f69f2cd2fda9e30c1e9f4" dependencies = [ "arrow-array", "arrow-schema", diff --git a/Cargo.toml b/Cargo.toml index 645b822e4..b7980bbae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,20 +15,20 @@ categories = ["database-implementations"] rust-version = "1.88.0" [workspace.dependencies] -lance = { "version" = "=2.0.0-rc.4", default-features = false, "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-core = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-datagen = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-file = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-io = { "version" = "=2.0.0-rc.4", default-features = false, "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-index = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-linalg = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace-impls = { "version" = "=2.0.0-rc.4", default-features = false, "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-table = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-testing = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-datafusion = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-encoding = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } -lance-arrow = { "version" = "=2.0.0-rc.4", "tag" = "v2.0.0-rc.4", "git" = "https://github.com/lance-format/lance.git" } +lance = { "version" = "=2.0.0", default-features = false } +lance-core = "=2.0.0" +lance-datagen = "=2.0.0" +lance-file = "=2.0.0" +lance-io = { "version" = "=2.0.0", default-features = false } +lance-index = "=2.0.0" +lance-linalg = "=2.0.0" +lance-namespace = "=2.0.0" +lance-namespace-impls = { "version" = "=2.0.0", default-features = false } +lance-table = "=2.0.0" +lance-testing = "=2.0.0" +lance-datafusion = "=2.0.0" +lance-encoding = "=2.0.0" +lance-arrow = "=2.0.0" ahash = "0.8" # Note that this one does not include pyarrow arrow = { version = "57.2", optional = false } diff --git a/java/pom.xml b/java/pom.xml index 897d23646..42ba23e91 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -28,7 +28,7 @@ UTF-8 15.0.0 - 1.0.4 + 2.0.0 false 2.30.0 1.7