Skip to content

Commit 7b72554

Browse files
vlaskyclaude
andcommitted
Bump version to v0.2.2-alpha
Updates version across documentation files and header. Changes in v0.2.2-alpha: - GLOB operator for text metadata columns (asg017#191) - IS/IS NOT/IS NULL/IS NOT NULL operators (asg017#190) - All compilation warnings fixed Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b088df9 commit 7b72554

File tree

4 files changed

+33
-6
lines changed

4 files changed

+33
-6
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All notable changes to this community fork will be documented in this file.
44

5+
## [0.2.2-alpha] - 2025-12-02
6+
7+
### Added
8+
9+
- **GLOB operator for text metadata columns** ([#191](https://github.com/asg017/sqlite-vec/issues/191))
10+
- Standard SQL pattern matching with `*` (any characters) and `?` (single character) wildcards
11+
- Case-sensitive matching (unlike LIKE)
12+
- Fast path optimization for prefix-only patterns (e.g., `'prefix*'`)
13+
- Full pattern matching with `sqlite3_strglob()` for complex patterns
14+
15+
- **IS/IS NOT/IS NULL/IS NOT NULL operators for metadata columns** ([#190](https://github.com/asg017/sqlite-vec/issues/190))
16+
- **Note**: sqlite-vec metadata columns do not currently support NULL values. These operators provide syntactic compatibility within this limitation.
17+
- `IS` behaves like `=` (all metadata values are non-NULL)
18+
- `IS NOT` behaves like `!=` (all metadata values are non-NULL)
19+
- `IS NULL` always returns false (no NULL values exist in metadata)
20+
- `IS NOT NULL` always returns true (all metadata values are non-NULL)
21+
- Works on all metadata types: INTEGER, FLOAT, TEXT, and BOOLEAN
22+
23+
### Fixed
24+
25+
- **All compilation warnings eliminated**
26+
- Fixed critical logic bug: `metadataInIdx` type corrected from `size_t` to `int` (prevented -1 wrapping to SIZE_MAX)
27+
- Fixed 5 sign comparison warnings with proper type casts
28+
- Fixed 7 uninitialized variable warnings by adding initializers and default cases
29+
- Clean compilation with `-Wall -Wextra` (zero warnings)
30+
531
## [0.2.1-alpha] - 2025-12-02
632

733
### Added

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
77
> [!NOTE]
88
> This is a community fork of [`asg017/sqlite-vec`](https://github.com/asg017/sqlite-vec) created to merge pending upstream PRs and provide continued support while the original author is unavailable.
99
10-
`sqlite-vec` is a lightweight, fast vector search SQLite extension written in pure C with no dependencies. It's a pre-v1 project (current: v0.2.1-alpha) that provides vector similarity search capabilities for SQLite databases across all platforms where SQLite runs.
10+
`sqlite-vec` is a lightweight, fast vector search SQLite extension written in pure C with no dependencies. It's a pre-v1 project (current: v0.2.2-alpha) that provides vector similarity search capabilities for SQLite databases across all platforms where SQLite runs.
1111

1212
Key features:
1313
- Supports float, int8, and binary vector types via `vec0` virtual tables
@@ -203,6 +203,7 @@ Code uses preprocessor directives to select implementations. Distance calculatio
203203
- Vector format: JSON arrays `'[1,2,3]'` or raw bytes via helper functions
204204

205205
**Fork-specific notes:**
206+
- Version v0.2.2-alpha includes: GLOB operator for text metadata (#191), IS/IS NOT/IS NULL/IS NOT NULL operators (#190), all compilation warnings fixed (including critical logic bug)
206207
- Version v0.2.1-alpha includes: LIKE operator for text metadata (#197), locale-independent JSON parsing (#241), musl libc compilation fix
207208
- Version v0.2.0-alpha merged upstream PRs: #166 (distance constraints), #210 (optimize), #203 (ALTER TABLE RENAME), #212 (cosine distance for binary), #243 (delete memory leak fix), #228 (CI/CD updates)
208209
- See CHANGELOG.md for complete list of changes from original v0.1.7-alpha.2

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.1-alpha
1+
0.2.2-alpha

sqlite-vec.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
#endif
1818
#endif
1919

20-
#define SQLITE_VEC_VERSION "v0.2.1-alpha"
20+
#define SQLITE_VEC_VERSION "v0.2.2-alpha"
2121
// TODO rm
22-
#define SQLITE_VEC_DATE "2025-11-28T18:49:17Z+1100"
23-
#define SQLITE_VEC_SOURCE "50840e1b6c72518964658b2ce0251b8d6b70516c"
22+
#define SQLITE_VEC_DATE "2025-12-02T19:22:08Z+1100"
23+
#define SQLITE_VEC_SOURCE "2dfe8859ca55d5561a4c6e36521f24272fc5d4aa"
2424

2525

2626
#define SQLITE_VEC_VERSION_MAJOR 0
2727
#define SQLITE_VEC_VERSION_MINOR 2
28-
#define SQLITE_VEC_VERSION_PATCH 0
28+
#define SQLITE_VEC_VERSION_PATCH 2
2929

3030
#ifdef __cplusplus
3131
extern "C" {

0 commit comments

Comments
 (0)