Compare commits

..

3 Commits

Author SHA1 Message Date
lancedb automation dd8defa664 chore: update lance dependency to v7.0.0-beta.1 2026-05-03 01:44:32 +00:00
Nitesh Yadav 59db036118 fix(python): add missing space in hybrid query error message (#3340)
Hi, the hybrid query error message looks like it can use a space, just
added it.

```python
def _validate_query(self, query, vector=None, text=None):
    if query is not None and (vector is not None or text is not None):
        raise ValueError(
            "You can either provide a string query in search() method"
            "or set `vector()` and `text()` explicitly for hybrid search."
            "But not both."
        )
```
2026-05-02 15:51:00 -07:00
Lance Release c091243d5b Bump version: 0.28.0-beta.10 → 0.28.0-beta.11 2026-04-29 17:53:49 +00:00
18 changed files with 69 additions and 69 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.28.0-beta.10"
current_version = "0.28.0-beta.11"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
Generated
+37 -37
View File
@@ -3021,8 +3021,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
[[package]]
name = "fsst"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow-array",
"rand 0.9.4",
@@ -4068,8 +4068,8 @@ dependencies = [
[[package]]
name = "lance"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"arrow-arith",
@@ -4137,8 +4137,8 @@ dependencies = [
[[package]]
name = "lance-arrow"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4159,8 +4159,8 @@ dependencies = [
[[package]]
name = "lance-bitpacking"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrayref",
"paste",
@@ -4169,8 +4169,8 @@ dependencies = [
[[package]]
name = "lance-core"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4207,8 +4207,8 @@ dependencies = [
[[package]]
name = "lance-datafusion"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"arrow-array",
@@ -4239,8 +4239,8 @@ dependencies = [
[[package]]
name = "lance-datagen"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"arrow-array",
@@ -4258,8 +4258,8 @@ dependencies = [
[[package]]
name = "lance-encoding"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -4296,8 +4296,8 @@ dependencies = [
[[package]]
name = "lance-file"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -4329,8 +4329,8 @@ dependencies = [
[[package]]
name = "lance-index"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"arrow-arith",
@@ -4394,8 +4394,8 @@ dependencies = [
[[package]]
name = "lance-io"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"arrow-arith",
@@ -4439,8 +4439,8 @@ dependencies = [
[[package]]
name = "lance-linalg"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4456,8 +4456,8 @@ dependencies = [
[[package]]
name = "lance-namespace"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"async-trait",
@@ -4470,8 +4470,8 @@ dependencies = [
[[package]]
name = "lance-namespace-impls"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"arrow-ipc",
@@ -4520,8 +4520,8 @@ dependencies = [
[[package]]
name = "lance-table"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow",
"arrow-array",
@@ -4560,8 +4560,8 @@ dependencies = [
[[package]]
name = "lance-testing"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -4572,8 +4572,8 @@ dependencies = [
[[package]]
name = "lance-tokenizer"
version = "6.0.0-beta.7"
source = "git+https://github.com/lance-format/lance.git?tag=v6.0.0-beta.7#bdcc31608cd00eac60aefbb8da2551f7eb6fc8aa"
version = "7.0.0-beta.1"
source = "git+https://github.com/lance-format/lance.git?tag=v7.0.0-beta.1#ad05eae9e33eee8ef4f40b06f2843a907b6d6eb3"
dependencies = [
"rust-stemmers",
"serde",
@@ -4582,7 +4582,7 @@ dependencies = [
[[package]]
name = "lancedb"
version = "0.28.0-beta.10"
version = "0.28.0-beta.11"
dependencies = [
"ahash",
"anyhow",
@@ -4664,7 +4664,7 @@ dependencies = [
[[package]]
name = "lancedb-nodejs"
version = "0.28.0-beta.10"
version = "0.28.0-beta.11"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -4686,7 +4686,7 @@ dependencies = [
[[package]]
name = "lancedb-python"
version = "0.31.0-beta.10"
version = "0.31.0-beta.11"
dependencies = [
"arrow",
"async-trait",
+14 -14
View File
@@ -13,20 +13,20 @@ categories = ["database-implementations"]
rust-version = "1.91.0"
[workspace.dependencies]
lance = { "version" = "=6.0.0-beta.7", default-features = false, "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=6.0.0-beta.7", default-features = false, "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-linalg = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=6.0.0-beta.7", default-features = false, "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=6.0.0-beta.7", "tag" = "v6.0.0-beta.7", "git" = "https://github.com/lance-format/lance.git" }
lance = { "version" = "=7.0.0-beta.1", default-features = false, "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=7.0.0-beta.1", default-features = false, "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-linalg = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=7.0.0-beta.1", default-features = false, "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=7.0.0-beta.1", "tag" = "v7.0.0-beta.1", "git" = "https://github.com/lance-format/lance.git" }
ahash = "0.8"
# Note that this one does not include pyarrow
arrow = { version = "58.0.0", optional = false }
+1 -1
View File
@@ -14,7 +14,7 @@ Add the following dependency to your `pom.xml`:
<dependency>
<groupId>com.lancedb</groupId>
<artifactId>lancedb-core</artifactId>
<version>0.28.0-beta.10</version>
<version>0.28.0-beta.11</version>
</dependency>
```
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>com.lancedb</groupId>
<artifactId>lancedb-parent</artifactId>
<version>0.28.0-beta.10</version>
<version>0.28.0-beta.11</version>
<relativePath>../pom.xml</relativePath>
</parent>
+2 -2
View File
@@ -6,7 +6,7 @@
<groupId>com.lancedb</groupId>
<artifactId>lancedb-parent</artifactId>
<version>0.28.0-beta.10</version>
<version>0.28.0-beta.11</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>LanceDB Java SDK Parent POM</description>
@@ -28,7 +28,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<arrow.version>15.0.0</arrow.version>
<lance-core.version>6.0.0-beta.7</lance-core.version>
<lance-core.version>7.0.0-beta.1</lance-core.version>
<spotless.skip>false</spotless.skip>
<spotless.version>2.30.0</spotless.version>
<spotless.java.googlejavaformat.version>1.7</spotless.java.googlejavaformat.version>
+1 -1
View File
@@ -1,7 +1,7 @@
[package]
name = "lancedb-nodejs"
edition.workspace = true
version = "0.28.0-beta.10"
version = "0.28.0-beta.11"
publish = false
license.workspace = true
description.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-darwin-arm64",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"os": ["darwin"],
"cpu": ["arm64"],
"main": "lancedb.darwin-arm64.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-arm64-gnu",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"os": ["linux"],
"cpu": ["arm64"],
"main": "lancedb.linux-arm64-gnu.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-arm64-musl",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"os": ["linux"],
"cpu": ["arm64"],
"main": "lancedb.linux-arm64-musl.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-x64-gnu",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"os": ["linux"],
"cpu": ["x64"],
"main": "lancedb.linux-x64-gnu.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-x64-musl",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"os": ["linux"],
"cpu": ["x64"],
"main": "lancedb.linux-x64-musl.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-win32-arm64-msvc",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"os": [
"win32"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-win32-x64-msvc",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"os": ["win32"],
"cpu": ["x64"],
"main": "lancedb.win32-x64-msvc.node",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@lancedb/lancedb",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lancedb/lancedb",
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"cpu": [
"x64",
"arm64"
+1 -1
View File
@@ -11,7 +11,7 @@
"ann"
],
"private": false,
"version": "0.28.0-beta.10",
"version": "0.28.0-beta.11",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
+1 -1
View File
@@ -1643,7 +1643,7 @@ class LanceHybridQueryBuilder(LanceQueryBuilder):
def _validate_query(self, query, vector=None, text=None):
if query is not None and (vector is not None or text is not None):
raise ValueError(
"You can either provide a string query in search() method"
"You can either provide a string query in search() method "
"or set `vector()` and `text()` explicitly for hybrid search."
"But not both."
)
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "lancedb"
version = "0.28.0-beta.10"
version = "0.28.0-beta.11"
edition.workspace = true
description = "LanceDB: A serverless, low-latency vector database for AI applications"
license.workspace = true