|
| 1 | +# Changelog |
| 2 | + |
| 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 | +## [Unreleased] |
| 9 | + |
| 10 | +## [0.2.0] - 2025-01-27 |
| 11 | + |
| 12 | +### Added |
| 13 | +- `update_many()` - Bulk update multiple records in a single transaction |
| 14 | +- `get_all()` - Memory-efficient generator for iterating over all records |
| 15 | +- `transaction()` - Context manager for atomic multi-operation transactions |
| 16 | +- Comprehensive tests for bulk operations (91%+ coverage) |
| 17 | +- Updated batch_operations.py example with new features |
| 18 | +- CONTRIBUTING.md with contribution guidelines |
| 19 | +- CHANGELOG.md for tracking changes |
| 20 | +- Python logging module integration with configurable log levels |
| 21 | +- Complete CI/CD pipeline with GitHub Actions |
| 22 | +- Pre-commit hooks and code quality tools (ruff, mypy) |
| 23 | + |
| 24 | +### Security |
| 25 | +- SQL injection prevention with table name validation |
| 26 | +- Input validation for all parameters |
| 27 | +- Custom exception classes for better error handling |
| 28 | + |
| 29 | +## [0.1.0] - 2025-01-XX |
| 30 | + |
| 31 | +### Added |
| 32 | +- Initial release of sqlite-vec-client |
| 33 | +- `SQLiteVecClient` class for CRUD and similarity search operations |
| 34 | +- Support for text, metadata (JSON), and float32 embeddings |
| 35 | +- Automatic synchronization between base table and vec0 index via triggers |
| 36 | +- Context manager support for automatic connection cleanup |
| 37 | +- Comprehensive test suite with 91%+ coverage |
| 38 | +- Security features: SQL injection prevention, input validation |
| 39 | +- Custom exception classes for better error handling |
| 40 | +- Type hints and dataclasses for typed results |
| 41 | +- Examples demonstrating various use cases |
| 42 | +- Development tooling: ruff, mypy, pre-commit hooks |
| 43 | + |
| 44 | +### Core Features |
| 45 | +- `create_table()` - Initialize schema with configurable dimensions and distance metrics |
| 46 | +- `add()` - Insert texts with embeddings |
| 47 | +- `update()` - Update existing records |
| 48 | +- `delete()` - Remove records by rowid |
| 49 | +- `get()` - Fetch single record by rowid |
| 50 | +- `get_many()` - Fetch multiple records |
| 51 | +- `get_by_text()` - Find records by exact text match |
| 52 | +- `get_by_metadata()` - Find records by metadata JSON match |
| 53 | +- `list_all()` - List all records with pagination |
| 54 | +- `similarity_search()` - Vector similarity search with configurable top_k |
| 55 | +- `count()` - Get total record count |
| 56 | +- `clear()` - Remove all records |
| 57 | +- `drop_table()` - Delete table and index |
| 58 | + |
| 59 | +### Distance Metrics |
| 60 | +- Cosine similarity (`cosine`) |
| 61 | +- L2 distance (`l2`) |
| 62 | +- L1 distance (`l1`) |
| 63 | + |
| 64 | +### Documentation |
| 65 | +- Comprehensive README with quick start guide |
| 66 | +- TESTING.md with testing documentation |
| 67 | +- SECURITY_IMPROVEMENTS.md documenting security enhancements |
| 68 | +- Multiple examples in `examples/` directory |
| 69 | + |
| 70 | +### Dependencies |
| 71 | +- Python 3.9+ |
| 72 | +- SQLite 3.41+ |
| 73 | +- sqlite-vec 0.1.6+ |
| 74 | + |
| 75 | +## [0.0.1] - 2025-01-XX (Pre-release) |
| 76 | + |
| 77 | +### Added |
| 78 | +- Initial project structure |
| 79 | +- Basic SQLiteVecClient implementation |
| 80 | +- Proof of concept |
| 81 | + |
| 82 | +--- |
| 83 | + |
| 84 | +## Version History |
| 85 | + |
| 86 | +- **0.2.0** - Bulk operations, logging, security improvements, CI/CD |
| 87 | +- **0.1.0** - First stable release with comprehensive features and testing |
| 88 | +- **0.0.1** - Initial development version |
| 89 | + |
| 90 | +## Upgrade Guide |
| 91 | + |
| 92 | +### From 0.1.x to 0.2.0 |
| 93 | + |
| 94 | +No breaking changes. New features: |
| 95 | +- Use `update_many()` for bulk updates |
| 96 | +- Use `get_all()` for memory-efficient iteration |
| 97 | +- Use `transaction()` context manager for atomic operations |
| 98 | +- Configure logging via environment variable or programmatically |
| 99 | + |
| 100 | +### From 0.0.x to 0.1.0 |
| 101 | + |
| 102 | +No breaking changes. This is the first stable release. |
| 103 | + |
| 104 | +--- |
| 105 | + |
| 106 | +## Contributing |
| 107 | + |
| 108 | +See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on contributing to this project. |
| 109 | + |
| 110 | +## Links |
| 111 | + |
| 112 | +- [GitHub Repository](https://github.com/atasoglu/sqlite-vec-client) |
| 113 | +- [PyPI Package](https://pypi.org/project/sqlite-vec-client/) |
| 114 | +- [Issue Tracker](https://github.com/atasoglu/sqlite-vec-client/issues) |
0 commit comments