diff --git a/.story_kit/work/5_done/260_refactor_upgrade_libsqlite3_sys.md b/.story_kit/work/5_done/260_refactor_upgrade_libsqlite3_sys.md index 6190aa7..8b101e1 100644 --- a/.story_kit/work/5_done/260_refactor_upgrade_libsqlite3_sys.md +++ b/.story_kit/work/5_done/260_refactor_upgrade_libsqlite3_sys.md @@ -8,10 +8,17 @@ name: "Upgrade libsqlite3-sys" Upgrade the `libsqlite3-sys` dependency from `0.35.0` to `0.37.0`. The crate is used with `features = ["bundled"]` for static builds. -A previous manual attempt to upgrade failed on compile, so the agent should investigate compatibility with our current `matrix-sdk-sqlite` dependency and resolve any breaking changes. +## Version Notes + +- Current: `libsqlite3-sys 0.35.0` (pinned transitively by `matrix-sdk 0.16.0` → `matrix-sdk-sqlite` → `rusqlite 0.37.x`) +- Target: `libsqlite3-sys 0.37.0` +- Latest upstream rusqlite: `0.39.0` +- **Blocker**: `matrix-sdk 0.16.0` pins `rusqlite 0.37.x` which pins `libsqlite3-sys 0.35.0`. A clean upgrade requires either waiting for matrix-sdk to bump their rusqlite dep, or upgrading matrix-sdk itself. +- **Reverted 2026-03-17**: A previous coder vendored the entire rusqlite crate with a fake `0.37.99` version and patched its libsqlite3-sys dep. This was too hacky — reverted to clean `0.35.0`. ## Acceptance Criteria -- [ ] `libsqlite3-sys` is upgraded to `0.37.0` +- [ ] `libsqlite3-sys` is upgraded to `0.37.0` via a clean dependency path (no vendored forks) - [ ] `cargo build` succeeds - [ ] All tests pass +- [ ] No `[patch.crates-io]` hacks or vendored crates