feat: add cache flush API and fix cache key consistency

- Add PUT /cache/flush endpoint for selective cache management
- Fix critical cache key mismatch in cleanup_expired_index()
- Update index file detection to use full path instead of filename
- Bump version to 2.0.2

The key changes include adding a comprehensive cache flush API that supports selective flushing by cache type (index, files, metrics) and fixing a critical bug where cache keys were
inconsistent between storage and cleanup operations, preventing proper cache invalidation.
This commit is contained in:
2026-01-13 19:02:31 +11:00
parent e4013e6a2a
commit d2ecc6b1a0
3 changed files with 94 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "artifactapi"
version = "2.0.1"
version = "2.0.2"
description = "Generic artifact caching system with support for various package managers"
dependencies = [