v2.8.0
Features:
- Added Request Deduplication - "dedupeTime" setting to control request deduplication (1 second by default) - requests with same configuration are treated as one request if fired within particular interval
- Requests Queue can now properly handle high concurrency environments thanks to better locking
- Add Accept-Encoding headers with brotli compression enabled by default
Improvements & fixes:
- iife builds can be properly utilized through fetchff namespace
- urls in endpoints should be required in TypeScript interface
- set minimum target to es2017 instead of esnext for better browser support
- properly replace global headers with per-request headers
- consistent default response when request is cancelled
- Properly consider request "credentials" passed through
What's Changed
- Introduce Queue Manager with Request Deduplication by @MattCCC in #52
- Build process and queue improvements by @MattCCC in #53
Full Changelog: v2.7.3...v2.8.0