Commit ba4fc0ba authored by cznic's avatar cznic
Browse files

add sqlite_vec extension, updates !93

See CHANGELOG.md for more information
parent 8b9ffba7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
# Changelog

 - 2026-03-17 v1.47.0: Add CGO-free version of the vector extensions from https://github.com/asg017/sqlite-vec. See `vec_test.go` for example usage. From the GitHub project page:
  - **Important:** sqlite-vec is a pre-v1, so expect breaking changes!
  - Store and query float, int8, and binary vectors in vec0 virtual tables
  - Written in pure C, no dependencies, runs anywhere SQLite runs (Linux/MacOS/Windows, in the browser with WASM, Raspberry Pis, etc.)
  - Store non-vector data in metadata, auxiliary, or partition key columns

 - 2026-03-16 v1.46.2: Upgrade to  [SQLite 3.51.3](https://sqlite.org/releaselog/3_51_3.html).

 - 2026-02-17 v1.46.1:
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ test:
	go test -v -timeout 24h
	
vendor:
	cd vendor_libsqlite3 && go build -o ../vendor main.go
	cd vendor_libs && go build -o ../vendor main.go
	./vendor
	rm -f vendor
	make build_all_targets

logo.png

deleted100644 → 0
−39.1 KiB
Loading image diff...

vec/patch_freebsd.go

0 → 100644
+17 −0
Original line number Diff line number Diff line
// Copyright 2026 The Sqlite Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package vec

import (
	"modernc.org/libc"
)

func ___inline_isnanf(tls *libc.TLS, f float32) int32 {
	return libc.X__inline_isnanf(tls, f)
}

func ___inline_isnan(tls *libc.TLS, f float64) int32 {
	return libc.X__inline_isnand(tls, f)
}
+0 −0

File moved.

Loading