Skip to content

Releases: ZeR020/opencode-mem0

v2.16.2

29 May 11:32

Choose a tag to compare

v2.16.1

29 May 07:28

Choose a tag to compare

Full Changelog: v2.16...v2.16.1

v2.16

17 May 18:48

Choose a tag to compare

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

06 May 20:12

Choose a tag to compare

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

06 May 15:36

Choose a tag to compare

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-sqlite3 and native http module
  • Runtime abstraction layers — SQLite (bun:sqlitebetter-sqlite3) and HTTP server (Bun.serve ↔ Node.js http.createServer) auto-detect your runtime
  • Test suite portability — All 173 tests run on both Bun and Node.js via Vitest
  • Cross-platform buildnpm run build works 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.0 and node >=20.0.0
  • CI workflow — Tests run with both bun test and npm test (vitest) for dual-runtime verification
  • Development commands — Added npm run build, npm test, and test:bun scripts for cross-platform development

Fixed

  • Security: Error exposureplatform-server.ts no longer leaks internal error details to HTTP clients
  • Security: Multi-value headers — Node.js IncomingHttpHeaders with array values now correctly handled
  • Security: Missing Host header — HTTP/1.0 clients without Host header now fallback correctly
  • Build script portability — Uses require.resolve('typescript/bin/tsc') instead of platform-specific shim
  • Test isolationvi.resetModules() removed; mutable mock state ensures Bun test runner compatibility
  • Directory safetyai-session-manager.ts now creates parent directory before opening database

Full Changelog: v2.14.5...v2.15.0

What's Changed

Other Changes

  • feat: add cross-platform Node.js and Windows support by @ZeR020 in #6

Full Changelog: v2.14.5...v2.15.0

v2.14.5

06 May 11:51

Choose a tag to compare

v2.14.4

01 May 19:12

Choose a tag to compare