Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Jun 05:26
· 2 commits to main since this release
55c45cd

Major Changes

  • bb77a6b: Merge upstream kornelski/http-cache-semantics v4.2.0: add evaluateRequest() for stale-while-revalidate support, fix min-fresh and must-revalidate handling, and preserve constructor options in revalidatedPolicy().

    Remove unused trustServerDate option.

    Breaking: Remove CacheQueryOptions and public useStaleIfError(). Normalize the Request at the cache layer before calling evaluateRequest(); use revalidatedPolicy() for stale-if-error handling.