Skip to content

v0.5.0 - Unified Cache Layer + 71 Bug Fixes

Choose a tag to compare

@Toufumind Toufumind released this 06 Jun 13:34
· 239 commits to master since this release

v0.5.0 Release Notes

🎯 Major Features

  • Unified Cache Layer (cache.ts): Centralized cache management with LRU eviction, region isolation, and TTL support
  • Event-driven Workflow Triggers: Workflow can now be triggered by EventBus events
  • Event-driven waitForCompletion: Workflow bridge uses events instead of polling

🐛 Bug Fixes (71 issues)

  • Consensus: Fixed empty handlers, permission bypass, cache invalidation
  • Caching: Fixed cache bypass in MCP tools, memory leaks, TTL mismatches
  • Validation: Added path traversal protection, input validation
  • Performance: Removed embed double-call, aligned stateCache TTL with polling
  • Concurrency: Fixed session race condition, autoRespond queue serialization

📊 Performance Improvements

  • stateCache TTL: 5s → 30s (aligned with polling)
  • searchCache: MD5 hash keys (reduced memory)
  • baseOptions: Proper invalidation on memory changes
  • groupChat: Cache invalidation on new messages

🏗️ Architecture

  • MCP tools now invalidate caches after writes
  • Unified cache invalidation via agentCache.invalidateAgent()
  • LRU eviction with 80% threshold for batch cleanup

📦 Dependencies

  • Next.js 15.5.18
  • TypeScript strict mode