Skip to content

Commit e21804d

Browse files
committed
v0.4.0-pre.10
- uses libsql from vector branch (commit: tursodatabase/libsql@8a8a897)
1 parent e919712 commit e21804d

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
1212

1313
[dependencies]
1414
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
15-
libsql = { git = "https://github.com/tursodatabase/libsql/", rev = "7b8bb905ab19f8988ace702d025361e6b6d7c377", features = ["encryption"] }
15+
libsql = { git = "https://github.com/tursodatabase/libsql/", rev = "8a8a897833ec98a6201d22d5c5cf803cd57f98c6", features = ["encryption"] }
1616
tracing = "0.1"
1717
once_cell = "1.18.0"
1818
tokio = { version = "1.29.1", features = [ "rt-multi-thread" ] }

integration-tests/tests/sync.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ test.serial("Statement.run() for vector feature with Float32Array bind parameter
245245

246246
const selectStmt = db.prepare("SELECT embedding FROM vector_top_k('t_idx', vector('[2,2,2,2,2,2,2,2]'), 1) n JOIN t ON n.rowid = t.rowid");
247247
t.deepEqual(selectStmt.raw().get()[0], Buffer.from(new Float32Array([1,1,1,1,1,1,1,1]).buffer));
248+
249+
// we need to explicitly delete this table because later when sqlite-based (not LibSQL) tests will delete table 't' they will leave 't_idx_shadow' table untouched
250+
db.exec(`DROP TABLE t`);
248251
});
249252

250253
test.serial("Statement.columns()", async (t) => {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libsql",
3-
"version": "0.4.0-pre.9",
3+
"version": "0.4.0-pre.10",
44
"description": "A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node",
55
"os": [
66
"darwin",

0 commit comments

Comments
 (0)