This repository was archived by the owner on Oct 16, 2025. It is now read-only.
7.0.0
Added
- TypeScript types (#68)
Changed
- (BREAKING) Move middleware files to
/srcfolder (#60) - (BREAKING) Convert all exports to named (#81)
- Migrate to TypeScript (#68)
- Replace
urldependency with native URL global (#67) - Ask bundlers to ignore Node-specific depedencies in browser environments (#78, #84)
- Removed various unused production dependencies (#10, #80)
Fixed
retryOnEmptymiddleware error messages (#58)- They were referencing a different middleware.
- Default unrecognized methods to never be cached (#66)
- Only publish necessary files (#70)
- Robustify
providerFromEnginecallback parameter validation (#76)- Previously, it only errored if the parameter was falsy. Now, it will error if it is not a function.
- Passing the previous implementation a truthy, non-function value would cause fatal downstream errors.
- Prevent caching unrecognized requests (#75)
- Previously, nonsense values were sometimes cached, resulting in an ugly state and possibly a minor performance penalty.