feat: upgrade to v2.0.0 with multi-mirror fallback, new endpoints, and LRU cache

- Add multi-mirror fallback system with 5 mirror domains
- Add LRU cache with configurable TTL per endpoint
- Add response compression (gzip)
- Add Seasons endpoint (/api/seasons/:id)
- Add Watch Order endpoint (/api/watch-order/:id)
- Add Latest Updated endpoint (/api/latest-updated)
- Add Download endpoint (/api/download)
- Add cache stats endpoint (/api/cache/stats)
- Add mirror status/reset endpoints (/api/mirrors, /api/mirrors/reset)
- Add configurable rate limiting with X-RateLimit headers
- Add request timeouts and entity too large handling
- Update documentation with all new endpoints
- Update CHANGELOG.md with v2.0.0 entry
- Update package.json version to 2.0.0
- Add 6 AI agent prompts for development
This commit is contained in:
Shinei Nouzen
2026-07-04 15:07:07 +05:30
parent 30feda703a
commit fe51275db0
51 changed files with 5151 additions and 342 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "AniKotoAPI",
"version": "1.9.0",
"version": "2.0.0",
"description": "A restful API to provide all information about anime from anikototv.to",
"main": "./server.js",
"scripts": {
@@ -13,6 +13,7 @@
"dependencies": {
"axios": "^1.8.0",
"cheerio": "^1.0.0-rc.12",
"compression": "^1.8.1",
"cors": "^2.8.5",
"dotenv": "^16.4.0",
"express": "^4.21.0"
@@ -25,4 +26,4 @@
"type": "git",
"url": "https://github.com/Shineii86/AniKotoAPI.git"
}
}
}