From 9646527d66b2b62875a1712fe972a95a8188239d Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Fri, 7 Nov 2025 20:29:24 -0500 Subject: [PATCH] Release v5.2.1: Fix project filter synchronization bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch release fixes critical race conditions and state synchronization issues in the viewer UI's project filtering system. **Bug Fixes:** - Fixed race condition where offset wasn't reset when filter changed - Fixed state ref synchronization causing stale hasMore values - Fixed batched state updates mixing data from different projects - Fixed useEffect dependency cycle causing double renders - Combined useEffect hooks for guaranteed execution order **Technical Changes:** - Updated App.tsx: Fixed filter change detection and data reset logic - Updated usePagination.ts: Improved offset and state ref handling - Updated data.ts: Simplified mergeAndDeduplicateByProject validation - Updated SessionStore.ts: Filter NULL/empty projects from dropdown - Added investigated field to Summary interface **Files Updated:** - package.json: version 5.2.0 → 5.2.1 - .claude-plugin/marketplace.json: version 5.2.0 → 5.2.1 - plugin/.claude-plugin/plugin.json: version 5.2.0 → 5.2.1 - CLAUDE.md: version 5.2.0 → 5.2.1 All changes follow CLAUDE.md coding standards (DRY, YAGNI, fail-fast). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude-plugin/marketplace.json | 2 +- CLAUDE.md | 2 +- package.json | 2 +- plugin/.claude-plugin/plugin.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 6fb33002..226615a2 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "claude-mem", - "version": "5.2.0", + "version": "5.2.1", "source": "./plugin", "description": "Persistent memory system for Claude Code - context compression across sessions" } diff --git a/CLAUDE.md b/CLAUDE.md index bc3c579f..d9ab7d03 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ Claude-mem is a Claude Code plugin providing persistent memory across sessions. **Your Role**: You are working on the plugin itself. When users interact with Claude Code with this plugin installed, your observations get captured and become their persistent memory. -**Current Version**: 5.2.0 +**Current Version**: 5.2.1 ## Critical Architecture Knowledge diff --git a/package.json b/package.json index 2404890f..2670786a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "5.2.0", + "version": "5.2.1", "description": "Memory compression system for Claude Code - persist context across sessions", "keywords": [ "claude", diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index edc4f916..cf870769 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "5.2.0", + "version": "5.2.1", "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", "author": { "name": "Alex Newman"