You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.1.20] - 2025-11-15
11
+
12
+
### Added
13
+
-**RPC support for SupabaseKeywordStore**: Added optional RPC (Remote Procedure Call) function support to `SupabaseKeywordStore` for advanced keyword search:
14
+
- New `use_rpc: bool = False` parameter to enable RPC mode instead of standard `text_search()`
15
+
- New `rpc_function_name: str = "keyword_search"` parameter for configurable PostgreSQL function name
16
+
- New `rpc_filter_mapping: Optional[Dict[str, str]] = None` parameter to map filter keys to RPC parameter names (e.g., `{"book_id": "p_book_id"}`)
17
+
- New `rpc_id_column`, `rpc_text_column`, and `rpc_score_column` parameters for configurable column mapping from RPC return values
18
+
- RPC functions can return `ts_rank` scores directly, providing proper FTS ranking that wasn't available in standard `text_search()` mode
19
+
- All RPC return columns (except id/text/score) are automatically included in result metadata
20
+
- Fully configurable to work with any RPC function signature and return structure
21
+
- Backward compatible: existing code continues to use `text_search()` by default
22
+
23
+
### Tests
24
+
- Comprehensive RPC test suite for SupabaseKeywordStore:
25
+
- Basic RPC search test with score verification
26
+
- RPC with filter mapping test
27
+
- Custom column mapping test
28
+
- All tests gracefully skip if RPC function doesn't exist in test environment
29
+
10
30
## [0.1.19] - 2025-11-15
11
31
12
32
### Added
@@ -239,7 +259,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
0 commit comments