Skip to content

Commit 60ca97f

Browse files
chore: Bump version to 0.2.0 with comprehensive CHANGELOG
1 parent 303ee58 commit 60ca97f

File tree

2 files changed

+83
-1
lines changed

2 files changed

+83
-1
lines changed

CHANGELOG.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,87 @@
11
# CrossVector - Changelog
22

3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.2.0] - 2025-12-06
9+
10+
### Added
11+
12+
**Benchmarking System:**
13+
- Created comprehensive `scripts/benchmark.py` tool for performance testing
14+
- Support for 4 database backends (pgvector, astradb, milvus, chroma)
15+
- Support for 2 embedding providers (OpenAI, Gemini)
16+
- 7 operation types tested: bulk/individual create, vector/metadata search, Query DSL operators, update, delete
17+
- `--skip-slow` flag to skip cloud backends for faster local testing
18+
- Smart Query DSL optimization: 4 operators for slow backends, 10 for fast backends
19+
- Detailed markdown reports with performance metrics
20+
- Performance summary shows tested vs skipped backends clearly
21+
22+
**Engine Improvements:**
23+
- Added `VectorEngine.drop_collection()` method for collection cleanup
24+
- Better collection lifecycle management
25+
26+
**Documentation:**
27+
- Added benchmarking section to README.md (102 lines)
28+
- Created comprehensive `docs/benchmarking.md` guide (385 lines)
29+
- Updated `docs/contributing.md` with benchmarking workflow
30+
- Added usage examples and best practices
31+
- Cost estimation and troubleshooting guides
32+
33+
**Testing:**
34+
- Added 50+ new unit tests
35+
- Test coverage for ABC adapters (82%)
36+
- Test coverage for logger (100%)
37+
- Extended engine tests
38+
- Schema, utils, and Q object coverage tests
39+
- Total: 365 tests passing (from ~300)
40+
41+
**Architecture:**
42+
- Enhanced ABC base class with unified initialization
43+
- Improved adapter architecture
44+
- Better error reporting in benchmarks
45+
- Truncated error messages in reports for readability
46+
47+
### Changed
48+
49+
- Collection name defaults now use `api_settings.VECTOR_COLLECTION_NAME` instead of class constant
50+
- Improved Milvus metadata-only search support verification
51+
- Updated all adapter documentation
52+
- Modernized contributing.md with uv, pre-commit, ruff
53+
54+
### Removed
55+
56+
- Removed `scripts/e2e.py` (replaced with `pytest scripts/tests`)
57+
- Removed `DEFAULT_COLLECTION_NAME` class constant from adapters
58+
59+
### Fixed
60+
61+
- Fixed Milvus tests to verify metadata-only search functionality
62+
- Fixed collection name handling across all adapters
63+
- Better error messages in benchmark reports
64+
- Proper cleanup in benchmark tests
65+
66+
### Breaking Changes
67+
68+
- `DEFAULT_COLLECTION_NAME` class constant removed - use `api_settings.VECTOR_COLLECTION_NAME` in settings instead
69+
- Stricter ChromaDB config validation (prevents conflicting settings)
70+
71+
### Performance
72+
73+
- Benchmark results show ~60% reduction in API calls for cloud backends with optimization
74+
- Local testing with `--skip-slow`: ~2-3 minutes vs 10+ minutes
75+
- PgVector: ~6-10 docs/sec bulk create, ~0.5ms metadata queries
76+
- Gemini: 1.5x faster search vs OpenAI for same operations
77+
78+
### Documentation Updates
79+
80+
- Repository URLs and references updated
81+
- Enhanced architecture diagrams
82+
- Improved API documentation
83+
- Fixed all broken links
84+
385
## [0.1.3] - 2025-11-30
486

587
### Testing Infrastructure

src/crossvector/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .schema import VectorDocument
99
from .types import Doc, DocId, DocIds
1010

11-
__version__ = "0.1.3"
11+
__version__ = "0.2.0"
1212

1313
__all__ = [
1414
"VectorEngine",

0 commit comments

Comments
 (0)