caching/v1.2.0
🎉 v1.2.0 Release – Custom Headers Support & Enhanced Caching!
Major New Features
• Full custom headers support matching main HttpClient
module capabilities
• DefaultHeaders
property in HttpCacheOptions
for static headers across all cached requests
• Per-request headers support in all HTTP methods (GET, POST, PUT, DELETE)
• HttpCacheOptionsBuilder
with fluent API:
• Intelligent cache key generation that includes headers for proper cache isolation
• Header merging functionality combining default and custom headers
Architecture Improvements
• Enhanced HttpClientWithCache
with comprehensive header support
• Updated CachedHttpClient<T>
generic implementation with header functionality
• Case-insensitive header handling using StringComparer.OrdinalIgnoreCase
• Smart cache key generation prevents header-related cache collisions
• Extended service registration methods with header configuration support
Full Changelog: v1.2.0...caching/v1.2.0