v0.3.2
Added
- Memory testing framework (
c8654d0)- Valgrind and AddressSanitizer support via
make test-memory - Catches memory leaks, use-after-free, and buffer overflows
- Valgrind and AddressSanitizer support via
Fixed
-
Memory leaks in KNN queries (
e4d3340,df2c2fc,f05a360)- Fixed leaks in
vec0Filter_knnmetadata IN clause processing - Fixed leaks and potential crashes in
vec_static_blob_entriesfilter - Ensured
knn_datais freed on error paths
- Fixed leaks in
-
Memory leaks in vtab lifecycle (
5f667d8,49dcce7)- Fixed leaks in
vec0_initandvec0Destroyerror paths - Added NULL check before blob read to prevent crashes
vec0_freenow properly frees partition, auxiliary, and metadata column names
- Fixed leaks in
-
Cosine distance with zero vectors (
5d1279b)- Returns 1.0 (max distance) instead of NaN for zero-magnitude vectors
Commits
Full Changelog: v0.3.1...v0.3.2