Releases: ZeR020/opencode-mem0
Releases · ZeR020/opencode-mem0
v2.16.2
Full Changelog: v2.16.1...v2.16.2
v2.16.1
Full Changelog: v2.16...v2.16.1
v2.16
What's Changed
Other Changes
- 🔍 Comprehensive Codebase Optimization & Efficiency Review by @ZeR020 in #10
- refactor(sqlite): optimize vector-search, shard-manager, transcript-manager by @ZeR020 in #12
- refactor(memory): optimize scoring regex, lifecycle state, conflict heuristic by @ZeR020 in #13
- refactor(ai): optimize AI session manager and provider factory by @ZeR020 in #14
- refactor(plugin): optimize plugin entry, config, and supporting services by @ZeR020 in #15
- refactor(api): optimize api-handlers.ts and client.ts by @ZeR020 in #11
- refactor: remove unused variables by @deepsource-autofix[bot] in #30
- refactor: annotate empty catch blocks by @deepsource-autofix[bot] in #29
New Contributors
- @deepsource-autofix[bot] made their first contribution in #30
Full Changelog: v2.15.1...v2.16
v2.15.1
Security & Reliability
- Comprehensive Codebase Audit — Addressed 17+ CodeRabbit audit fixes for security and stability (PR #9).
- Concurrency Deadlock Fix — Reset prompt claim on early exit to prevent permanent deadlocks.
- Data Loss Prevention — Delete shards only after successful re-embedding.
- Pagination Hardening — Cap pagination at 500 records and fetch precisely per shard.
- Auth Hardening — Removed 'enabled' flag from auth gate and restricted static asset auth to API paths only.
- Redaction Regex — Narrowed redaction matching to exact keys preventing aggressive over-redaction.
Fixed
- FTS5 Triggers — Use implicit rowid for FTS5 triggers instead of TEXT id.
- AISessionManager — Converted to lazy singleton and mocked before configuration to prevent test import crashes.
What's Changed
Other Changes
- 🔍 Full Codebase Audit — DO NOT MERGE by @ZeR020 in #7
- 🔍 Full Codebase Audit — DO NOT MERGE by @ZeR020 in #9
Full Changelog: v2.15.0...v2.15.1
v2.15.0 — Cross-Platform Support
v2.15.0 — Cross-Platform Support (Windows, Linux, macOS)
Added
- Full Windows support — No longer requires WSL2. Native Windows runtime via Node.js 20+ with
better-sqlite3and nativehttpmodule - Runtime abstraction layers — SQLite (
bun:sqlite↔better-sqlite3) and HTTP server (Bun.serve↔ Node.jshttp.createServer) auto-detect your runtime - Test suite portability — All 173 tests run on both Bun and Node.js via Vitest
- Cross-platform build —
npm run buildworks on Windows, Linux, and macOS without shell dependencies
Changed
- README updated — Platform requirements section now lists Linux/macOS/Windows with Bun as primary and Node.js 20+ as fallback
- package.json engines field — Now allows both
bun >=1.0.0andnode >=20.0.0 - CI workflow — Tests run with both
bun testandnpm test(vitest) for dual-runtime verification - Development commands — Added
npm run build,npm test, andtest:bunscripts for cross-platform development
Fixed
- Security: Error exposure —
platform-server.tsno longer leaks internal error details to HTTP clients - Security: Multi-value headers — Node.js
IncomingHttpHeaderswith array values now correctly handled - Security: Missing Host header — HTTP/1.0 clients without
Hostheader now fallback correctly - Build script portability — Uses
require.resolve('typescript/bin/tsc')instead of platform-specific shim - Test isolation —
vi.resetModules()removed; mutable mock state ensures Bun test runner compatibility - Directory safety —
ai-session-manager.tsnow creates parent directory before opening database
Full Changelog: v2.14.5...v2.15.0
What's Changed
Other Changes
Full Changelog: v2.14.5...v2.15.0
v2.14.5
Full Changelog: https://github.com/ZeR020/opencode-mem0/commits/v2.14.5
v2.14.4
Full Changelog: https://github.com/ZeR020/opencode-mem0/commits/v2.14.4