|
2 | 2 |
|
3 | 3 | All notable changes to claude-mem. |
4 | 4 |
|
| 5 | +## [v8.5.9] - 2026-01-04 |
| 6 | + |
| 7 | +## What's New |
| 8 | + |
| 9 | +### Context Header Timestamp |
| 10 | + |
| 11 | +The context injection header now displays the current date and time, making it easier to understand when context was generated. |
| 12 | + |
| 13 | +**Example:** `[claude-mem] recent context, 2026-01-04 2:46am EST` |
| 14 | + |
| 15 | +This appears in both terminal (colored) output and markdown format, including empty state messages. |
| 16 | + |
| 17 | +--- |
| 18 | + |
| 19 | +**Full Changelog**: https://github.com/thedotmack/claude-mem/compare/v8.5.8...v8.5.9 |
| 20 | + |
5 | 21 | ## [v8.5.8] - 2026-01-04 |
6 | 22 |
|
7 | 23 | ## Bug Fixes |
@@ -1271,29 +1287,3 @@ npm run bug-report --help # Show help |
1271 | 1287 |
|
1272 | 1288 | **Full Changelog**: https://github.com/thedotmack/claude-mem/compare/v7.1.15...v7.2.0 |
1273 | 1289 |
|
1274 | | -## [v7.1.15] - 2025-12-14 |
1275 | | - |
1276 | | -## 🐛 Bug Fixes |
1277 | | - |
1278 | | -**Worker Service Initialization** |
1279 | | -- Fixed 404 error on `/api/context/inject` during worker startup |
1280 | | -- Route is now registered immediately instead of after database initialization |
1281 | | -- Prevents race condition on fresh installs and restarts |
1282 | | -- Added integration test for early context inject route access |
1283 | | - |
1284 | | -## Technical Details |
1285 | | - |
1286 | | -The context hook was failing with `Cannot GET /api/context/inject` because the route was registered only after database initialization completed. This created a race condition where the hook could attempt to access the endpoint before it existed. |
1287 | | - |
1288 | | -**Implementation:** |
1289 | | -- Added `initializationComplete` Promise to track async background initialization |
1290 | | -- Register `/api/context/inject` route immediately in `setupRoutes()` |
1291 | | -- Early handler blocks requests until initialization resolves (30s timeout) |
1292 | | -- Route handler duplicates logic from `SearchRoutes.handleContextInject` by design to prevent 404s |
1293 | | - |
1294 | | -**Testing:** |
1295 | | -- Added integration test verifying route registration and timeout handling |
1296 | | - |
1297 | | -Fixes #305 |
1298 | | -Related: PR #310 |
1299 | | - |
0 commit comments