Repository navigation
🚀 Release v2.0.0 - Redis Integration & Enhanced Error Handling
Pre-release🔥 What's New in v2.0.0?
1️⃣ Redis Integration for High Performance
-
Added Redis as the primary storage backend for ultra-fast read/write operations.
-
Provides persistent storage instead of volatile in-memory maps.
-
Eliminates loss of URLs when the service restarts.
2️⃣ New /clear Endpoint
-
Added GET /clear to flush all stored URLs from Redis.
-
Useful for maintenance or testing environments.
3️⃣ Improved Error Handling & Logging
-
Better structured logs for debugging issues.
-
Added detailed error responses to help identify problems quickly.
-
Improved response handling for invalid requests & missing URLs.
4️⃣ Secure URL Hashing with SHA-256
-
Uses SHA-256 hashing for URL identifiers instead of random strings.
-
Ensures 0% collision rate for safer and more reliable shortening.
5️⃣ Updated Documentation
-
Installation & Setup Guide for Redis included.
-
README now includes the new endpoint /clear and details about Redis usage.