|
3 | 3 | All notable changes specific to this community fork's releases will be documented here. |
4 | 4 | For upstream changes, see [CHANGELOG.md](CHANGELOG.md). |
5 | 5 |
|
| 6 | +## [0.3.3] - 2026-02-04 |
| 7 | + |
| 8 | +### Fixed |
| 9 | + |
| 10 | +- **Parser logic bugs** ([`45f09c1`](https://github.com/mceachen/sqlite-vec/commit/45f09c1)) |
| 11 | + - Fixed `&&`→`||` condition checks in token validation across multiple parsing functions |
| 12 | + - Affected: `vec0_parse_table_option`, `vec0_parse_partition_key_definition`, `vec0_parse_auxiliary_column_definition`, `vec0_parse_primary_key_definition`, `vec0_parse_vector_column` |
| 13 | + |
| 14 | +- **Float precision for f32 distance calculations** ([`45f09c1`](https://github.com/mceachen/sqlite-vec/commit/45f09c1)) |
| 15 | + - Use `sqrtf()` instead of `sqrt()` for f32 vectors to avoid unnecessary double precision |
| 16 | + - May result in minor floating-point differences in distance results |
| 17 | + |
| 18 | +- **Memory leaks in metadata and insert operations** ([`f56fdeb`](https://github.com/mceachen/sqlite-vec/commit/f56fdeb)) |
| 19 | + - Fixed zSql memory leaks in `vec0_write_metadata_value` (never freed on any path) |
| 20 | + - Fixed zSql leak and missing `sqlite3_finalize` in `vec0Update_Delete_ClearMetadata` |
| 21 | + - Fixed potential crash from uninitialized function pointers on early error in `vec0Update_Insert` |
| 22 | + - Fixed memory leak in `vec_static_blob_entriesClose` (internal rowids/distances arrays) |
| 23 | + |
| 24 | +### Added |
| 25 | + |
| 26 | +- **KNN filtering documentation** ([`fd69fed`](https://github.com/mceachen/sqlite-vec/commit/fd69fed)) |
| 27 | + - New documentation explaining when filters are applied during vs. after KNN search |
| 28 | + - Metadata columns, partition keys, and distance constraints filter DURING search |
| 29 | + - JOIN filters and subqueries filter AFTER search (may return fewer than k results) |
| 30 | + - Documented workarounds: use metadata columns or over-fetch with LIMIT |
| 31 | + |
| 32 | +### Infrastructure |
| 33 | + |
| 34 | +- Added clang-tidy static analysis configuration ([`a39311f`](https://github.com/mceachen/sqlite-vec/commit/a39311f)) |
| 35 | +- Expanded memory testing with UBSan/TSan support and multi-platform CI matrix ([`de0edf3`](https://github.com/mceachen/sqlite-vec/commit/de0edf3)) |
| 36 | +- Fixed test infrastructure: `make test-all` target, auto-detect pytest, fix test-unit linking ([`c39ada1`](https://github.com/mceachen/sqlite-vec/commit/c39ada1)) |
| 37 | + |
6 | 38 | ## [0.3.2] - 2026-01-04 |
7 | 39 |
|
8 | 40 | ### Added |
|
0 commit comments