bestfetch icon indicating copy to clipboard operation
bestfetch copied to clipboard

v5.0.0

Open jamesplease opened this issue 5 years ago • 0 comments

Todo:

  • [x] More tests
    • [x] Test read policy based on access count
  • [x] Settle on final names for options
    • [x] cache policy fn naming
    • [x] activeRequests => duplicateRequests
    • [x] cachePolicy / saveToCache options / names
    • [x] cacheWritePolicy => something related to cacheable responses
    • [x] cacheReadPolicy => something related to freshness
    • [x] defineFreshness => defineStaleness
    • [x] Default writes to "no-cache"
  • [x] Update docs
    • [x] Rename things
    • [x] Add freshness definition docs
    • [x] Add responseCache.isFresh docs
    • [x] Add no-cache cachePolicy docs
    • [x] Add warning to activeRequests.clear()
    • [x] Add docs for defineCacheableResponse
    • [ ] New filesize (< 2kb gzipped)
  • [x] TypeScript ( #72 )
  • [ ] Consistent error format when Promise rejects
  • [ ] Update docs with rejected Promise
  • [ ] Go through the code once more in detail
  • [ ] Go through the docs once more in detail
  • [ ] Publish beta to try it out

jamesplease avatar Mar 22 '20 18:03 jamesplease