# Changelog

All notable changes to `cel-memory-sqlite` will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Pre-1.0 releases were developed privately before the first public crates.io
line at `0.1.5`.

## [Unreleased]

## [0.1.8] — 2026-06-25

### Added
- `re_embed_all` bulk re-embedding for stored chunks when the target model
  matches the configured [`Embedder`].

### Changed
- Depends on `cel-memory` 0.1.8 from crates.io.

## [0.1.7] — 2026-06-25

### Changed
- Added crates.io metadata, README badges, and Clippy in CI.
- Depends on `cel-memory` 0.1.7 from crates.io.
- Removed orphan MIT license file; Apache-2.0 only.

## [0.1.6] — 2026-06-25

### Added
- Standalone GitHub repository at `https://github.com/dimpagk92/cel-memory-sqlite`.
- Published as a standalone crate on crates.io.
- `re_embed_all` remains unimplemented in this release.

## [0.1.0-pre] — 2026-05-23

### Added
- `SqliteMemoryProvider` — SQLite + [`sqlite-vec`](https://github.com/asg017/sqlite-vec)
  implementation of `cel_memory::MemoryProvider`. One file on disk, no
  separate vector service. Writes, gets, deletes, sessions, pinning,
  purge, stats, aging sweep, batched writes, exports, importance updates,
  superseding, access logging — all real.
- `Embedder` trait + `MockEmbedder` (always available, deterministic
  384-dim vectors derived from the content hash).
- `FastEmbedEmbedder` behind the `fastembed` feature — local ONNX runtime
  + `bge-small-en-v1.5`. Off by default to avoid the ~130 MB model
  download in dev workflows.
- Schema migrations for `memory_chunks`, `memory_vec` (sqlite-vec virtual
  table), `memory_fts` (FTS5), `memory_sessions`, `memory_summary_members`,
  `memory_access_log`, `memory_eviction_log`.
- Hybrid retrieval (vector + FTS + recency, weighted by `RetrievalProfile`).
- TTL+LRU `retrieve` cache with eager invalidation on writes and deletes.
- `examples/basic.rs` — round-trips 10 chunks through a tempfile DB with
  `MockEmbedder`. Builds with only this crate's declared deps.
- `SqliteMemoryError` — self-contained `thiserror` enum.

### Notes
- Imports only `cel-memory` from crates.io — no runtime-specific dependencies.
- Runtime-only dev-deps are deliberately absent here, so the crate stays
  standalone-testable.
