Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 02:33
· 21 commits to main since this release
Immutable release. Only release title and notes can be modified.
v1.2.0
ca55b31

Removed

  • Removed the in-tree Go bindings (bindings/go/) and the build-ncruces-go CI job. The CGO bindings were never published by this fork, and the ncruces/go-sqlite3 WASM build broke when upstream migrated to wasm2go, which no longer supports injecting a custom C extension at build time. Go users should use upstream asg017/sqlite-vec or ncruces/go-sqlite3's built-in ext/vec1 extension.

Fixed

  • Hardened the optimize command (INSERT INTO t(t) VALUES('optimize')) against a native crash on tables with metadata columns. optimize now validates each metadata chunk's blob size and slot offset before copying and fails as a catchable SQLITE_ERROR on malformed internal state, instead of risking heap corruption or a host-process abort (EXC_BREAKPOINT/SIGTRAP).
  • Fixed a per-row memory leak of vector buffers during optimize (tens of MB on large compactions).
  • Fixed error-masking in the metadata-copy path that could report a failed copy as success, and a related blob-handle leak; guarded a latent double-free of the chunk-validity buffers.
  • DELETE now propagates metadata-clear failures instead of silently returning success.

Commits

Full Changelog: v1.1.1...v1.2.0