Skip to content

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 04 Jan 23:35
· 62 commits to main since this release
v0.3.2
952874d

Added

  • Memory testing framework (c8654d0)
    • Valgrind and AddressSanitizer support via make test-memory
    • Catches memory leaks, use-after-free, and buffer overflows

Fixed

  • Memory leaks in KNN queries (e4d3340, df2c2fc, f05a360)

    • Fixed leaks in vec0Filter_knn metadata IN clause processing
    • Fixed leaks and potential crashes in vec_static_blob_entries filter
    • Ensured knn_data is freed on error paths
  • Memory leaks in vtab lifecycle (5f667d8, 49dcce7)

    • Fixed leaks in vec0_init and vec0Destroy error paths
    • Added NULL check before blob read to prevent crashes
    • vec0_free now properly frees partition, auxiliary, and metadata column names
  • 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