V2.1.0
π Release v2.1.0
π₯ Breaking Changes
getCacheStats()
now returns a standardized interface withentries
,currentSize
, andmaxSize
- Updated TypeScript definitions with stricter typing
- Removed redundant README example tests
π§ Improvements
- Enhanced type safety with proper AxiosInstance extension
- Added JSDoc type annotations for better IDE support
- Optimized response cloning by removing circular references
- Streamlined test suite
π Type Updates
- New
AxcacheStats
interface for consistent cache statistics - Improved
AxcacheConfig
andAxcacheRequestConfig
interfaces - Better TypeScript integration with explicit type imports
π§Ή Cleanup
- Removed duplicate test cases
- Simplified test configuration
- Optimized code organization
Full Changelog: v2.0.4...v2.1.0