Skip to content

V2.1.0

Compare
Choose a tag to compare
@Sasamous Sasamous released this 17 Nov 17:57
· 2 commits to main since this release

πŸš€ Release v2.1.0

πŸ’₯ Breaking Changes

  • getCacheStats() now returns a standardized interface with entries, currentSize, and maxSize
  • 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 and AxcacheRequestConfig 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